Valentin Kipyatkov
386e39f4a2
Fixed KT-1797 No completion for nested class name in extension function definition
...
#KT-1797 Fixed
2014-08-07 21:55:15 +04:00
Valentin Kipyatkov
83b33bd58b
Only named parameters in completion when nothing else can be
2014-08-07 21:55:15 +04:00
Valentin Kipyatkov
b5058fa7fd
Do not shown inaccessible symbols on auto-popup
2014-08-07 21:55:15 +04:00
Valentin Kipyatkov
6221de9849
KT-5157 Code completion named parameter items should have lowest priority
...
KT-4157 Auto-popup code completion pre-selects wrong item
#KT-5157 Fixed
#KT-4157 Fixed
2014-08-07 21:55:12 +04:00
Valentin Kipyatkov
2b67716e95
KT-5153 Smart completion should include objects from type
...
#KT-5153 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov
be0e78b11a
Fixed one more case of no-auto-insertion after "as"
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov
7546a17539
KT-4914 Smart completion should work after 'as' and 'as?'
...
#KT-4914 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov
32dbed602a
KT-4913 Smart completion should work after '!'
...
#KT-4913 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov
19999e6879
Smart completion for implicitly typed function body
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov
91c983706a
Fixed KT-5020 Smart completion should work at the initializer of a val with no explicit type
...
#KT-5020 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov
67df7de7b1
Fixed KT-5110 Smart completion: do not generate comma if next argument has default value
...
Fixed KT-5109 Smart completion: do not insert comma if next argument is vararg
#KT-5110 Fixed
#KT-5109 Fixed
2014-07-28 18:52:57 +04:00
Valentin Kipyatkov
bddb01888a
Fixed KT-5158 Smart completion for when selector: do not include subject variable
...
#KT-5158 Fixed
2014-07-28 18:52:57 +04:00
Valentin Kipyatkov
595ef9f1d4
Fixed KT-5168 Smart completion includes null when comparing non-nullable value
...
#KT-5168 Fixed
2014-07-28 18:52:57 +04:00
Valentin Kipyatkov
81393c999b
Fixed KT-5231 Smart completion does not insert comma in super constructor argument list
...
KT-5231 Fixed
2014-07-28 18:52:57 +04:00
Valentin Kipyatkov
c8c8b477ef
Added test for KT-5272 which is not reproduced
2014-07-28 18:52:57 +04:00
Valentin Kipyatkov
d6b12187c2
Fixed KT-5341 Code completion of class declared locally inserts its "qualified name"
...
#KT-5341 Fixed
2014-07-28 18:52:57 +04:00
Alexander Udalov
de0f751207
Replace object$ -> OBJECT$, instance$ -> INSTANCE$ in the project
2014-07-26 00:21:05 +04:00
Nikolay Krasko
848863ef93
Completion fails with exception "Toplevel class has no fqName" (KT-5119)
...
Groovy scripts files can create PsiClasses with null qualfied names (getQualifiedName()) and names (getName()).
#KT-5119 Fixed
2014-06-02 20:36:42 +04:00
Valentin Kipyatkov
4a7d4dffdf
Fixed KT-5142 Code completion of parameter type inserts FQ-name
...
#KT-5142 Fixed
2014-05-30 19:28:06 +04:00
Valentin Kipyatkov
073dcd024c
Fixed KT-5101 Partly qualified name is inserted by code completion
...
#KT-5101 Fixed
2014-05-30 14:31:20 +04:00
Valentin Kipyatkov
4be1cc2786
KT-5079 Support smart completion for when values
...
#KT-5079 Fixed
2014-05-30 14:30:36 +04:00
Valentin Kipyatkov
2ddcae68e8
Fixed KT-5077 Code completion inserts FQ names inside lambda
...
#KT-5077 Fixed
2014-05-23 19:16:23 +04:00
Pavel V. Talanov
b3898cfb0d
Force the user of AstAccessControl to write at least one test violating restriction, implement such tests for existing tests
...
This is needed because the slightest change in the test setup can make the check useless without the client knowing
The solution is ugly but gives at least some protection against this
2014-05-21 15:40:29 +04:00
Pavel V. Talanov
8354233f85
Add multi file test for completion of enum entry
2014-05-21 15:40:14 +04:00
Pavel V. Talanov
4c39886edc
Minor: fix test data
2014-05-21 15:40:13 +04:00
Pavel V. Talanov
fbf2cded0d
Refactor AbstractMultiFileJvmBasicCompletionTest to extend CompletionTestCase
...
Extract common code from JetFixtureCompletionBaseTestCase to CompletionTestUtil.kt
Reason for this change is that I couldn't get the check that prohibits tree loading to work with fixture test case
2014-05-21 15:40:12 +04:00
Valentin Kipyatkov
c56b5bfd61
Added 2 tests
2014-05-20 18:56:48 +04:00
Valentin Kipyatkov
5ce3df4845
KT-5025 Unnecessary qualifier inserted for class
...
#KT-5025 Fixed
2014-05-20 18:56:48 +04:00
Natalia Ukhorskaya
d70770afb2
Completion and highlighting for blockCodeFragment
2014-05-15 13:54:26 +04:00
Valentin Kipyatkov
6c5d974284
Completion: added a test
2014-05-13 16:40:48 +04:00
Valentin Kipyatkov
c9bde2de0e
Smart completion: added a test
2014-05-13 16:40:48 +04:00
Valentin Kipyatkov
2d850f41f1
Smart completion: fixed addition of tail chars after true, false and null
2014-05-13 16:40:47 +04:00
Valentin Kipyatkov
0e86e628a3
KT-5012 Autocompletion is completing to FQN and not the value
...
#KT-5012 Fixed
#KT-5006 Fixed
2014-05-13 16:40:47 +04:00
Valentin Kipyatkov
dab6045f6a
Fixed Code completion does not work inside function variable invocation
...
#KT-4978 Fixed
2014-05-07 22:50:23 +04:00
Valentin Kipyatkov
7bb84c139d
Smart completion: fixed logic in elvis operator
2014-05-07 22:50:23 +04:00
Valentin Kipyatkov
a65bd1a74d
Added test data for future use
2014-05-07 22:50:22 +04:00
Valentin Kipyatkov
1b034c5fc3
Smart completion works for block's result
2014-05-07 22:50:22 +04:00
Valentin Kipyatkov
45f518a907
Smart completion after ?: works incorrectly
...
#KT-4926 Fixed
2014-05-07 22:50:22 +04:00
Valentin Kipyatkov
5e34791e68
Smart completion should not suggest variants for private signatures
...
#KT-4899 Fixed
2014-05-07 22:50:22 +04:00
Valentin Kipyatkov
57c41ce0b0
Smart completion: added test for KT-4929 fixed by svtk
2014-05-07 22:50:22 +04:00
Valentin Kipyatkov
d781626201
Smart completion: only overloads with all previous arguments matched are considered
2014-05-07 22:50:21 +04:00
Valentin Kipyatkov
717977af61
No more java lookup elements in code completion (except for one case)
2014-05-07 22:50:21 +04:00
Valentin Kipyatkov
33de0e8393
Smart completion for then and else branches of if
...
#KT-4910 Fixed
2014-05-07 22:50:20 +04:00
Valentin Kipyatkov
7aa11a4207
Smart completion: auto-cast to non-null type is not recognized for field from constructor
...
#KT-4906 Fixed
2014-05-07 22:50:20 +04:00
Valentin Kipyatkov
3c75e9ec28
Smart completion: "null" when nullable value expected
2014-05-07 22:50:20 +04:00
Valentin Kipyatkov
32405e57e6
Smart completion: checking constructor's visibility + true and false for Boolean
...
#KT-4916 Fixed
2014-05-07 22:50:20 +04:00
Valentin Kipyatkov
9ae59db329
Smart completion: more correct Tab key handling
...
#KT-4954 Fixed
2014-05-07 22:50:20 +04:00
Valentin Kipyatkov
5f931be39b
Smart completion after == and !=
...
#KT-4912 Fixed
2014-05-07 22:50:19 +04:00
Svetlana Isakova
69f3a64408
Added test for KT-4929
...
Smart completion should work for generic method argument
#KT-4929 Fixed
2014-04-30 13:34:35 +04:00
Valentin Kipyatkov
6808e82b81
Code completion: another way of import insertion on class name completion.
...
#KT-4905 Fixed
2014-04-23 19:23:11 +04:00