Commit Graph

254 Commits

Author SHA1 Message Date
Valentin Kipyatkov f67bd8c13f Even more precise keyword completion for modifiers 2015-10-15 19:20:11 +03:00
Valentin Kipyatkov 15d507bf47 Removed obsolete comments 2015-10-15 19:20:11 +03:00
Valentin Kipyatkov 58a9b34276 Minor 2015-10-15 19:20:10 +03:00
Valentin Kipyatkov 78f60503e3 More correct keyword completion after @ 2015-10-15 19:20:10 +03:00
Valentin Kipyatkov e27528477f KT-9478 No override completion for second parameter in primary constructor
#KT-9478 Fixed
 #KT-9386 Fixed
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov 434be3be21 Adapted keyword completion to changed parser + more precise completion for modifier keywords 2015-10-15 19:20:09 +03:00
Valentin Kipyatkov f90ff31507 Adapting code completion to no annotations without "@" 2015-10-15 19:20:09 +03:00
Valentin Kipyatkov 090ea37a32 Fixed test data to use only annotation syntax with @ 2015-10-15 19:20:08 +03:00
Alexander Udalov 6a965c9a06 Update IDE tests to use KProperty instead of PropertyMetadata 2015-10-14 20:45:55 +03:00
Alexander Udalov ec1b4776fe Deprecate PropertyMetadata, use KProperty<*> for delegated properties instead 2015-10-14 20:45:25 +03:00
Andrey Breslav 8e7f6f3c8c Migrated from @HiddenDeclaration to @Deprecated(..., level = DeprecationLevel.HIDDEN) 2015-10-13 13:50:16 +03:00
Valentin Kipyatkov ee7425c1de Checking "infix" modifier in completion and import popup 2015-10-12 15:10:39 +03:00
Denis Zharkov a76a8fcc3f Adjust various testData to remove/charAt transformation 2015-10-11 19:59:31 +03:00
Valentin Kipyatkov 21b2631558 KT-9500 Prohibit java.lang.Deprecated in completion + no duplicates for built-ins in completion
#KT-9500 Fixed
2015-10-09 16:42:07 +03:00
Valentin Kipyatkov 9b4070b881 Changed lookup strings and prefix matchers for parameter name&type completion to get more stable and correct ordering 2015-10-09 16:42:06 +03:00
Valentin Kipyatkov 2c1defaf18 Smart completion for "ClassName::class" and "ClassName::class.java" when specific KClass or Class expected 2015-10-09 16:42:06 +03:00
Pavel V. Talanov c28107034a Idea tests: INSTANCE$ -> INSTANCE 2015-10-09 16:25:17 +03:00
Valentin Kipyatkov 9d51e8e0e6 Added test 2015-10-07 23:09:56 +03:00
Valentin Kipyatkov 016401a2b7 Fixed test data 2015-10-07 23:09:56 +03:00
Valentin Kipyatkov af9e66da62 Checked that "KT-7441 Smart completion does not work for argument of "this(..)" or "super(..)" call in non-primary constructor declaration" has been fixed too
#KT-7441 Fixed
2015-10-07 23:09:56 +03:00
Valentin Kipyatkov b997b3b09e No named arguments completion in brackets 2015-10-07 23:09:55 +03:00
Valentin Kipyatkov c876759ee0 Insert ']' instead of ')' 2015-10-07 23:09:55 +03:00
Valentin Kipyatkov fa51ca5716 KT-4977 Smart completion should work for arguments in brackets
#KT-4977 Fixed
2015-10-07 23:09:54 +03:00
Ilya Gorbunov c6caa67cfb StdLib cleanup: replace KeyMissingException with NoSuchElementException.
Remove KeyMissingException from testData
2015-10-07 22:36:11 +03:00
Natalia Ukhorskaya 6fc8a16dd5 Completion for codeFragments: do not show java getters/setters at first completion 2015-10-07 20:29:57 +03:00
Natalia Ukhorskaya 9d7585207c Completion for codeFragments: no duplicates for synthetic properties 2015-10-07 20:29:56 +03:00
Dmitry Jemerov 8fd9d181de add @suppress to the list of known KDoc tags
#KT-9415 Fixed
2015-10-06 16:12:08 +02:00
Pavel V. Talanov 3ed04aea8a Imports from objects: Do not create new instances on getOriginal every time
Also fixes a problem where DeclarationLookupObjectImpl didn't have stable hashCode
2015-10-06 16:31:23 +03:00
Valentin Kipyatkov ec685195bd Better tests 2015-10-05 15:33:50 +03:00
Valentin Kipyatkov c5fdd649ab Overrides completion on typing member name too
#KT-9431 Fixed
2015-10-05 15:33:49 +03:00
Valentin Kipyatkov fd6244ac51 Never take ExpectedInfo from outer expression "as is" 2015-10-05 15:33:49 +03:00
Valentin Kipyatkov cbf5be5c08 No callable reference to generic callables 2015-10-03 10:40:54 +03:00
Valentin Kipyatkov feb4492455 No true/false for if-condition too 2015-10-03 10:40:54 +03:00
Valentin Kipyatkov 7436355c17 Fix true and false in when entry with subject broken before 2015-10-03 10:40:54 +03:00
Valentin Kipyatkov d547ea9b57 Overload callable references are now supported - changed code accordingly 2015-10-03 10:40:53 +03:00
Valentin Kipyatkov b23602237a Smart completion: no "::xxx" items for members and fixed bug with constructors not appearing there 2015-10-03 10:40:53 +03:00
Valentin Kipyatkov b0d31fc86d Property types supported in smart completion without "::" 2015-10-03 10:40:53 +03:00
Valentin Kipyatkov 1bc132bc1a No members&extensions after non-qualified "::" because it will be soon unsupported by the compiler 2015-10-03 10:40:52 +03:00
Valentin Kipyatkov f58f5dd82a Added parameters and type text (grayed) to "::xxx" items in smart completion 2015-10-03 10:40:52 +03:00
Valentin Kipyatkov e562c019f9 No "{...}" in presentation for functions in completion of imports and callable references 2015-10-03 10:40:51 +03:00
Valentin Kipyatkov 08335a2ac9 Callable reference completion for non-imported callables 2015-10-03 10:40:51 +03:00
Valentin Kipyatkov c0bfca4f89 A::class and A::class.java supported in smart completion too 2015-10-03 10:40:51 +03:00
Valentin Kipyatkov ec5d1d3a52 Support for A::class and A::class.java in basic completion (but not in smart) 2015-10-03 10:40:51 +03:00
Valentin Kipyatkov ebf649a681 Support for callable references in smart completion 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov 3f64b25df3 Renamed tests 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov 5fddefbf4d Corrected and restored test 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov 1e21b0201c Renamed test folder 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov ce05434a0c Fixed extension functions being grayed in import statement completion
#KT-5627 Fixed
2015-10-03 10:40:50 +03:00
Valentin Kipyatkov e41732e572 No callable references to synthetic extensions (and ones for get/set) 2015-10-03 10:40:50 +03:00
Valentin Kipyatkov d38ceb50b6 Initial support for KT-7090 Completion for callable references
#KT-7090 Fixed
2015-10-03 10:40:49 +03:00