Evgeny Gerashchenko
|
2a23bc79f3
|
KT-7256 False "Receiver parameter not used" for property with delegation
#KT-7256 fixed
|
2015-05-27 16:07:09 +03:00 |
|
Dmitry Jemerov
|
58e4ff0502
|
Add quickfixes for unnecessary casts and nullability operations to cleanup inspection. Rewrite two quickfixes from Java to Kotlin. Add inspection description. Use marker interface for identifying quickfixes applicable for code cleanup.
|
2015-05-26 14:41:23 +02:00 |
|
Dmitry Jemerov
|
e2dbfebf32
|
add more quickfixes to cleanup action
|
2015-05-26 14:41:21 +02:00 |
|
Dmitry Jemerov
|
6e7ea662c8
|
"Code Cleanup" action to migrate all instances of deprecated syntax to new one
|
2015-05-26 14:41:21 +02:00 |
|
Evgeny Gerashchenko
|
0488229a61
|
KT-7693 Unused constructor parameter is not detected if class is constructed with named argument
#KT-7693 fixed
|
2015-05-25 18:33:08 +03:00 |
|
Evgeny Gerashchenko
|
533935f2c0
|
KT-7472 function of anonymous class is never used
#KT-7472 fixed
|
2015-05-14 21:51:07 +03:00 |
|
Dmitry Jemerov
|
625096466e
|
IDE testdata: s/trait/interface
|
2015-05-13 16:13:13 +02:00 |
|
Dmitry Jemerov
|
f93eeeb563
|
fix tests by adding missing 'init' keywords to testdata
|
2015-04-29 14:07:05 +02:00 |
|
Denis Zharkov
|
470ad93328
|
Do not report inspection "no reflection" in annotation entries
Annotation codegen shouldn't use something from reflection.jar
|
2015-04-23 11:22:39 +03:00 |
|
Evgeny Gerashchenko
|
e1f6dfa52d
|
EA-67458 - assert: UnusedSymbolInspection.hasNonTrivialUsages
|
2015-04-22 11:32:17 +03:00 |
|
Evgeny Gerashchenko
|
508c7a58b6
|
KT-7377 Throwable: Empty PSI elements should not be passed to createDescriptor from UnusedReceiverParameterInspection
#KT-7377 fixed
|
2015-04-13 15:04:00 +03:00 |
|
Evgeny Gerashchenko
|
5c0a81fae1
|
Minor. Renamed test data. default object -> companion object.
|
2015-04-08 21:15:28 +03:00 |
|
Evgeny Gerashchenko
|
86f91ade1a
|
Minor. Fixed syntax error in test data.
|
2015-04-08 15:14:11 +03:00 |
|
Alexander Udalov
|
5b2ffd50d3
|
Use mock JDK instead of full in IDEA plugin tests
|
2015-04-02 21:57:51 +03:00 |
|
Alexander Udalov
|
3335752462
|
Do not report "no reflection" inspection where reflection is not used
#KT-7059 Fixed
|
2015-03-23 15:54:33 +03:00 |
|
Evgeny Gerashchenko
|
1946360a80
|
Introduced "Unused receiver parameter" inspection.
|
2015-03-20 19:34:16 +03:00 |
|
Evgeny Gerashchenko
|
edd51908ec
|
KT-7021 Don't mark companion object as unused if some stuff from it is used
#KT-7021 fixed
|
2015-03-20 19:34:15 +03:00 |
|
Evgeny Gerashchenko
|
2fcee37b58
|
Temporarily disabled "Unused symbol" for companion objects.
|
2015-03-18 15:20:45 +03:00 |
|
Denis Zharkov
|
d1308ebf84
|
Don't report unused symbol if secondary constructor used
#KT-6997 Fixed
|
2015-03-18 10:56:29 +03:00 |
|
Evgeny Gerashchenko
|
3ec6ffc906
|
KT-7007 Go to declaration doesn't work inside enum class
#KT-7007 fixed
|
2015-03-17 16:10:51 +03:00 |
|
Pavel V. Talanov
|
06916d98c6
|
default -> companion: replace all mentions of default and default object
|
2015-03-17 15:47:39 +03:00 |
|
Evgeny Gerashchenko
|
c875584d0c
|
Supported default objects in unused symbol inspection.
|
2015-03-16 14:11:38 +03:00 |
|
Pavel V. Talanov
|
59f192ef90
|
Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
|
2015-03-06 19:36:54 +03:00 |
|
Pavel V. Talanov
|
7cd68c70d2
|
Do not run unused symbol inspection on default objects for now
#KT-6872 Fixed
|
2015-03-03 13:04:33 +03:00 |
|
Dmitry Jemerov
|
35e8e4d49a
|
Support spellchecking in Kotlin string literals; remove unused and unnecessary support for custom suppressions of spelling errors
|
2015-02-25 18:00:59 +01:00 |
|
Evgeny Gerashchenko
|
0d0222e1aa
|
Expanded workaround for EA-64030 (IDEA doesn't allow keywords in cls annotations).
|
2015-02-03 17:31:25 +03:00 |
|
Evgeny Gerashchenko
|
a492e248fe
|
Added workaround for the problem that IDEA doesn't allow keywords in cls annotations.
|
2015-01-30 17:50:55 +03:00 |
|
Evgeny Gerashchenko
|
386854d73f
|
Unused object.
unusedButEntryPointMain for class was actually a wrong test: it didn't check anything, because objects are were not checked for unusedness before.
|
2015-01-22 15:26:49 +03:00 |
|
Evgeny Gerashchenko
|
71bcce6410
|
Highlighting unused type parameter.
|
2015-01-22 15:20:32 +03:00 |
|
Evgeny Gerashchenko
|
aff2547ff8
|
Searching for properties declared in class constructor signature.
|
2015-01-22 15:20:31 +03:00 |
|
Evgeny Gerashchenko
|
b0e2afc8cb
|
Searching for property accessors, too.
|
2015-01-22 15:20:30 +03:00 |
|
Evgeny Gerashchenko
|
8fd5e72632
|
Finding unused properties.
|
2015-01-22 15:20:29 +03:00 |
|
Evgeny Gerashchenko
|
9ba86501ec
|
Not marking enum entries as unused.
|
2015-01-22 15:20:28 +03:00 |
|
Evgeny Gerashchenko
|
4cede47c70
|
Added tests with class/function used in Java
|
2015-01-22 15:20:26 +03:00 |
|
Evgeny Gerashchenko
|
4b20435ec9
|
Not searching for functions with conventional names.
Reasons:
1. They kind of implement interface.
2. They are too expensive to search.
|
2015-01-22 15:20:25 +03:00 |
|
Evgeny Gerashchenko
|
b68b2e2e40
|
Added optimization: if name is too popular, don't check as unused.
|
2015-01-22 15:20:24 +03:00 |
|
Evgeny Gerashchenko
|
f652d314d8
|
Finding unused functions.
|
2015-01-22 15:20:24 +03:00 |
|
Evgeny Gerashchenko
|
b6dffb8f0b
|
Added test with class used only in import.
|
2015-01-14 15:48:50 +03:00 |
|
Evgeny Gerashchenko
|
2d4e0be076
|
Added test with class referred in XML.
|
2015-01-14 15:48:49 +03:00 |
|
Evgeny Gerashchenko
|
9b22fc06c7
|
Class used in text is not unused.
|
2015-01-14 15:48:48 +03:00 |
|
Evgeny Gerashchenko
|
8297411e5f
|
Not marking entry points as unused.
|
2015-01-14 15:48:46 +03:00 |
|
Evgeny Gerashchenko
|
b781a09caf
|
Implemented simplest version of unused symbol inspection.
|
2015-01-14 15:48:45 +03:00 |
|