Valentin Kipyatkov
304c826b47
Fixed KT-6128 Code completion does not work inside function literal if it's dependant on declarations below
...
#KT-6128 Fixed
2014-10-24 15:14:26 +04:00
Pavel V. Talanov
a65f0d3b2a
Use PsiElement#getResolveScope() instead of custom helper
...
Fix extensions and types completion completion in code fragments in context of library source files
Also affects completion in files not in our project (not tested)
2014-10-22 18:56:33 +04:00
Pavel V. Talanov
e88db57214
Test completion for code fragments in context of library source
2014-10-22 18:56:29 +04:00
Valentin Kipyatkov
34d4477a12
Dropped test that cannot work anymore
2014-10-22 17:05:49 +04:00
Valentin Kipyatkov
4fd417d419
Fixing code completion in function literal parameters
...
#KT-4047 Fixed
#KT-5877 Fixed
2014-10-22 15:49:12 +04:00
Valentin Kipyatkov
59b66e7579
Fixed KT-6074 Package facade classes are shown in completion in kotlin files
...
#KT-6074 Fixed
2014-10-22 15:48:53 +04:00
Valentin Kipyatkov
d8dbc46867
Fixed KT-6075 Qualified name inserted when completing class with class object
...
#KT-6075 Fixed
2014-10-22 15:48:35 +04:00
Valentin Kipyatkov
3a2a7427e7
Fixed caret position for KT-5906 Smart completion of anonymous object should preselect single method body
...
#KT-5906 Fixed
2014-10-22 15:48:34 +04:00
Valentin Kipyatkov
7f55c0626f
Fixed KT-6033 Smart completion: wrong replacement range by Tab for item with all arguments at once
...
#KT-6033 Fixed
2014-10-22 15:48:34 +04:00
Valentin Kipyatkov
a84488f59a
Fixed KT-5985 Smart completion does not insert comma for constructor of nested data class
...
#KT-5985 Fixed
2014-10-22 15:48:17 +04:00
Valentin Kipyatkov
f64f08c9b6
Checked that KT-5984 has been fixed already
2014-10-22 15:48:00 +04:00
Valentin Kipyatkov
af883d9165
Ordering items in smart completion for 'it'
2014-10-22 15:47:47 +04:00
Valentin Kipyatkov
f5f5b514d4
Ordering items in smart completion for nullable
2014-10-22 15:47:33 +04:00
Valentin Kipyatkov
4068879d84
Ordering items in smart completion for boolean
2014-10-22 15:47:17 +04:00
Valentin Kipyatkov
9cf50154d2
Ordering items in smart completion for function type
2014-10-22 15:46:56 +04:00
Valentin Kipyatkov
65c30902e7
KT-6028 Smart completion items priority
...
#KT-6028 Fixed
2014-10-22 15:45:16 +04:00
Valentin Kipyatkov
e6dbfac232
Fixed smart completion of functions with "::"
...
#KT-6073 Fixed
2014-10-22 15:42:36 +04:00
Valentin Kipyatkov
86a9f47f6c
Fixed KT-6056 Smart completion does not filter out inaccessible declarations
...
#KT-6056
2014-10-22 15:40:20 +04:00
Valentin Kipyatkov
79123d6bb6
Minor
2014-10-16 15:14:23 +04:00
Valentin Kipyatkov
6b163bca8a
Keyword completion uses simple prefix matching only
2014-10-16 15:14:23 +04:00
Valentin Kipyatkov
1e5ea703b5
Added a test
2014-10-16 15:14:23 +04:00
Valentin Kipyatkov
0da62a8815
Keyword completion: added missing 'out' keyword
2014-10-16 15:14:23 +04:00
Valentin Kipyatkov
96a5e573c3
Fix in keyword completion
2014-10-16 15:14:22 +04:00
Valentin Kipyatkov
8e1a89230e
Keyword correction: smaller file text
2014-10-16 15:14:22 +04:00
Valentin Kipyatkov
f7dc0fca74
Keyword correction: more correct behavior + smaller file text
2014-10-16 15:14:22 +04:00
Valentin Kipyatkov
525a1cc3c6
Fixed tests
2014-10-16 15:14:22 +04:00
Valentin Kipyatkov
d65d3b9068
Checked that KT-2795 has been fixed
...
#KT-2795 Fixed
2014-10-16 15:14:21 +04:00
Valentin Kipyatkov
9663fac5b1
Checked that KT-2832 has been fixed
...
#KT-2832 Fixed
2014-10-16 15:14:21 +04:00
Valentin Kipyatkov
50e1ec9c4f
Fixed KT-5809 Code completion after "?." should not include keywords
...
#KT-5809 Fixed
2014-10-16 15:14:21 +04:00
Valentin Kipyatkov
549171d043
Completely rewritten keyword completion implementation using another approach
...
#KT-2816 Fixed
2014-10-16 15:14:21 +04:00
Valentin Kipyatkov
afa59a616c
More tests
2014-10-15 17:30:33 +04:00
Valentin Kipyatkov
2365db1367
Fixed KT-6011 Smart completion works for argument of wrong method
...
#KT-6011 Fixed
2014-10-15 17:30:33 +04:00
Evgeny Gerashchenko
7a6429e35e
Removed live templates completion contributor.
...
LT are added to completion on IDEA side.
Fixed EA-52890.
2014-10-15 11:51:01 +04:00
Valentin Kipyatkov
cff0c35987
Checked that KT-3596 is not reproducible
2014-10-14 16:08:17 +04:00
Valentin Kipyatkov
503a8deef1
Fixed bug in reference shortening + fixed test data for completion tests
2014-10-14 16:08:16 +04:00
Valentin Kipyatkov
f9bf214526
Code completion: avoid duplication of elements for java classes
2014-10-14 15:47:45 +04:00
Valentin Kipyatkov
eabcbb00ab
KT-5876 Code completion should never auto-insert item which requires adding import
...
#KT-5876 Fixed
2014-10-14 15:47:45 +04:00
Valentin Kipyatkov
a124827c4e
Fixed KT-5611 Completion doesn't include not imported extensions for implicit receiver
...
#KT-5611 Fixed
2014-10-14 15:47:44 +04:00
Andrey Breslav
cc68ed894b
"type" is not a keyword anymore ("typealias" reserved instead)
2014-10-13 15:41:13 +04:00
Andrey Breslav
0cbbb6a0db
Test data fixed
2014-10-13 15:37:47 +04:00
Pavel V. Talanov
ebbd08a546
Respect resolve scope when adapting java types completion
...
Do not suggest classes from unrelated modules
2014-10-10 21:14:30 +04:00
Svetlana Isakova
ce01c61811
Rename: auto cast -> smart cast
2014-10-01 18:52:52 +04:00
Svetlana Isakova
1d2d2f4845
KT-5873 Exception in ArgumentMatchImpl on smart completion
...
#KT-5873 Fixed
2014-10-01 18:52:51 +04:00
Valentin Kipyatkov
35ebbab733
Fixed smart completion not working when parameter has default value
2014-09-30 15:29:10 +04:00
Valentin Kipyatkov
267aabae12
Smart completion: multiple arguments at once
2014-09-30 15:29:10 +04:00
Valentin Kipyatkov
028520956f
Fixed tests
2014-09-26 15:20:46 +04:00
valentin
6e7e13d320
Fixed KT-5826 Keyword completion shouldn't kick in in comments
...
#KT-5826 Fixed
2014-09-25 17:10:28 +04:00
valentin
b4909cc849
Smart completion: item preference by name works for more cases
2014-09-25 17:10:27 +04:00
Valentin Kipyatkov
0462d152eb
Smart completion: prefer items matching by name
2014-09-25 17:10:27 +04:00
Valentin Kipyatkov
19fb090f28
Do not autopopup completion in name of generic function or property too
2014-09-25 17:10:25 +04:00