Yan Zhulanow
592083bc5b
Debugger: Support DebugLabel descriptors in completion
2019-02-25 14:43:58 +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
Yan Zhulanow
15a316ff90
Fix keyword completion for code fragments (KT-28680)
2019-02-15 21:23:25 +03:00
Nikolay Krasko
22a46d96c1
Update copyright in test module
2019-02-05 16:54:34 +03:00
Alexander Udalov
f2bf0dc236
Drop unneeded synthetic package fragment construction from KotlinBuiltIns
...
Instead use package views of builtInsModule
2019-01-28 15:18:52 +01:00
Nikolay Krasko
3548d25095
Introduce wrapper for EditorFactoryListener to warn about compatibility issues
2019-01-18 19:42:43 +03:00
Nikolay Krasko
046a0e059c
Always add last version of idea for which change is needed to BUNCH
...
BUNCH directive should contain last idea IDEA version this change is
meant for.
2019-01-18 19:42:43 +03:00
Max Medvedev
a9362d844a
Implemented "Complete statement" for completion
...
#KT-18663 fixed
2019-01-18 14:28:49 +03:00
Vyacheslav Gerasimov
2157c777b3
Remove obsolete bunch fixes for 173 & as31
2019-01-14 21:29:03 +03:00
Nikolay Krasko
c968a362f6
Fix test data after file rename
2019-01-06 01:08:25 +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
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
Mikhael Bogdanov
e963c52c80
Update copyright in generated non-compiler tests
2019-01-02 13:34:03 +01:00
Simon Ogorodnik
1f6fde4bc2
KT-20706: Fix auto-popup completion after digit in KDoc
...
#KT-20706 Fixed
2018-12-12 15:27:20 +03:00
Denis Zharkov
d8ebb70151
Advance enum entries in smart completion list
...
^KT-22579 Fixed
2018-12-06 17:38:31 +03:00
Denis Zharkov
d2d81d6ddc
Minor. Reformat StaticMembers.kt
2018-12-06 17:38:31 +03:00
Toshiaki Kameyama
dc2a707444
Keyword completion: add 'class' after 'data' #KT-26632 Fixed
2018-11-28 14:47:37 +03:00
Nikolay Krasko
8fad4db8ce
Auto-popup lambda type parameter info (KT-28401)
...
#KT-28401 Fixed
2018-11-26 17:22:45 +03:00
Nikolay Krasko
b79f8ff8fa
Fix completion tests after "cast required" color change (KT-18089)
...
#KT-18089 Fixed
2018-11-23 01:59:14 +03:00
Nikolay Krasko
dfa0ca1192
Some better colours for unmatched elements (KT-18089)
...
Platform requires a single color for both selected/not-selected item and
so colour selection isn't easy (see https://youtrack.jetbrains.com/issue/IDEA-191959
for details)
#IDEA-191959 Fixed
2018-11-22 13:07:57 +03:00
Simon Ogorodnik
bc7ef66a28
Fix codeStyleSettings damaged test failure properly
2018-11-20 22:13:06 +03:00
Toshiaki Kameyama
35cc6ff495
Keyword completion: add 'val' after 'const' #KT-27916 Fixed
2018-11-19 11:51:45 +03:00
Ilya Chernikov
c05c46d50f
Convert to release coroutines (kotlinx-coroutines.1.0.1)
2018-11-17 19:24:34 +01:00
Nikolay Krasko
b1cf98d82a
Reformat completion.handlers
2018-11-16 17:45:00 +03:00
Simon Ogorodnik
6b07cd1950
Update testData due to changes in stdlib
...
New function equals, and kotlin.js.JsName in common
2018-11-15 16:27:20 +03:00
Nikolay Krasko
0a2d1b409b
Cleanup LookupCancelWatcher.kt
2018-10-27 18:57:21 +03:00
Nikolay Krasko
48c0fb2ba9
Remove deprecated AbstractProjectComponent
2018-10-27 18:57:20 +03:00
Alexander Podkhalyuzin
812d3d9ce6
Fixed testdata to have the same package/file structure, otherwise it
...
will not work with Java 9.
2018-10-25 11:16:37 +03:00
Alexander Podkhalyuzin
16d3bf7716
Fixed KotlinConfidenceTests
2018-10-23 13:57:42 +03:00
Mikhail Glukhikh
784d9f14f6
Rollback language / API version at the end of IDE tests
...
This should fix some flaky tests
2018-10-23 10:57:09 +03:00
Ilmir Usmanov
c4d0b5493a
Fix NPE in suspension point in monitor call checker
...
#KT-27484 Fixed
2018-10-11 14:38:34 +03:00
Dmitry Petrov
0191e3d1cf
Migrate to release coroutines
2018-09-27 21:59:31 +03:00
Ilya Gorbunov
358e64fdb0
Remove dead code for builtins uninvalidation in tests
2018-09-21 18:35:02 +03:00
Alexander Podkhalyuzin
ed8aad6149
Override completion right after override modifier
...
#KT-25312 Fixed
2018-09-17 12:23:59 +03:00
shiraji
fd3fe52eb4
Fix the problem with code completion of type extension method
...
KT-23834 Fixed
2018-09-11 14:24:45 +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
Pavel V. Talanov
b59f134f78
Fix completing members for receivers shadowed by DslMarker
...
#KT-20396 Fixed
2018-08-16 13:59:38 +02:00
Pavel V. Talanov
0c1d25d5ac
Completion: when Unit is expected do not prioritize by return type
...
Decide on completion order by other factors
Previously would prefer callable that return Unit if Unit is the expected type
leading to strange completion order
#KT-25588 Fixed
2018-08-16 13:59:38 +02:00
Pavel V. Talanov
51681d57c8
Minor: toString() for CompoundWeight to improve test results readability
2018-08-16 13:59:38 +02:00
Pavel V. Talanov
b51c021f56
Dsl completion: assign high priority for dsl elements that are members
2018-08-16 13:59:37 +02:00
Denis Zharkov
9f3a902ff3
Take into account refined applicability of dsl-marker in IDE
...
After the previous change, when being applied to a function type
with receiver it's assumed to work just as it's applied to receiver type
Thus, it's necessary to fix relevant IDE features relied on DSL markers
#KT-23255 Fixed
2018-08-14 15:58:18 +07:00
Vyacheslav Gerasimov
c7a00971fe
Fix source compatibility with 183 platform
2018-08-03 21:29:18 +03:00
Nikolay Krasko
759ffafb0a
Render flexible types with enhancement as enhanced in IDE (KT-25622)
...
Main targets for the fix is completion, parameters info, inlay hints and
override/implement.
Other IDE functions might be affected.
#KT-24911 Fixed
#KT-25616 Fixed
#KT-25622 Fixed
2018-08-03 16:00:09 +03:00
Dmitry Savvinov
f90b29c2e3
Support contracts in PartialBodyResolveFilter
...
Previously, PartialBodyResolveFilter didn't know about contracts and was
filtering out calls of such functions, leading to unstable completion in
cases like that:
fun test(x: Any?) {
require(x is String)
x.<caret>
}
However, PartialBodyResolveFilter works by pure PSI, while to determine
if function has a contract we have to resolve it.
To solve it, we do something very similar to what has been done with
Nothin-returning functions: introduce
KotlinProbablyContractedFunctionShortNameIndex, which collects all
function which *may* have a contract during indexing.
^KT-25275 Fixed
2018-07-27 16:59:24 +03:00
Dmitry Savvinov
ca64346b55
Add compiler test directives to the list of valid directives
2018-07-27 16:59:23 +03:00
Dmitry Savvinov
2a57807c85
Minor: reformat and clean-up KotlinFixtureCompletionBaseTestCase
2018-07-27 16:59:23 +03:00
Max Medvedev
5c8afea68e
Completion fallback to DescriptorToSourceUtilsIde.getAnyDeclaration
...
That's in case if DescriptorToSourceUtils.getSourceFromDescriptor fails
#KT-22373 Fixed
2018-07-14 15:17:03 +03:00
Georgy Bronnikov
8478c73434
Make @JvmStatic work on JVM_IR
2018-07-13 13:43:02 +03:00
Alexander Podkhalyuzin
04fd4ef9de
Do not stop recursive visitor with return
...
#KT-23627 Fixed
2018-07-09 15:19:38 +03:00