Commit Graph

280 Commits

Author SHA1 Message Date
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
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 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
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
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
Valentin Kipyatkov 08335a2ac9 Callable reference completion for non-imported callables 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 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
Valentin Kipyatkov 72a5a68769 Dropped support for backing fields (with '$') completion 2015-10-03 10:38:31 +03:00
Denis Zharkov a101fffd9a Change INTERFACE_IMPL_CLASS_NAME: $TImpl -> DefaultImpls 2015-09-30 08:19:51 +03:00
Yan Zhulanow 080dcf882e Minor: fix broken tests 2015-09-26 03:29:09 +03:00
Valentin Kipyatkov 1c6ca9d036 Initial implementation of KT-5955 Completion for override methods
#KT-5955 Fixed
2015-09-25 18:12:18 +03:00
Alexey Sedunov 6b9e2b0bbb Resource Bundles: Enable property key completion in string literals
#KT-6946 Fixed
2015-09-25 17:18:02 +03:00
Denis Zharkov 73799e2c3c Replace deprecated lambda syntax in testData
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Denis Zharkov 67486b867b Get rid of inlineOptions usages in IDE tests 2015-09-23 12:18:12 +03:00
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
Stanislav Erokhin b51edf9004 Fixed completion for package, import directive and user type. 2015-09-18 21:00:22 +03:00
Stanislav Erokhin 8efbf4fc32 Fixed testdata -- removed package import 2015-09-18 21:00:20 +03:00
Mikhail Glukhikh 8f7b29f80a Annotation rename: target --> @Target 2015-09-07 13:42:26 +03:00
Valentin Kipyatkov db4c163539 More correct named arguments completion 2015-09-04 23:27:35 +03:00
Mikhail Glukhikh eab288bdd7 annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Denis Zharkov 11fed1674e Deprecate extension annotation in favor of Extension 2015-09-04 17:23:25 +03:00
Valentin Kipyatkov 14c2500261 Added a test 2015-09-03 15:55:54 +03:00
Valentin Kipyatkov 58e79037ed Renamed tests 2015-09-03 15:55:54 +03:00
Stanislav Erokhin 5ded315cbb Improved error reporting for candidates with wrong parameter count 2015-09-01 23:37:42 +03:00
Valentin Kipyatkov e8dc9ede31 Implemented HiddenDeclaration annotation (doc-comment to be added!) 2015-08-29 10:54:59 +03:00
Valentin Kipyatkov 02922f3f93 No parameter name&type completion for anonymous function 2015-08-28 16:22:48 +03:00
Valentin Kipyatkov 7ef9a9d6d4 Better presentation 2015-08-28 16:22:47 +03:00
Valentin Kipyatkov 2de5229098 Additional item inserting lambda provided by completion when all parameters before the last are optional 2015-08-28 16:22:47 +03:00
Valentin Kipyatkov a4c5907a1f KT-8898 If invocation context contains functional value compatible with function in completion list, show non-literal item
#KT-8898 Fixed
2015-08-28 16:22:46 +03:00
Valentin Kipyatkov 66719923c2 KT-6050 Support completion for super qualifier
#KT-6050 Fixed
2015-08-28 16:22:44 +03:00