Valentin Kipyatkov
1ccbda6af4
Do not insert explicit visibility modifier if it's default
2015-09-18 15:44:17 +03:00
Alexey Sedunov
89ae7d2036
Intentions: Fix test data after default visibility was changed to PUBLIC
2015-09-11 02:20:50 +03:00
Alexey Sedunov
794127a38b
Change Signature: Add/remove constructor keyword on primary constructor when changing modifier list
2015-09-11 02:20:46 +03:00
Alexey Sedunov
b4410c625f
Change Signature: Recreate call expression when converting receiver to parameter
...
#KT-8878 Fixed
2015-09-11 02:20:37 +03:00
Ilya Gorbunov
a59962c620
Change test data to reproduce the same error as was before adding an overload of assert.
2015-09-08 10:27:33 +03:00
Valentin Kipyatkov
97cf562dea
Made convert to string template inspection less eager
2015-09-07 19:48:05 +03:00
Mikhail Glukhikh
8f7b29f80a
Annotation rename: target --> @Target
2015-09-07 13:42:26 +03:00
Denis Zharkov
31244edec9
Deprecate deprecated in favor of Deprecated
2015-09-04 18:19:31 +03:00
Stanislav Erokhin
5ded315cbb
Improved error reporting for candidates with wrong parameter count
2015-09-01 23:37:42 +03:00
Denis Zharkov
e8f91e596c
Adjust test data after fixes about generic nullability
2015-08-28 18:50:26 +03:00
Valentin Kipyatkov
4717b17418
Inspection & fix for redundant supertype qualification
2015-08-27 23:21:22 +03:00
Valentin Kipyatkov
ba33c834c1
Add name to argument intention to work not only on the last argument
2015-08-27 23:21:20 +03:00
Valentin Kipyatkov
7b149c10c1
UsePropertyAccessSyntaxIntention: handled case when property type is more specific
2015-08-13 17:29:03 +03:00
Valentin Kipyatkov
6fcb75cfb5
One more test added
2015-08-13 17:29:03 +03:00
Mikhail Glukhikh
022e7d1169
Deprecated enum syntax removed: most idea tests
2015-08-10 16:24:16 +03:00
Valentin Kipyatkov
977bf593e0
KT-8574 'Convert to block body' inserts spurious < token
...
#KT-8574 Fixed
2015-07-28 22:39:29 +03:00
Valentin Kipyatkov
82cd58a556
Restored live template but made it more useful
2015-07-21 15:55:57 +03:00
Valentin Kipyatkov
6339ad4ec6
Added inspection based on RemoveForLoopIndicesIntention
2015-07-21 14:59:22 +03:00
Valentin Kipyatkov
8ffc1bb3a6
One more test added
2015-07-21 14:59:09 +03:00
Valentin Kipyatkov
0c9401c953
Renamed and correct test data
2015-07-21 14:59:08 +03:00
Valentin Kipyatkov
dee6bb2f49
Fixed test
2015-07-21 11:39:59 +03:00
Valentin Kipyatkov
a81ed335d0
Renamed test data folders
2015-07-21 11:37:19 +03:00
Valentin Kipyatkov
9ad04a1a26
Merge branch 'master' into ElliotM-for-loop-indices
2015-07-21 11:25:49 +03:00
Valentin Kipyatkov
e0e7044032
Synthetic properties: fixed completion and inspection for generic class
...
+ fixed KT-8539 No completion of generic extension function for <*> type arguments
#KT-8539 Fixed
2015-07-21 08:32:50 +03:00
Valentin Kipyatkov
0ac990e1a0
More tests for smart casts
2015-07-21 08:32:50 +03:00
Valentin Kipyatkov
b6027a0efe
Changed synthetic properties naming for getters starting with "is"
2015-07-21 08:32:49 +03:00
Nikolay Krasko
87e94aa20b
Minor test data update after moving to new idea
2015-07-17 20:59:08 +03:00
Valentin Kipyatkov
bfdc74ce74
Intention&inspection to use synthetic property instead of get/set method call
2015-07-16 13:49:15 +03:00
Ilya Gorbunov
4de5dd9aeb
Drop deprecated FunctionalList, FunctionalQueue.
...
Remove dependency on FunctionalList from tests.
2015-07-15 17:45:56 +03:00
Mikhail Glukhikh
0d2a81f098
Annotation target checking in front-end, a set of tests for different annotation targets, existing test fixes
...
No checks for erroneous annotations. Additional checks for identifiers.
2015-07-14 16:25:04 +03:00
Denis Zharkov
f0833d626a
Fix intentions tests after types enhancement
...
Types became more accurate
2015-07-09 16:36:44 +03:00
Dmitry Jemerov
21e25e8509
KT-4820: Intention to introduce/remove indices from a for-loop (update to modern Kotlin)
2015-07-02 13:16:34 +02:00
Dmitry Jemerov
7f3f834011
Merge branch 'for-loop-indices' of https://github.com/ElliotM/kotlin into ElliotM-for-loop-indices
2015-07-02 13:14:19 +02:00
Valentin Kipyatkov
db144a6121
Suggestions from expression itself to have higher priority + fixed incorect upper case naming
2015-06-29 19:36:49 +03:00
Valentin Kipyatkov
5c0195ff68
IterateExpressionIntention: checking for name conflicts
2015-06-29 19:36:48 +03:00
Valentin Kipyatkov
e00294d17b
IterateExpressionIntention uses collection expression for name suggestions too
2015-06-29 19:36:45 +03:00
Valentin Kipyatkov
2206459874
Initial implementation of KT-7688 Intention action to iterate over iterable value
...
#KT-7688 Fixed
2015-06-29 19:31:21 +03:00
Valentin Kipyatkov
46ad1b8573
"Remove argument name" intention
2015-06-29 19:29:26 +03:00
Valentin Kipyatkov
6988297511
More informative intention text
2015-06-29 19:29:26 +03:00
Valentin Kipyatkov
98c0c636b3
Smaller availability range for add argument name intention
2015-06-29 19:29:26 +03:00
Valentin Kipyatkov
9d83510af5
KT-7144 Intention action on an argument in a call to use named arguments form
...
#KT-7144 Fixed
2015-06-29 19:29:25 +03:00
Alexey Sedunov
f6965b5004
PSI: Add parentheses around annotated expressions in returns
...
#KT-8260 Fixed
2015-06-27 13:58:03 +03:00
Valentin Kipyatkov
bf014fc1c5
KT-5419 J2K: convert string concatenation to string template + implemented corresponding inspection
...
#KT-5419 Fixed
2015-06-15 18:32:45 +03:00
Denis Zharkov
e3c3af6aab
Change MISSING_CONSTRUCTOR_KEYWORD severity to error
...
And adjust testData
2015-06-12 11:23:13 +03:00
Valentin Kipyatkov
366a2be8a7
KT-7989 ReplaceWith replacement adds redundant type arguments for platform types
...
Highlighting of redundant type arguments made more strict about platform types
#KT-7989 Fixed
2015-06-11 23:30:22 +03:00
Valentin Kipyatkov
2203fb3231
Renamed intention class
2015-06-11 23:30:22 +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
63b30cf7f6
KT-7955 "Add replaceWith to specify replacement pattern" intention/inpesction has too large a range
...
#KT-7955 Fixed
2015-06-08 15:37:58 +03:00
Valentin Kipyatkov
e1efb95259
Added test
2015-06-08 15:37:40 +03:00
Valentin Kipyatkov
f14615315d
KT-5482 Redundant type arguments are not detected in some cases
...
#KT-5482 Fixed
2015-06-04 16:20:29 +03:00