Valentin Kipyatkov
6478c7d460
Ordering of parameter name suggestions by type relevance
2015-06-25 21:57:12 +02:00
Valentin Kipyatkov
e2991b1412
Disabled parameter name completion where it makes no sense
2015-06-25 21:57:12 +02:00
Valentin Kipyatkov
0e045b9478
Completion of parameter name+type works for val/var parameters
2015-06-25 21:57:11 +02:00
Valentin Kipyatkov
0e4ac7108a
Completion: fixed insertion of java class names that require escaping
2015-06-25 21:57:11 +02:00
Valentin Kipyatkov
8210d3091f
Initial implementation of KT-6427 Completion to use Java name suggestion to complete function parameters
...
(+ filtered out synthetic Kotlin classes from completion)
2015-06-25 21:57:11 +02:00
Valentin Kipyatkov
e0f1bde20a
Renames
2015-06-25 21:57:11 +02:00
Mikhail Glukhikh
8d25c20169
Introduction of sealed classes
...
Sealed classes can be derived only by their own inner classes or objects.
Their constructors cannot be called explicitly, so compiler knows all their descendants.
Incompatible modifier checks (final, abstract). Impossible with interface, object, enum.
A pack of tests provided.
2015-06-25 19:07:13 +03:00
Pavel V. Talanov
1cf38e4799
Convert PackageViewDescriptor to Kotlin
2015-06-23 15:18:57 +03:00
Pavel V. Talanov
c5e6dea8b0
Minor: Inline and remove JetModuleUtil
2015-06-23 14:15:17 +03:00
Valentin Kipyatkov
b301b22f47
KT-4822 Wrong scope is used for local variable name completion
...
#KT-4822 Fixed
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov
985d69880f
Better tests
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
7b553ef3a7
Shadowed globals filtered out too
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
abc9c1ab02
Non-imported extensions from different packages do not shadow each other
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
8d11ab9866
Non-imported extensions are excluded when shadowed by members or something
2015-06-15 18:27:21 +03:00
Valentin Kipyatkov
f089d1ef55
Code refactoring
2015-06-15 18:27:21 +03:00
Valentin Kipyatkov
3d0c3e225e
Added test for second press completion for inaccessible
2015-06-15 18:27:21 +03:00
Valentin Kipyatkov
483da9607c
KT-4893 Code completion should not show multiple functions with the same signature
...
#KT-4893 Fixed
2015-06-15 18:27:21 +03:00
Valentin Kipyatkov
4deefce603
KT-7901 Auto import is not suggested
...
KT-7229 Completion for extension functions with complex capture
#KT-7901 Fixed
#KT-7229 Fixed
2015-06-15 17:10:05 +03:00
Denis Zharkov
eb7114bd53
Add 'constructor' keyword in whole project where needed
2015-06-12 09:55:15 +03:00
Denis Zharkov
200dee2761
Replace deprecated annotations in whole project
2015-06-12 09:23:32 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Denis Zharkov
053dcf3abf
Effectively turn off completion tests with file keyword
...
Completion does not work with new syntax: see KT-8036
2015-06-12 09:23:31 +03:00
Valentin Kipyatkov
fcf613cf03
Replacing usages of DescriptorRenderer.renderName/renderFqName
2015-06-10 11:34:59 +03:00
Valentin Kipyatkov
7dddd6c718
Code simplification
2015-06-08 15:33:58 +03:00
Valentin Kipyatkov
8243d27fb2
Smart completion: argument with "*" is not necessary the only one for vararg parameter
2015-06-08 15:33:58 +03:00
Valentin Kipyatkov
0d992ee38f
Moved tests
2015-06-08 15:33:58 +03:00
Valentin Kipyatkov
54e9a46f12
Smart completion: fixed in argument with "*"
2015-06-08 15:33:58 +03:00
Valentin Kipyatkov
2197d554ca
Smart completion: a bit more correct logic for last vararg parameter
2015-06-08 15:33:58 +03:00
Valentin Kipyatkov
ee15eae6b3
Smart completion: function literal argument can correspond only to the last parameter!
2015-06-08 15:33:57 +03:00
Valentin Kipyatkov
6284f557e6
Smart completion: sometimes we can insert comma after vararg argument too
2015-06-08 15:33:57 +03:00
Valentin Kipyatkov
02e876679c
Completion: more correct code for lambda template insertion
2015-06-08 15:33:57 +03:00
Valentin Kipyatkov
64e9ecc7b4
Moved test data
2015-06-08 15:33:57 +03:00
Valentin Kipyatkov
7eec200887
Moved tests from deprecated to generated test fixture
2015-06-08 15:33:57 +03:00
Valentin Kipyatkov
560b7dae75
Minor correction
2015-06-08 15:33:56 +03:00
Pavel V. Talanov
812273cb2b
Fix a problem when invoking completion outside of source roots could lead to declarations from index being analyzed in a wrong resolution facade
2015-06-04 18:36:05 +03:00
Valentin Kipyatkov
f05789e224
Fixed EA-69042
2015-06-04 17:21:28 +03:00
Valentin Kipyatkov
e597532c7a
KT-7815 Smart completion after "as" inserts fq-name for type parameter
...
#KT-7815 Fixed
2015-06-04 17:21:28 +03:00
Valentin Kipyatkov
d3e4b346ce
Deprecated symbols made less priority than named parameters
2015-06-04 17:21:28 +03:00
Valentin Kipyatkov
54836113a7
Better test data format
2015-06-04 17:21:28 +03:00
Valentin Kipyatkov
603f7ef3c1
KT-7756 Completion of "return null", "return true" and "return false"
...
#KT-7756 Fixed
2015-06-04 17:21:27 +03:00
Valentin Kipyatkov
cd68cefba1
Added diagnostic for EA-68663
2015-06-04 01:05:49 +03:00
Valentin Kipyatkov
7be59f969c
Fixed EA-68869
2015-06-04 01:05:49 +03:00
Pavel V. Talanov
f335e9f6b2
Fix a problem where a sequence of out-of-block completions could lead to an inconsistent resolve session provided for a synthetic copy of a file
2015-06-03 21:22:10 +03:00
Valentin Kipyatkov
d74ac4d08a
Override/implement members dialog: no qualified type names in signatures but qualified owner class names (+ moved a method)
2015-06-01 18:23:34 +03:00
Valentin Kipyatkov
494d96bbc7
Refactored PsiElement.parents() into 2 properties
2015-05-29 13:55:46 +03:00
Valentin Kipyatkov
a6f76bbf76
Fixed keywords after 'this@' completion + fixed implementation of JetExpressionWithLabel.getLabelName()
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
2a5ca095ee
DeprecatedSymbolUsageFix - correct dealing with implicit receivers + fixed KT-7776 in completion
...
#KT-7776 Fixed
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
7d8a92aeb7
More correct code in class completion insert handler
2015-05-27 16:15:45 +03:00
Alexey Sedunov
036e2c585b
Refactoring: Introduce getReferenceTargets() function
2015-05-26 19:28:11 +03:00
Alexander Udalov
49004a8b8e
Conform functions to extension functions and vice versa
...
#KT-5989 Fixed
2015-05-26 15:04:56 +03:00