Mikhail Zarechenskiy
c03dfd1522
[IDE-NI-MIGRATE] Migrate completion tests for new inference
2019-05-06 13:59:26 +03:00
Toshiaki Kameyama
18ed031e7e
Fix completion for back-ticked name (KT-19863, KT-19864)
...
^KT-19863 Fixed
^KT-19864 Fixed
2019-01-05 18:52:26 +03:00
Alexander Podkhalyuzin
ed8aad6149
Override completion right after override modifier
...
#KT-25312 Fixed
2018-09-17 12:23:59 +03:00
Alexander Podkhalyuzin
baa0f2dc1b
Override completion in expect class should behave differently
...
Caret placement is at the end of new fun/property
#KT-25313 Fixed
2018-09-10 14:23:48 +03:00
Alexander Podkhalyuzin
04fd4ef9de
Do not stop recursive visitor with return
...
#KT-23627 Fixed
2018-07-09 15:19:38 +03:00
Kirill Rakhman
b567817d1f
Make completion for overriding functions respect suspend modifier
...
Fixes #KT-22200
2018-01-16 15:42:03 +01:00
Toshiaki Kameyama
27e7f13335
Fix AssertionError on completing after template in string literal
...
#KT-16402 Fixed
2017-11-13 16:01:34 +03:00
Simon Ogorodnik
5778ace6b0
KT-20166: Replace type name when caret is at the end of param name
...
When caret is at the end ('f<caret>: Foo'), tokenAt was COLON,
not IDENTIFIER
#KT-20166 fixed
2017-10-25 18:07:01 +03:00
Valentin Kipyatkov
998814b1a1
Support for import aliases in both resolve and completion in KDoc
2017-08-08 22:06:04 +03:00
Valentin Kipyatkov
9361cd895c
Support for import aliases in code completion
...
#KT-8848 Fixed
2017-08-08 22:06:04 +03:00
Simon Ogorodnik
33c22b8251
KT-8208: Support static members completion when receiver not-imported
...
#KT-8208 fixed
2017-07-04 16:41:50 +03:00
Denis Zharkov
bc564af2fc
Regenerate mockJDK using openJDK 7
2017-06-24 17:26:01 +03:00
Toshiaki Kameyama
af941bfdf5
KT-18158 Expand selection should select the comment after expression getter on the same line ( #1122 )
...
* Expand selection should select the comment after expression getter on the same line #KT-18158 Fixed
* Fixed expand selection behavior for the declaration with comment #KT-18158
* Remove redundant code #KT-18158
2017-06-14 12:28:56 +02:00
Simon Ogorodnik
02fec6e4a5
Add fine check of type inference when adding <> in completion
...
Add check if type inferred via type parameter of upper bound
of extension receiver or value argument
#KT-16161 fixed
2017-04-19 21:27:31 +03:00
Simon Ogorodnik
2490318f93
KT-16076 Completion inserts FQN kotlin.text.String
...
KT-14831 Don't add import statement and FQN on converting lambda to reference if typealias is used
KT-16088 Completion wrongly inserts FQN for `kotlin` package
#KT-16076 fixed
#KT-14831 fixed
#KT-16088 fixed
2017-02-13 16:48:14 +03:00
Nikolay Krasko
2bb48fc802
Allow empty single-line bodies in property accessors
2016-12-14 13:40:44 +03:00
Ilya Gorbunov
e787930673
Fix completion handler tests: use tail specifier to select one of multiple completion variants (eg 'kotlin.collections.ArrayList' vs 'java.util.ArrayList').
...
Replace aliased types imported by default with something else.
2016-11-16 18:47:42 +03:00
Valentin Kipyatkov
9b55ad82a0
KT-14370 Completion inserts fully qualified name for any Java interface with single abstract method (SAM-interface)
...
#KT-14370 Fixed
2016-11-08 19:14:41 +03:00
Valentin Kipyatkov
7ab2d0c951
KT-13810 Kotlin code completion missing last character
...
#KT-13810 Fixed
2016-10-18 11:56:59 +03:00
Valentin Kipyatkov
73dc5fefcb
KT-12077 Code completion inserts FQN for annotations with use-site target inside primary constructor
...
KT-13009 Kotlin: annotation auto-import is broken in multiple ways
#KT-12077 Fixed
#KT-13009 Fixed
2016-10-11 17:26:52 +03:00
Valentin Kipyatkov
0c14058d13
Moved tests
2016-10-11 17:26:52 +03:00
Valentin Kipyatkov
f6b471ac01
Better tests
2016-09-13 12:02:10 +03:00
Valentin Kipyatkov
5bf701ab03
KT-13047 Autocomplete inserts a fully-qualified variable name inside a String
...
KT-12083 String interpolation -- auto {} if there is a letter after cursor
#KT-13047 Fixed
#KT-12083 Fixed
2016-09-13 12:02:10 +03:00
Valentin Kipyatkov
efac7a11b3
Do not include "operator" and "infix" into completion item text for override
2016-09-07 18:10:11 +03:00
Alexey Sedunov
89c39b9762
Misc: Use TODO() consistently in implementation stubs
...
#KT-13589 Fixed
2016-08-29 16:20:55 +03:00
Valentin Kipyatkov
7f07890f6a
KT-13298 Suggest names for overridden properties / functions in completion
...
#KT-13298 Fixed
2016-08-16 18:17:24 +03:00
Dmitry Jemerov
ef0318e038
more testdata updates due to default function template change
2016-07-20 10:44:54 +02:00
Valentin Kipyatkov
0bc5007147
KT-12369 Completion: pressing dot after class name should not cause insertion of constructor call
...
#KT-12369 Fixed
2016-06-20 16:19:02 +03:00
Valentin Kipyatkov
b9719bfe82
Fixed test so that it really tests what's intended
2016-06-20 16:19:02 +03:00
Valentin Kipyatkov
eb1dbfc652
KT-12669 Completion should show variant with () when there is default lambda
...
#KT-12669
2016-06-20 16:19:02 +03:00
Valentin Kipyatkov
1413a3fe63
KT-12328 Qualified function name inserted when typing before "if"
...
#KT-12328 Fixed
2016-06-20 16:19:01 +03:00
Denis Zharkov
5c1e17c8e7
Revert "Completion fix for reserved 'async' syntax"
...
This reverts commit 318f0c89b2 .
2016-06-08 18:53:16 +03:00
Valentin Kipyatkov
40022e8f7a
KT-12068 Special completion item for "[]" get-operator access
...
#KT-12068 Fixed
2016-04-27 23:47:34 +03:00
Valentin Kipyatkov
deb75b3f18
Completion to complete non-imported classes on the first invocation
...
#KT-8527 Fixed
2016-04-27 23:47:33 +03:00
Valentin Kipyatkov
f0dd70d94c
KT-11680 Code completion of label for existing return with value inserts redundant whitespace
...
#KT-11680 Fixed
#KT-9993 Fixed
2016-04-27 23:46:26 +03:00
Alexey Sedunov
1635018fe7
Override/Implement: Use function body template when generating functions with default body
...
#KT-11807 Fixed
2016-04-21 16:40:17 +03:00
Valentin Kipyatkov
f3bb3e9c6e
KT-11912 String interpolation is not converted to ${} form when accessing this.property
...
#KT-11912 Fixed
2016-04-19 15:22:05 +03:00
Valentin Kipyatkov
b32859cf68
KT-11633 Kotlin code editor applies wrong indentation after completing a statement in data class
...
#KT-11633 Fixed
2016-04-18 17:15:52 +03:00
Valentin Kipyatkov
c9bb020d6e
KT-9738 Code completion of "emptyList()" after elvis operator inserts explicit type arguments
...
#KT-9738 Fixed
2016-02-11 12:26:23 +03:00
Valentin Kipyatkov
53fe1568c9
KT-8529 Code completion for parameter name and type together replaces wrong range on Tab
...
#KT-8529 Fixed
2016-01-21 18:30:09 +03:00
Stanislav Erokhin
318f0c89b2
Completion fix for reserved 'async' syntax
2015-12-21 07:15:37 +03:00
Ilya Gorbunov
09191622e5
Fix testData: import became not required.
2015-12-14 01:07:51 +03:00
Zalim Bashorov
5bf8b4d946
Allow to use "static" part of class in own constructors by short name, including in primary constructor
2015-12-09 21:42:32 +03:00
Valentin Kipyatkov
927df1c4cd
KT-5072 Values of extension function type are not seen in completion
...
#KT-5072 Fixed
2015-11-16 18:24:37 +03:00
Valentin Kipyatkov
8946e5f353
Code completion for string templates after simple name + dot
2015-11-10 17:20:01 +03:00
Valentin Kipyatkov
3bd508ca84
Static members completion includes SAM-adapters
2015-11-09 15:37:44 +03:00
Valentin Kipyatkov
06812aed11
Better completion for static members: special behavior in case of imports from same class exist
2015-11-09 15:37:44 +03:00
Valentin Kipyatkov
ca437e51c4
Initial implementation of KT-8209 Support static member completion without writing the class name
2015-11-09 15:37:44 +03:00
Valentin Kipyatkov
e33e1ef8d7
KT-8968 Special completion after "super."
...
#KT-8968 Fixed
2015-11-05 17:47:55 +03:00
Valentin Kipyatkov
b73c574d19
Correct completion after "super."
...
#KT-8406 Fixed
2015-11-05 17:47:54 +03:00