Commit Graph

194 Commits

Author SHA1 Message Date
Valentin Kipyatkov 0ac990e1a0 More tests for smart casts 2015-07-21 08:32:50 +03:00
Valentin Kipyatkov b6027a0efe Changed synthetic properties naming for getters starting with "is" 2015-07-21 08:32:49 +03:00
Valentin Kipyatkov 08ac0ae7a0 Renamed classes 2015-07-21 08:32:49 +03:00
Ilya Gorbunov 78b4c13d8f apply() got to smart completion where this was expected. 2015-07-20 02:16:38 +03:00
Valentin Kipyatkov 4226b0b2b7 Better presentation for non-root packages in completion 2015-07-16 15:04:01 +03:00
Valentin Kipyatkov 16d503aed0 Even faster completion of root packages 2015-07-16 15:04:01 +03:00
Valentin Kipyatkov 136af1cd60 Optimization in completion: don't spend too much time calculating root packages 2015-07-16 15:04:00 +03:00
Valentin Kipyatkov 10b5942537 Formatting 2015-07-16 14:03:37 +03:00
Valentin Kipyatkov c1b2ea0b48 More elegant way to achieve the same + fixed KT-7746 Top level package name completion does not work inside class body
#KT-7746 Fixed
2015-07-16 14:03:37 +03:00
Valentin Kipyatkov 53810c67db Changes on code review 2015-07-16 13:49:22 +03:00
Valentin Kipyatkov 0cea5fc9b2 More informative presentation of synthetic properties in completion 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov 27a23e8e07 Fixed package directive completion 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov 28e9fbf9b8 Correct synthetic extensions for methods like "getURL" 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov 22e631dda3 Naming with "is" supported for synthetic extensions 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov 283c8668f5 Don't use PsiElement.getReference() on JetElement 2015-07-16 13:49:17 +03:00
Valentin Kipyatkov fac15d2933 Minor simplification in CompletionSession 2015-07-16 13:49:17 +03:00
Valentin Kipyatkov b33202d32d Hiding getters and setters from completion 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 3faa0a193d Removed obsolete comment 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 92349e41ec Reordered parameters 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov a014f5c8db No synthetic properties with incorrect names 2015-07-16 13:49:15 +03:00
Valentin Kipyatkov fa02a15212 One more test for completion 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 9b3cbc6f25 Fixed completion for safe call 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 434e3ab38b Moved utility functions for JetType from IDE to core 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 16c4f5bedd Renamed a class 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 17442617bb Synthetic extensions suggested in completion 2015-07-16 13:49:13 +03:00
Natalia Ukhorskaya 75edfa6527 Debugger: do not resolve symbols on breakpoint line in Evaluate Expression 2015-07-16 13:08:31 +03:00
Mikhail Glukhikh a84fe53256 Minor refactoring of LookupElementsCollector 2015-07-14 16:25:11 +03:00
Mikhail Glukhikh 1eac4d67de "annotation" is now parsed as an identifier. It is no longer a soft keyword.
Sometimes it's allowed to parse "annotation" unescaped even if other annotations must be escaped.
A set of annotations and their options tests.
A swarm of existing tests fixed (mostly kotlin.annotation.annotation() added to txt-files).
STUB_VERSION increased. Some quick fixes slightly changed.
2015-07-14 16:24:55 +03:00
Svetlana Isakova 4c8b75928e Added tests
#KT-6179 Fixed
  #KT-8132 Fixed
2015-07-10 15:05:10 +03:00
Denis Zharkov 5c60a1bdb8 Make project compilable after PurelyImplements annotation introduction 2015-07-09 16:36:48 +03:00
Denis Zharkov 151231ef1a Adjust testData
Standard JDK collections purely implement kotlin.Mutable* with non-platform arguments
2015-07-09 16:36:47 +03:00
Denis Zharkov 0a19fb7df2 Make project compilable after types enhancement 2015-07-09 16:36:46 +03:00
Valentin Kipyatkov 4dc7081dc4 Completion: fixed filtering shadowed declarations for generic functions 2015-07-08 16:28:54 +03:00
Valentin Kipyatkov 3f74cc6351 More consistent presentation for different completion items producing lambda's 2015-07-08 16:28:53 +03:00
Valentin Kipyatkov 1f79955275 Completion: more intuitive presentation of function items that insert lambda 2015-07-08 16:28:53 +03:00
Valentin Kipyatkov 88dd86d603 Fixes: use isExactFunctionOrExtensionFunctionType() to detect when lambda can be passed 2015-07-08 16:28:52 +03:00
Valentin Kipyatkov 6b78a53c3d More tests 2015-07-08 16:28:52 +03:00
Valentin Kipyatkov 91c4bf7530 Renamed test data 2015-07-08 16:28:35 +03:00
Valentin Kipyatkov 75d668bc19 Adapted completion in lambda signatures to modern syntax 2015-07-08 16:28:35 +03:00
Valentin Kipyatkov 60ea98f870 Moved/renamed test data 2015-07-08 16:28:34 +03:00
Evgeny Gerashchenko 60a3ab548c Moved filtering of excluded symbols to KotlinIndicesHelper 2015-07-08 15:30:29 +03:00
Evgeny Gerashchenko 0d5dbdfa0c Added completion action to exclude classes/packages.
#KT-2413 fixed
2015-07-08 14:28:39 +03:00
Evgeny Gerashchenko b98aa76325 Added completion action to exclude classes/packages.
#KT-2413 fixed
2015-07-08 14:28:39 +03:00
Evgeny Gerashchenko 0451debda4 Supported excluded packages/classes in completion.
#KT-2413 in progress
2015-07-08 14:28:38 +03:00
Yan Zhulanow 9cb88a9c21 Fix muted completion test for the @file keyword 2015-07-07 16:35:24 +03:00
Alexander Udalov feb4dd7b8f Drop 'OBJECT$' field deprecated in M11 2015-07-06 16:19:54 +03:00
Valentin Kipyatkov bce79906ef Use of List's instead of Array's 2015-06-29 19:36:44 +03:00
Valentin Kipyatkov c478f1d347 Renamed methods 2015-06-29 19:36:42 +03:00
Valentin Kipyatkov a02c86bac9 Refactored NameValidator getting rid of it and replacing with a function 2015-06-29 19:36:42 +03:00
Valentin Kipyatkov 79a453f12c Renamed classes 2015-06-29 19:36:41 +03:00