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
Nikolay Krasko
3c07bc3df7
Import all components and delegates accessors if possible
2015-10-23 22:07:52 +03:00
Nikolay Krasko
eb2feeeb16
Fixes after review in imports for additional expressions
2015-10-21 14:06:05 +03:00
Nikolay Krasko
2f26480e6b
Auto-imports for index functions, += like operators, invoke, delegates and components
...
#KT-9482 Fixed
#KT-9397 Fixed
#KT-8060 Fixed
2015-10-21 14:06:04 +03:00
Nikolay Krasko
9ef8370871
Allow to create quickfix multifile tests in single file
...
It simplifies creating new tests
2015-10-19 11:30:47 +03:00
Valentin Kipyatkov
ee7425c1de
Checking "infix" modifier in completion and import popup
2015-10-12 15:10:39 +03:00
Yan Zhulanow
ed5c059cea
Rename unary plus() and minus() to unaryPlus() and unaryMinus()
2015-10-09 22:49:17 +03:00
Valentin Kipyatkov
a75b3e6cf1
Auto-import popup does not suggest to import non-operator functions when operator required
2015-10-05 15:33:48 +03:00
Valentin Kipyatkov
b03a297ed0
KT-9326 IDE tries to resolve name in qualified this to any class in project/classpath
...
#KT-9326 Fixed
2015-10-05 15:33:47 +03:00
Valentin Kipyatkov
1bb6dae444
Auto-import fix should suggest declarations that cannot be used in this position
...
This also should fix KT-9122 Assertion error when psi modified from IDE
#KT-9122 Fixed
2015-10-05 15:33:46 +03:00
Valentin Kipyatkov
ab5fe60bbe
Corrected quickfix class name in tests
2015-10-05 15:33:45 +03:00
Valentin Kipyatkov
836d116786
Checked that import popup now works for callable references
2015-10-03 10:40:52 +03:00
Alexey Sedunov
aa080bf201
Create from Usage: Forbid for parameters/local variables when reference is not an identifier
...
#KT-9305 Fixed
2015-10-01 17:35:16 +03:00
Yan Zhulanow
6db9344659
Fix compiler tests
2015-09-25 19:20:20 +03:00
Michael Nedzelsky
92ca057b4a
fix tests in org.jetbrains.kotlin.idea.quickfix
2015-09-08 02:05:41 +03:00
Denis Zharkov
bbc192fda5
Deprecate suppress annotation in favor of Suppress
2015-09-04 17:23:25 +03:00
Valentin Kipyatkov
628ce4ea32
Better sorting of variants in add import popup
2015-08-25 18:56:17 +03:00
Valentin Kipyatkov
9837d383a9
Completion and add import popup to use same sorter
...
#KT-8842 In progress
2015-08-25 18:56:16 +03:00
Evgeny Gerashchenko
5c56bc455e
Supported excluded packages/classes in auto-import quick fix.
...
#KT-2413 in progress
2015-07-08 14:28:37 +03:00
Valentin Kipyatkov
eadeb6e63f
DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway
2015-06-30 13:41:41 +03:00
Valentin Kipyatkov
2bd1362be6
Create function/property from usage: added "member" when appropriate + changed order
2015-06-29 19:29:25 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Pavel V. Talanov
07d35d305e
Create import list psi element even if no directives are present
...
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Valentin Kipyatkov
0dc92c3ee8
QuickFixMultiFileTestGenerated - shorter test data files names
2015-05-27 16:15:44 +03:00
Ilya Gorbunov
fb342de451
Ensure stable order is used when rendering list of resolved calls by sorting them with MemberComparator.
2015-05-21 19:07:19 +03:00
Sergey Mashkov
a11e0a84b5
JS tests for addClass, removeClass, removeFromParent
2015-05-14 09:16:56 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Dmitry Jemerov
9975bb8935
replace 'trait' keyword with 'interface' in user-visible messages and code generation tools
2015-05-12 11:49:37 +02:00
Valentin Kipyatkov
837e46a9b8
Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes
2015-05-08 22:29:42 +03:00