Dmitry Jemerov
6c62b60147
Implement option for wrapping parameter annotations
2017-07-07 16:48:31 +02:00
Dmitry Jemerov
be15ee3c03
Add "Wrap extends/implements list" option
2017-07-07 16:48:30 +02:00
Dmitry Jemerov
722cc521a9
Add "Blank lines before }" option
...
#KT-15504 Fixed
2017-07-07 16:48:30 +02:00
Dmitry Jemerov
5c8a90fe85
"Blank lines after class header" option supported
2017-07-07 16:48:30 +02:00
Dmitry Jemerov
6a96ade02c
Options for blank lines between 'when' branches
...
#KT-18607 Fixed
2017-07-07 16:48:29 +02:00
Dmitry Jemerov
8fe2858c6a
Option to use normal indent in chained calls
...
#KT-18605 Fixed
2017-07-07 16:48:29 +02:00
Simon Ogorodnik
d8bb0b1023
KT-16999: Fix duplicates in parameter info
...
Use ShadowedDeclarationFilter in Parameter Info
#KT-16999 fixed
2017-07-07 17:40:32 +03:00
nd
58e5c497d0
Intention to replace add/addAll on a mutable collection with += ( #1143 )
2017-07-07 16:34:20 +02:00
nd
fae8efdc7f
Handle unsafe implicit invoke on array access expression ( #1151 )
2017-07-07 16:29:11 +02:00
Dmitry Jemerov
a12594fe27
Merge branch 'KT-18717' of https://github.com/nd/kotlin
2017-07-07 13:10:52 +02:00
Dmitry Jemerov
1de685949b
Merge branch 'KT-18797' of https://github.com/nd/kotlin
2017-07-07 13:02:02 +02:00
Vyacheslav Gerasimov
4cef8728d7
Add layout file name in completion for Android Extension properties
...
#KT-11051 Fixed
2017-07-07 03:24:19 +03:00
Vyacheslav Gerasimov
7c6ffff198
Refactor Kotlin Gradle configurator
2017-07-07 03:23:34 +03:00
Vyacheslav Gerasimov
9810c10f8b
Implement Add Kotlin library quickfix for GSK
2017-07-07 03:23:26 +03:00
Vyacheslav Gerasimov
2ec1a4311a
Implement Kotlin configurator for GSK
...
#KT-14965 Fixed
2017-07-07 03:23:17 +03:00
Alexander Udalov
7ab018da7b
Use ASM 6 API to read class files in IDE
...
Otherwise ASM throws exceptions trying to read module-info.class
#KT-13072 Fixed
2017-07-06 13:01:13 +03:00
Nikolay Krasko
72611d1337
Fix extract refactoring for android extensions declarations (KT-11048)
...
Allow any target declarations in marking references. Otherwise conflicts
for references resolved to xml are not considered broken.
This also fix evaluate for extension fields.
#KT-11048 Fixed
2017-07-05 20:21:13 +03:00
Mikhail Glukhikh
a09b31b568
Classify all Kotlin inspections
2017-07-05 16:00:22 +03:00
Dmitry Neverov
4a0e70ad53
Report MemberVisibilityCanBePrivate on visibility modifier if present
2017-07-04 21:33:37 +02:00
Alexey Sedunov
994b6d687c
Find Usages: Use MethodReferencesSearch to find constructor usages
2017-07-04 19:37:55 +03:00
Alexey Sedunov
d69caea725
Kotlin Facet: Ignore modules unprocessed by kotlin project resolver
...
This happens in AS on project opening, but we can't (re-)configure facet
in such case since relevant module data are not available
#KT-18725 Fixed
2017-07-04 19:37:53 +03:00
Alexey Sedunov
ee200c87ea
Kotlin Facet: Change module JDK according to jdkHome
...
It's possible when JDK with the same home path is already configured
2017-07-04 19:37:52 +03:00
Alexey Sedunov
2a53043fef
Generate equals/hashCode(): Fix function body generation
...
#KT-18596 Fixed
2017-07-04 19:37:50 +03:00
Dmitry Neverov
08afaca518
Don't propose making property private if it's used in inline function
2017-07-03 21:58:22 +02:00
Mikhail Glukhikh
2d1e1cb6ed
Minor: !!-related quick-fixes refactoring
2017-07-03 15:18:10 +03:00
Dmitry Neverov
4f678fa85c
Do not suggest !! on expression which is always null
...
Related to KT-14643
2017-07-03 15:14:11 +03:00
Dmitry Neverov
66bd9d63dd
Do not suggest adding !! on null constant #KT-14643 Fixed
2017-07-03 15:13:46 +03:00
Simon Ogorodnik
ab919886ae
Fix rendering of local anonymous object types for quick doc
...
#KT-8893 fixed
2017-07-01 15:04:29 +03:00
Nikolay Krasko
25109671b1
Postpone counting light elements till all psi checks done
2017-07-01 03:05:38 +03:00
Nikolay Krasko
fe17d616b9
Don't process Java references twice when looking for kotlin overrides (KT-17751)
2017-07-01 03:05:37 +03:00
Nikolay Krasko
0cd8ee57b8
Don't run another method reference search for constructors (KT-17751)
...
Constructors can't be used as properties and have no overrides.
2017-07-01 03:05:37 +03:00
Alexander Udalov
37982e4bb1
Move SAM-related descriptor classes to module frontend.java
...
Also move SyntheticMemberDescriptor to module resolution
2017-06-30 21:02:18 +03:00
Valentin Kipyatkov
09dbb07fb8
Optimization to reuse BindingContext in completion
2017-06-30 11:21:15 +03:00
Dmitry Jemerov
4497874f31
Remove unnecessary saveAll()
2017-06-29 17:56:59 +02:00
Alexey Sedunov
88968807b2
Generate equals/hashCode(): Swap class literals in comparison
2017-06-29 17:42:20 +03:00
Alexey Sedunov
e3e4c447fa
Generate equals/hashCode(): Use class literals when possible
...
#KT-18683 Fixed
2017-06-29 17:42:18 +03:00
Alexey Sedunov
20969f161c
Introduce Parameter: Fix NPE on invalid parameter name or type
...
EA-95189 Fixed
2017-06-29 17:42:16 +03:00
Alexey Sedunov
2e8b374ce8
Move: Use KtNamedDeclaration as referrer when reporting a conflict
...
EA-103817 Fixed
2017-06-29 17:42:15 +03:00
Alexey Sedunov
58addf72ff
New File Action: Do not start under write action
...
EA-102468 Fixed
2017-06-29 17:42:14 +03:00
Alexey Sedunov
392370bb23
Extract Interface: Fix NPE
...
EA-90440 Fixed
2017-06-29 17:42:11 +03:00
Alexey Sedunov
dd0f8e98e8
Create Type Alias From Usage: Disable on PsiPackage
...
EA-92625 Fixed
2017-06-29 17:42:10 +03:00
Alexey Sedunov
6060a39494
Change Signature: Use correct index in getOriginalParameter()
...
#KT-18642 Fixed
#KT-18606 Fixed
2017-06-29 17:42:09 +03:00
Nikolay Krasko
9122f58d5d
Re-enable optimize on the fly activation when unused imports found
...
Remove deprecated usages
2017-06-29 16:56:15 +03:00
Mikhail Glukhikh
c8a9b5f67a
Restrict range of "simplifiable call chain" inspection
2017-06-29 16:25:58 +03:00
Mikhail Glukhikh
840847e47c
Code cleanup: several inspections applied
2017-06-29 16:25:57 +03:00
Mikhail Glukhikh
fdca96634e
Add restrictions for "simplifiable call chain" inspection
...
Do not use on maps; do not suggest for lambdas with return inside
Related to KT-18274
2017-06-29 16:25:55 +03:00
Mikhail Glukhikh
2f0159a7ab
Minor fix: useless call on collection type
2017-06-29 16:25:54 +03:00
Mikhail Glukhikh
36be1fdaef
Introduce "simplifiable call chain on collection" inspection
...
Related to KT-12165
So #KT-18274 Fixed
So #KT-17198 Fixed
2017-06-29 16:25:52 +03:00
Mikhail Glukhikh
bdb9f00c75
Introduce "Useless call on collection type" inspection
...
Related to KT-12165
Supported functions: filterNotNull, filterIsInstance,
mapNotNull, mapNotNullTo, mapIndexedNotNull, mapIndexedNotNullTo
Also, "Useless cal on not-null" improved a bit
2017-06-29 16:25:50 +03:00
Mikhail Glukhikh
f80f41d254
Introduce "redundant explicit type" inspection #KT-18517 Fixed
...
Reported cases: constants, constructors, object references
2017-06-29 16:25:47 +03:00