Alexander Podkhalyuzin
5a752da9e9
Updated tests #KT-23546 Comment
2018-04-06 16:25:09 +03:00
Pavel V. Talanov
c3d2334eed
Fix expect declarations available in completion in platform modules
2018-04-04 17:56:35 +02:00
Simon Ogorodnik
48fb3db7ba
Fix inserting variable name suggestion on non-enter char typing
...
#KT-21933 fixed
2018-03-13 12:51:29 +03:00
Pavel V. Talanov
a6aea5625a
Dsl completion: fix completion when multiple receivers are in scope
2018-02-28 19:48:45 +01:00
Pavel V. Talanov
92070d132e
Completion: do not force dsl members to the top if some type is expected
2018-02-21 14:44:14 +01:00
Pavel V. Talanov
1796d40118
Completion: assign highest priority to dsl members in dsl context
...
Use the same style as for dsl for lookup items that belong to dsl
2018-02-21 14:44:13 +01:00
Ilmir Usmanov
18c03f94f8
Move coroutineContext to correct package
...
from kotlin.coroutines.experimental.instrinsics to kotlin.coroutines.experimental
#KT-22400
2018-02-01 13:18:32 +03:00
Mikhail Glukhikh
babcea9edc
Fix completion test (companion object is allowed in annotation scope)
2018-01-31 14:44:33 +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
d6143e2af6
Fix testData broken after KT-12797
2017-10-31 21:11:19 +03:00
Simon Ogorodnik
213ce01152
Update testData for completion, broken after KT-13220
2017-10-30 17:31:15 +03:00
Simon Ogorodnik
8631e898a7
KT-12797: Fix completion to show inner classes from base class
...
#KT-12797 fixed
2017-10-25 18:07:37 +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
Simon Ogorodnik
cace6624e6
EA-105522, KT-20256: Fix TextRange.<init> "Invalid range specified"
...
Check when caret inside template, and don't try to create invalid
range then
EA-105522 fixed
#KT-20256 fixed
2017-10-23 17:32:39 +03:00
Simon Ogorodnik
7a991ddc25
KT-13220: Add completion for variable names
...
Using parameter name completion
#KT-13220 fixed
2017-10-18 19:11:13 +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
Simon Ogorodnik
4972dbfc2d
KT-17165: Support array literals in annotations in completion
...
#KT-17165 fixed
2017-10-12 18:15:53 +03:00
Mikhail Glukhikh
27615209ed
Migration to expect/actual: remove header/impl from completion, tests
2017-09-15 18:28:43 +03:00
Valentin Kipyatkov
e52c3b4c81
Rewritten KDoc-link resolve and completion to work more reasonably
2017-08-08 22:06:04 +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
Mikhail Zarechenskiy
8f8143d3ed
Fix IAE for wrong use-site @file annotation
...
#EA-100189 Fixed
2017-08-07 18:49:57 +03:00
Simon Ogorodnik
5e032139cb
KT-18040: Enable auto popup when typing after $e. in string template
...
#KT-18040 fixed
2017-07-30 09:15:16 +03:00
Valentin Kipyatkov
44dafc38e5
A bit more correct fix of KT-14665
2017-07-27 13:33:57 +03:00
Simon Ogorodnik
c41c5f1916
KT-19145: Enable type completion for extension properties
...
#KT-19145 fixed
2017-07-27 09:57:11 +03:00
Simon Ogorodnik
f079ed949c
KT-19015: Enable multiarg completion for non-first argument
...
#KT-19015 fixed
2017-07-24 00:00:11 +03:00
Simon Ogorodnik
cc8933c82b
KT-17074: Make completion respect DslMarker's
...
#KT-17074 fixed
2017-07-14 21:06:43 +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
Valentin Kipyatkov
09dbb07fb8
Optimization to reuse BindingContext in completion
2017-06-30 11:21:15 +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
fa3f87492c
KT-12104: Fix smart completion for argument of implicit invoke
...
#KT-12104 fixed
2017-06-13 15:32:09 +03:00
fitermay
d0991fffd2
Fix keyword completion in 'if' blocks
...
#KT-17914 fixed
2017-05-22 13:54:25 +03:00
Pavel V. Talanov
1c5e7c4726
Make sure java completion doesn't suggest classes from builtIns
...
Fix an undesirable sideeffect of previous changes
2017-05-16 22:01:05 +03:00
Simon Ogorodnik
9a969b0449
Add basic completion for operator fun names
...
#KT-11250 fixed
2017-04-28 15:06:27 +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
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
Kirill Rakhman
d44bf27ec3
Completion of keywords (like constructor) doesn't insert parentheses/braces if they're already there
...
#KT-15603 Fixed
#KT-13524 Fixed
2017-04-13 13:41:41 +03:00
Simon Ogorodnik
439e158fb2
Fix failing test after migration to IDEA 171
...
BasicCompletionWeigherTestGenerated$ExpectedInfo.testPreferMatchingThis
Looks like IDEA now rearranges elements with same weight by length and
then alphabetically
2017-03-21 16:47:16 +03:00
Valentin Kipyatkov
f00ab135d6
Do not insert redundant space
2017-03-20 19:08:03 +03:00
Valentin Kipyatkov
3ec28f1242
Attempt to preserve partial substitution when detecting expected type for smart completion
2017-03-20 19:08:03 +03:00
Valentin Kipyatkov
b5dd2cc540
Completion of lambda parameters
...
Also changed policy for sorting of smart completion items in basic completion
#KT-16800 Fixed
#KT-12002 Fixed
2017-03-20 19:08:02 +03:00
Simon Ogorodnik
3bf7223448
Internal Kotlin packages now should be completable in parent packages
...
Internal packages which are hard-excluded from completion and
imports now should be visible there if file package are parent of
excluded one
e.g kotlin.jvm.internal.* now visible from kotlin and kotlin.jvm
#KT-16214 fixed
2017-03-09 19:05:10 +03:00
Ilya Gorbunov
eebb820060
Do not refer to java packages in common completion tests
2017-02-22 17:28:02 +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
Ilya Gorbunov
fee676a281
Introduce 'takeUnless' function which is like 'takeIf' but with the predicate inverted.
...
#KT-7858
2017-02-13 16:07:34 +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
Simon Ogorodnik
c2ba4e3ab9
KT-14252 Completion could suggest constructors available via typealiases
...
#KT-14252 fixed
2017-01-31 15:14:18 +03:00