Commit Graph

134 Commits

Author SHA1 Message Date
Ilya Gorbunov f4822cd757 Fix testData in compiler: add collections and ranges package to fq-names. 2016-01-22 05:54:38 +03:00
Valentin Kipyatkov 28331bca9f KT-9418 Suggest name for new declaration basing on unresolved names in code
#KT-9418 Fixed
2016-01-20 13:55:56 +03:00
Valentin Kipyatkov 7c6a33a36c KT-10664 No code completion after variable initialized with elvis
#KT-10664 Fixed
2016-01-14 19:23:01 +03:00
Valentin Kipyatkov 2f1108421e Added container information when needed 2016-01-14 19:23:01 +03:00
Ilya Gorbunov 59a9e2549c Fix tests: codegen, completion, decompiler consistency, quickdoc, intentions, navigation, reference resolver, quick fixes 2015-12-14 04:29:25 +03:00
Ilya Gorbunov ea60ab74a7 Replace deprecated toMap usages with toMapBy 2015-12-01 01:18:44 +03:00
Yan Zhulanow a3ff3ffc45 Fix tests: "Placing function type parameters after the function name" error 2015-11-27 15:51:11 +03:00
Valentin Kipyatkov 927df1c4cd KT-5072 Values of extension function type are not seen in completion
#KT-5072 Fixed
2015-11-16 18:24:37 +03:00
Valentin Kipyatkov 5b668cb6a6 KT-9970 Regression: completion doesn't see private extension functions with parametrized receiver
#KT-9970 Fixed
2015-11-16 18:24:37 +03:00
Valentin Kipyatkov 6a26e2fd82 Sorting overloads in completion 2015-11-16 18:24:37 +03:00
Valentin Kipyatkov 8946e5f353 Code completion for string templates after simple name + dot 2015-11-10 17:20:01 +03:00
Valentin Kipyatkov 4943a9fb35 Minor changes on code review 2015-11-09 15:45:38 +03:00
Valentin Kipyatkov 3bd508ca84 Static members completion includes SAM-adapters 2015-11-09 15:37:44 +03:00
Valentin Kipyatkov 06812aed11 Better completion for static members: special behavior in case of imports from same class exist 2015-11-09 15:37:44 +03:00
Valentin Kipyatkov ca437e51c4 Initial implementation of KT-8209 Support static member completion without writing the class name 2015-11-09 15:37:44 +03:00
Valentin Kipyatkov 52dc23012f Changed parsing of object and enum entries to drop "KtObjectDeclarationName" 2015-11-05 23:21:22 +03:00
Valentin Kipyatkov 58fc0b6ec8 Fixed special item after "super." not working for fake override super 2015-11-05 17:47:55 +03:00
Valentin Kipyatkov e33e1ef8d7 KT-8968 Special completion after "super."
#KT-8968 Fixed
2015-11-05 17:47:55 +03:00
Valentin Kipyatkov 731f19ee36 Changed behavior 2015-11-05 17:47:54 +03:00
Valentin Kipyatkov b73c574d19 Correct completion after "super."
#KT-8406 Fixed
2015-11-05 17:47:54 +03:00
Sergey Mashkov 703367c5c7 Update tests due to removed DOM utilities 2015-11-05 14:41:30 +01:00
Valentin Kipyatkov c11bf32594 More correct shadowed declarations filtering in completion 2015-11-03 11:46:19 +03:00
Valentin Kipyatkov b05d490eeb Performance optimization in completion: search context variables of functional types later 2015-11-03 11:46:18 +03:00
Valentin Kipyatkov ebe3efe710 Minor 2015-10-30 17:43:26 +03:00
Valentin Kipyatkov 7e2b37bb0f KT-9813 Parameter name&type completion gets in the way of typing
#KT-9813 Fixed
2015-10-30 17:43:26 +03:00
Valentin Kipyatkov 87f68f3332 KT-9688 Completion of methods to override: prefer those that need to be implemented
#KT-9688 Fixed
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov 8b38d8d7b9 No top-level packages after "::" 2015-10-30 12:03:53 +03:00
Valentin Kipyatkov 46b9879c47 Added test 2015-10-30 12:03:53 +03:00
Valentin Kipyatkov 2e80a7194c Minor performance optimization 2015-10-30 12:03:52 +03:00
Valentin Kipyatkov b26a590614 KT-7844 Completion for top level classes should propose the file name
#KT-7844 Fixed
2015-10-22 18:48:17 +03:00
Valentin Kipyatkov ab04ae4956 KT-9365 Code completion does not suggest annotation names at type usage
#KT-9365 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov 255373162d KT-9666 Inner classes do not appear in type completion
#KT-9666
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov b4501a6b98 Fixed filtering of annotation classes in annotation completion broken recently 2015-10-22 18:48:14 +03:00
Mikhail Glukhikh d6988ad69e Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed 2015-10-21 16:36:55 +03:00
Denis Zharkov 28c46b73f1 Rename some of builtin parameters 2015-10-17 17:46:16 +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 f90ff31507 Adapting code completion to no annotations without "@" 2015-10-15 19:20:09 +03:00
Valentin Kipyatkov ee7425c1de Checking "infix" modifier in completion and import popup 2015-10-12 15:10:39 +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 016401a2b7 Fixed test data 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
Ilya Gorbunov c6caa67cfb StdLib cleanup: replace KeyMissingException with NoSuchElementException.
Remove KeyMissingException from testData
2015-10-07 22:36:11 +03: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 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 e562c019f9 No "{...}" in presentation for functions in completion of imports and callable references 2015-10-03 10:40:51 +03:00