Mikhail Zarechenskiy
547865d5c7
Fix tests for completion after fun keyword
...
It's correct from the current implemention but still questionable and
should be discussed
#KT-35990 Open
2020-01-17 19:37:48 +03:00
Toshiaki Kameyama
ba640be81d
KT-32178 Keyword completion: don't add 'fun' after 'suspend' in type position
...
#KT-32178 Fixed
2019-12-19 15:07:20 +03:00
Max Medvedev
5d35bebacd
Keyword completion: use proper prefix matcher for keyword completion
...
fixes #KT-32519
2019-07-10 15:54:44 +03:00
Toshiaki Kameyama
17a4506575
Keyword completion: complete data class with parentheses
...
#KT-30511 Fixed
2019-04-02 11:48:47 +03:00
Toshiaki Kameyama
dfd3947856
Keyword completion: add 'fun' after 'suspend' (KT-29038)
...
#KT-29038 Fixed
2019-03-14 15:35:45 +03:00
Toshiaki Kameyama
8cdf901538
Keyword completion: do not suggest const except inside top level or object
...
#KT-23026 Fixed
#KT-29840 Fixed
2019-02-19 14:57:44 +03:00
Toshiaki Kameyama
827e04ae3e
Keyword completion: add "class/interface/object + filename" completion for top level (KT-28394)
...
#KT-28394 Fixed
2019-01-05 19:06:22 +03:00
Toshiaki Kameyama
ed9d53acaa
Keyword completion: do not add braces after 'companion object' (KT-27915)
...
^KT-27915 Fixed
2019-01-05 19:00:25 +03:00
Toshiaki Kameyama
dc2a707444
Keyword completion: add 'class' after 'data' #KT-26632 Fixed
2018-11-28 14:47:37 +03:00
Toshiaki Kameyama
35cc6ff495
Keyword completion: add 'val' after 'const' #KT-27916 Fixed
2018-11-19 11:51:45 +03:00
Mikhail Glukhikh
babcea9edc
Fix completion test (companion object is allowed in annotation scope)
2018-01-31 14:44:33 +03:00
Alexey Sedunov
b8fb002a8f
Misc: Update keyword completion test data
...
It reflects top-level lateinit variables available since 1.2
2017-10-18 18:17:50 +03:00
Mikhail Glukhikh
27615209ed
Migration to expect/actual: remove header/impl from completion, tests
2017-09-15 18:28:43 +03:00
Mikhail Zarechenskiy
8f8143d3ed
Fix IAE for wrong use-site @file annotation
...
#EA-100189 Fixed
2017-08-07 18:49:57 +03:00
Valentin Kipyatkov
44dafc38e5
A bit more correct fix of KT-14665
2017-07-27 13:33:57 +03:00
fitermay
d0991fffd2
Fix keyword completion in 'if' blocks
...
#KT-17914 fixed
2017-05-22 13:54:25 +03:00
Simon Ogorodnik
6e8406f73c
Fix completion of 'else' keyword
...
#KT-14665 fixed
2017-04-25 14:44:24 +03:00
Simon Ogorodnik
bd2ad6a089
Tweak keyword completion for lateinit and companion object
...
#KT-13673 fixed
#KT-12293 fixed
2017-04-25 14:42:50 +03:00
Simon Ogorodnik
be7158eeb2
KT-16110 Missing suspend keyword completion inside generic arguments
...
#KT-16110 fixed
2017-02-07 19:48:05 +03:00
Dmitry Jemerov
720da176db
Exclude keywords from completion if the corresponding feature is unsupported by the language level selected for the module
2017-01-30 12:32:41 +01:00
Stanislav Erokhin
5a353412e4
Fixed KeywordCompletionTests.
2016-12-15 23:58:18 +03:00
Dmitry Petrov
a15d423db4
Support modifiers on types in parser
...
(required for 'suspend' on functional types).
TYPE_REFERENCE element now has MODIFIER_LIST child, which hosts annotations and modifiers for the corresponding type reference.
Annotations and modifiers written before an extension function type are now parsed as annotations and modifiers for the functional type, not the receiver type.
So, '@Ann A.(B) -> C' was '(@Ann A).(B) -> C', and became '@Ann (A.(B) -> C)'.
NB: DSL_SCOPE_VIOLATION testData updated accordingly.
Type projection variance modifiers ('in', 'out') belong to a separate modifier list under corresponding type projection (not under a type reference).
'A<in suspend T>' is 'A<(in (suspend T))>', 'A<suspend in T>' is an error.
In stub builder, create a modifier list node to host annotations and modifiers (none so far; TODO properly serialize/deserialize types with modifiers).
2016-12-15 23:57:41 +03:00
Stanislav Erokhin
653d589f98
FIx tests after renaming platform to header.
2016-12-13 23:08:47 +03:00
Stanislav Erokhin
59efedf610
Rename platform to header.
2016-12-13 18:00:00 +03:00
Alexander Udalov
6e2ef9b1d2
Add platform/impl soft keywords, add isPlatform/isImpl to MemberDescriptor
2016-11-25 20:50:17 +03:00
Kirill Rakhman
f378089b96
Fix Completion: keyword 'typealias' is not suggested
...
Fixes #KT-13242
2016-07-27 19:02:08 +02:00
Denis Zharkov
2cc09f928e
Allow suspend extensions for specially annotated controllers
2016-07-06 15:25:19 +03:00
Valentin Kipyatkov
4e16d67321
KT-12427 Completion doesn't work for "@receiver:" annotation target
...
#KT-12427 Fixed
2016-06-20 16:19:01 +03:00
Denis Zharkov
b8d4d39f4d
Add custom applicability checks for suspend/coroutine modifiers
2016-06-08 18:53:16 +03:00
Denis Zharkov
329fb9d619
Introduce 'coroutine'/'suspend' modifiers
2016-06-08 18:53:16 +03:00
Alexander Udalov
1339286261
Drop undocumented absolute name specification feature with 'package.'
2016-06-01 19:30:03 +03:00
Valentin Kipyatkov
364a8801a3
Correct keyword completion after try in assignment
2016-04-20 14:30:54 +03:00
Valentin Kipyatkov
bade304bf3
Better presentation
2016-04-19 15:22:06 +03:00
Valentin Kipyatkov
022075995b
KT-11957 No "catch" and "finally" keywords in completion
...
#KT-11957 Fixed
2016-04-19 15:22:06 +03:00
Valentin Kipyatkov
2a3b87f783
KT-11784 Completion for 'if' statement should add parentheses automatically
...
#KT-11784 Fixed
2016-04-19 15:22:06 +03:00
Mikhail Glukhikh
b78d481bb1
delegate use-site targeted annotations: parser, front-end, codegen with some tests #KT-10502 Fixed
2016-01-19 11:38:41 +03:00
Valentin Kipyatkov
b41f2dcda3
KT-10655 No "in" in code completion popup after "!"
...
#KT-10655 Fixed
2016-01-14 19:23:01 +03:00
Dmitry Jemerov
8db3fb03f9
remove support for "package.foo.bar" syntax inside files
2015-12-14 13:22:54 +01:00
Valentin Kipyatkov
74f2d60e19
No duplicate property accessor should be allowed
2015-10-22 18:48:19 +03:00
Valentin Kipyatkov
6eba45febd
KT-9661 Code completion of "get" and "set" in property accessors
...
#KT-9661 Fixed
2015-10-22 18:48:19 +03:00
Valentin Kipyatkov
798223b0e4
Better presentation for use site targets in completion
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov
fabf3e5e84
More correct keyword completion after "@"
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov
235399f784
KT-8036 Completion does not suggest file after @ in file header
...
#KT-8036 Fixed
2015-10-22 18:48:18 +03:00
Valentin Kipyatkov
0cfccdefe4
"enum class" and "annotation class" are completed as single keywords
2015-10-19 18:36:06 +03:00
Valentin Kipyatkov
fa14b18f7f
KT-8624 Don't complete "dynamic" keyword when targeting JVM
...
#KT-8624 Fixed
2015-10-19 18:36:06 +03:00
Valentin Kipyatkov
f67bd8c13f
Even more precise keyword completion for modifiers
2015-10-15 19:20:11 +03:00
Valentin Kipyatkov
15d507bf47
Removed obsolete comments
2015-10-15 19:20:11 +03:00
Valentin Kipyatkov
58a9b34276
Minor
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov
78f60503e3
More correct keyword completion after @
2015-10-15 19:20:10 +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