Simon Ogorodnik
3acebc3001
Fix KNPE in KotlinAddImportActionKt.createSingleImportActionForConstructor
...
#KT-17525 fixed
2017-04-24 19:18:13 +03:00
Simon Ogorodnik
c6cdbe7eed
Fix import member quickfix to check receiver
...
#KT-17037 fixed
2017-04-11 20:29:15 +03:00
Dmitry Jemerov
4f229c3fdc
Convert AbstractQuickFixMultiFileTest to light fixture test case
2017-03-27 19:48:51 +02:00
Dmitry Jemerov
e2f75463d7
Rewrite AbstractQuickFixTest based on light fixture test case
...
Don't reconfigure runtime before every test. For consistency,
mark tests that require the runtime with directives instead of relying
on test file names.
2017-03-27 19:48:43 +02:00
Alexey Sedunov
834cdd63ab
Create from Usage: Support class generation by class literal expression
...
#KT-16188 Fixed
2017-03-19 17:19:48 +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
Simon Ogorodnik
98269c10d8
KT-15744 Intention to import sleep wrongly suggests Thread.sleep
...
#KT-15744 fixed
2017-02-06 14:56:18 +03:00
Denis Zharkov
88b82d5fa2
Exclude coroutine inrinsics and internal packages
...
#KT-16018
2017-01-30 15:45:02 +03:00
Dmitry Petrov
a974ed1049
Support custom accessors for top-level properties in scripts.
2017-01-26 10:12:13 +03:00
Simon Ogorodnik
3948c1e007
KT-15153 Support typeAlias extensions in completion and add import
...
#KT-15153 fixed
2017-01-25 20:47:48 +03:00
Simon Ogorodnik
4ca10c61fd
KT-11308 Hide kotlin.jvm.internal package contents from completion and auto-import
...
#KT-11308 fixed
2017-01-25 17:39:36 +03:00
Simon Ogorodnik
4b3cf432dc
KT-5629 Quickfix to import extension method when arguments of non-extension method do not match
...
#KT-5629 fixed
2017-01-12 18:06:31 +03:00
Simon Ogorodnik
db8edb01c3
KT-14815 alt + enter -> "import" over a constructor reference is not working
...
#KT-14815 fixed
2017-01-11 22:41:09 +03:00
Dmitry Jemerov
b8dc1b6771
Allow regex matching of available action names; accept both 2016.2 and 2016.3 names of static import quickfix
2016-12-13 12:40:03 +01:00
Nikolay Krasko
6a9c368532
Auto-import does not suggest enum constant (KT-14100)
...
#KT-14100 Fixed
(cherry picked from commit 61730ee)
2016-12-01 14:33:37 +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
5734f2ba9b
KT-9950 IntelliJ IDEA does not suggest importing extension methods which have the same name as an instance method
...
#KT-9950 Fixed
2016-10-10 14:48:15 +03:00
Simon Ogorodnik
18feb8f622
Return Kotlin fields and methods through KotlinShortNameCache
...
#KT-12205 Fixed
2016-09-28 13:36:20 +02:00
Valentin Kipyatkov
21c2268f70
Protection against "<caret>" missing in test data
...
Many incorrect tests fixed
2016-09-27 18:05:26 +03:00
Valentin Kipyatkov
be8b31e82b
Removed redundant and confusing .after files in negative tests
2016-09-27 18:05:26 +03:00
Valentin Kipyatkov
038068aa44
KT-13953 Import member popup should not suggest methods when only property or variable is valid
...
#KT-13953 Fixed
2016-09-27 18:05:25 +03:00
Valentin Kipyatkov
7625672914
Better test data
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
19ef29e96c
KT-12949 Type aliases are not considered for import when there is an unresolved reference
...
#KT-12949 Fixed
2016-09-13 17:47:39 +03:00
Alexey Sedunov
6a2edabbd4
Create from Usage: Implement "Create type alias" quickfix
...
#KT-12904 Fixed
2016-08-29 14:13:56 +03:00
Valentin Kipyatkov
9cddd0d1a4
Renamed classes
2016-08-29 13:38:17 +03:00
Valentin Kipyatkov
cbae3d77df
Don't use term "Static import" + refer quickfix by class name in negative tests
2016-08-29 13:38:17 +03:00
Valentin Kipyatkov
0072bf079d
Changes on review of pull request
2016-08-29 13:38:17 +03:00
Simon Ogorodnik
939b4768f5
Added tests, and fixed some bugs using it
2016-08-29 13:38:16 +03:00
Alexey Sedunov
a1e86e8bfa
Create from Usage: Show target class name in the text of "Create member" quick fix
...
(cherry picked from commit a51d3fc)
2016-07-20 15:39:19 +03:00
Alexey Sedunov
1a13c21377
Create from Usage: Show receiver type in the text of "Create extension" quick fix
...
(cherry picked from commit c0d5df1)
2016-07-20 15:39:13 +03:00
Valentin Kipyatkov
e05aa41bbc
Completion and import popup for bound callable references
2016-07-19 20:35:31 +03:00
Alexander Udalov
8316953259
Fix double quotes in diagnostic messages
...
For diagnostics without any parameters, the given text is simply rendered as a
String, so no symbols should be escaped.
For diagnostics with parameters, the format in java.text.MessageFormat is used,
so one single quote is erased and two single quotes become one single quote in
the rendered text.
2016-03-30 21:41:43 +03:00
Valentin Kipyatkov
3d422b47cb
Intention action to convert string to raw string
...
(half of KT-5208)
2016-03-24 19:05:55 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Nikolay Krasko
ca0346bdae
Fix forgotten test data for 10648f44ac (KT-10212)
2016-02-11 16:24:38 +03:00
Ilya Gorbunov
801a26a544
Fix testData
2016-02-01 22:20:30 +03:00
Ilya Gorbunov
d49f5b95b0
Fix deprecations in testData
2016-01-27 19:05:19 +03:00
Nikolay Krasko
10648f44ac
Do not auto-import convention methods without 'operator' modifier (KT-10212)
...
#KT-10212 Fixed
2016-01-21 17:45:51 +03:00
Ilya Gorbunov
59a9e2549c
Fix tests: codegen, completion, decompiler consistency, quickdoc, intentions, navigation, reference resolver, quick fixes
2015-12-14 04:29:25 +03:00
Dmitry Jemerov
863e32c5cd
Merge pull request #791 from mcgee/KT-9938
...
#KT-9938 Fixed
2015-12-09 15:17:31 +01:00
Alexey Sedunov
e517cbcf78
Quick Fixes: Implement "Rename unresolved reference" fix
...
#KT-8795 Fixed
2015-12-08 16:20:56 +03:00
Anton Sukhonosenko
da5f71773a
#KT-9938 Fixed
...
Code review fixes
2015-12-07 22:48:47 +03:00
Alexey Sedunov
2dcc38b92f
Create from Usage: Forbid "Create parameter/local variable/property" on label references
...
#KT-10119 Fixed
2015-12-02 13:54:00 +03:00
Alexander Udalov
7b3b157707
Remove PropertyMetadata from project and bytecode, migrate code to KProperty
2015-11-27 23:34:34 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Dmitry Petrov
7b432c878a
Diagnostics improvements for corner cases
...
(class/package qualifier in non-qualifier position).
2015-11-18 16:27:21 +03:00
Dmitry Petrov
9856af48ca
Drop createQualifier: testData update
2015-11-18 14:35:53 +03:00
Dmitry Jemerov
bf35099e0c
use "destructuring declarations" term instead of "multi-declarations"
2015-11-17 18:43:26 +01:00
Nikolay Krasko
f518f5fb9f
Extension operator function should be automatically imported for java function with the same name (KT-9406)
...
There's no need to import extension for Java operators anymore. Import for Kotlin functions.
#KT-9406 Fixed
2015-11-04 02:31:12 +03:00
Nikolay Krasko
911432c99c
Use default render to check are all errors mentioned in tests. It's far more easier to read.
2015-10-28 13:39:46 +03:00