Mikhail Glukhikh
93defed324
KT-12302: ABSTRACT_MODIFIER_IN_INTERFACE warning is removed as obsolete
2016-05-24 14:25:18 +03:00
Dmitry Jemerov
3542834fa1
fix tests for RedundantIfInspection
2016-05-23 20:21:46 +02:00
Vladislav Golub
bb32c2d350
KT-12019 Highlighting of redundant 'if' statements ( #871 )
2016-05-23 21:02:38 +03:00
Mikhail Glukhikh
c95e11cc7e
Import as alias with another name is now counted as usage itself #KT-11933 Fixed
2016-05-18 17:46:18 +03:00
Mikhail Glukhikh
182ade19e9
'Long' type is now stored for 'Long' literal #KT-12267 Fixed
2016-05-13 19:51:30 +03:00
Dotlin
fa523b9af4
Delegated Properties: Analysis adjustments for local delegated properties support
2016-05-13 19:11:18 +03:00
Valentin Kipyatkov
3f82cc9b39
KT-12260 ISE while replacing an operator with safe call
...
#KT-12260 Fixed
2016-05-13 17:44:01 +03:00
Mikhail Glukhikh
8920e67c5a
Unused symbol: secondary constructors are also under analysis #KT-10812 Fixed
2016-05-13 13:22:25 +03:00
Mikhail Glukhikh
a098977c54
Do not try to make object's containing class abstract #KT-11466 Fixed
2016-05-11 19:08:37 +03:00
Kirill Rakhman
97c3c633a7
Add quickfix for UNUSED_LAMBDA_EXPRESSION ( #867 )
...
Fixes #KT-9757
2016-05-06 18:46:12 +03:00
Kirill Rakhman
f309920af8
Add quickfix to make referenced primary constructor parameter a property
...
Fixes #KT-12089
2016-04-29 12:14:42 +02:00
Kirill Rakhman
1c5322bae4
Quick fix for SUPERTYPE_IS_EXTENSION_FUNCTION_TYPE ( #858 )
...
* Quick fix for SUPERTYPE_IS_EXTENSION_FUNCTION_TYPE
Fixes #KT-11876
* Revert accidental change
* Remove period
* ConvertExtensionToFunctionTypeFix: more tests
2016-04-29 12:47:38 +03:00
Valentin Kipyatkov
306edef23c
Highlighting of redundant semicolons
...
#KT-5010 Fixed
2016-04-29 11:23:22 +03:00
Kirill Rakhman
2629d23576
Add quickfix to add 'toString' ( #866 )
...
Fixes #KT-12121
2016-04-28 12:15:39 +03:00
Mikhail Glukhikh
918f843cd0
Correct handling of empty super type list while adding an entry #KT-12011 Fixed
2016-04-27 18:44:42 +03:00
Mikhail Glukhikh
a45165838a
Build fix: quick fix multi file test
2016-04-24 13:09:37 +03:00
Mikhail Glukhikh
d8e47bd520
Change visibility fix message (quotes) + list of available actions in tests
2016-04-23 20:25:18 +03:00
Mikhail Glukhikh
e6a7cd97ff
Change visibility on exposure now reports all possible visibilities
2016-04-23 10:01:10 +03:00
Mikhail Glukhikh
8938752cf9
Make visible now suggests all possible visibilities
2016-04-23 10:01:02 +03:00
Mikhail Glukhikh
d5b9a336a3
Decrease visibility fix is now active for exposed visibility errors #KT-11920 Fixed
2016-04-23 10:00:59 +03:00
Mikhail Glukhikh
fe44671b6a
KT-11920: Increase visibility fix is now active for exposed visibility errors
2016-04-23 10:00:53 +03:00
Alexey Sedunov
1635018fe7
Override/Implement: Use function body template when generating functions with default body
...
#KT-11807 Fixed
2016-04-21 16:40:17 +03:00
Valentin Kipyatkov
a68dbe78d8
KT-11594 "Add non-null asserted (!!) call" applied to unsafe cast to nullable type causes AE at KtPsiFactory.createExpression()
...
#KT-11594 Fixed
2016-04-20 14:30:53 +03:00
Alexey Sedunov
beb5d5e271
Create from Usage: Suggest "Create secondary constructor" on NONE_APPLICABLE error
...
#KT-11866 Fixed
2016-04-19 20:27:39 +03:00
Alexey Sedunov
aa4bfadfb1
Intentions: Implement "Introduce local variable" intention
...
#KT-11768 Fixed
2016-04-19 20:27:37 +03:00
Mikhail Glukhikh
c7b2042b77
Do not suggest to add variance modifier if both in and out are possible
2016-04-18 13:40:55 +03:00
Mikhail Glukhikh
e806341cdc
Increase visibility: make not available in case of potential exposed visibility problems (see KT-11920)
2016-04-15 15:20:35 +03:00
Mikhail Glukhikh
80e41c5298
KT-11806: increase visibility quick fix: private / internal -> public #KT-11806 Fixed
2016-04-15 15:20:21 +03:00
Mikhail Glukhikh
f12a9b7b95
KT-11806: increase visibility quick fix, private --> internal, also for members
2016-04-15 15:20:16 +03:00
Mikhail Glukhikh
2098bed86d
Quick fix renamed: ChangePrivateTopLevelToInternal --> IncreaseVisibility
2016-04-15 15:20:12 +03:00
Kirill Rakhman
9495257de3
Add QuickFix to add 'crossinline' to parameter ( #852 )
...
Fixes #KT-10844
2016-04-13 13:25:35 +02:00
Kirill Rakhman
56fd2d28b8
Let Implement Quickfix: Launch "Implement Members" dialog after applying #KT-11836 Fixed
2016-04-13 12:50:45 +03:00
Mikhail Glukhikh
d79e3f322f
Redundant modality modifier inspection #KT-11450 Fixed
2016-04-11 16:32:43 +03:00
Mikhail Glukhikh
1d83a1a97c
Can be parameter inspection #KT-10819 Fixed
2016-04-11 16:32:26 +03:00
Kirill Rakhman
da5c963a43
Fix let implement quickfix label for object expressions
...
Fixes #KT-11782
2016-04-08 10:37:25 +03:00
Valentin Kipyatkov
6a65442095
KT-11811 There is no intention "Make protected" for a val declared in parameters of constructor
...
#KT-11811 Fixed
2016-04-07 18:50:32 +03:00
Mikhail Glukhikh
c32881e41b
Fix: test renamed
2016-04-06 10:39:50 +03:00
Stanislav Erokhin
ad002c4f09
Minor. Fix file name & regenerate tests.
2016-04-05 20:45:27 +03:00
Mikhail Glukhikh
1b9c6e0ea2
Add variance (in / out) modifier inspection #KT-11090 Fixed
2016-04-05 17:47:29 +03:00
Kirill Rakhman
f9bef68e10
Fix handling of nullable types in LetImplementInterfaceFix #KT-11404
2016-04-05 09:49:02 +03:00
Mikhail Glukhikh
b55610b1f0
KT-11404 (let type implement interface): indirect inheritance with generics fixed
2016-04-04 14:17:56 +03:00
Mikhail Glukhikh
640ae60a6b
KT-11404: additional test to cover indirect inheritance
2016-04-04 13:58:45 +03:00
Kirill Rakhman
1e6f507f5e
Implement quick-fix "let type implement interface" #KT-11404 Fixed
2016-04-04 13:46:47 +03:00
Mikhail Glukhikh
214e1d3015
Simplify comparison fix introduced #KT-10509 Fixed
2016-04-04 13:41:48 +03:00
Pavel V. Talanov
7de171efda
Improve message clarity for WRONG_NUMBER_OF_TYPE_ARGUMENTS diagnostics
...
#KT-9887 Fixed
2016-03-31 16:06:48 +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
Mikhail Glukhikh
a541aaafd8
Protected in final inspection: protected modifier is effectively private in final classes #KT-6674 Fixed
2016-03-28 19:03:16 +03:00
Valentin Kipyatkov
c1499e7cb6
KT-11576 Unused symbol warning: add quickfix for annotated declarations
...
#KT-11576 Fixed
2016-03-25 18:11:34 +03:00
Kirill Rakhman
cc730c36ad
Implement quickfix to remove '.java' when KClass is expected
...
Fixes #KT-11078
2016-03-24 19:39:57 +01:00
Valentin Kipyatkov
3d422b47cb
Intention action to convert string to raw string
...
(half of KT-5208)
2016-03-24 19:05:55 +03:00