nd
33a93e5fc5
Inspection detecting redundant Unit return type ( #1144 )
2017-07-07 16:51:53 +02:00
Dmitry Jemerov
5f9a33564a
Implement option for wrapping method annotations
2017-07-07 16:48:31 +02:00
Dmitry Jemerov
a379a814ba
Implement option for wrapping class annotations
2017-07-07 16:48:31 +02:00
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
8cc9195fae
Merge remote-tracking branch 'origin/master'
2017-07-07 13:26:59 +02:00
Dmitry Jemerov
9dc4183a16
Fix tests affected by the inspection behavior change
2017-07-07 13:25:59 +02:00
Mikhail Zarechenskiy
0ae45a2835
Add test for obsolete issue
...
#KT-6502 Obsolete
2017-07-07 14:20:01 +03:00
Mikhail Zarechenskiy
c853ac95ad
Improve diagnostic message for annotations with @receiver
...
#KT-14647 Fixed
2017-07-07 14:19:59 +03: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
f59859842a
Fix Android extensions import rename
...
#KT-17890 Fixed
2017-07-07 03:24:10 +03:00
Vyacheslav Gerasimov
ee53e81e8e
Fix Android resource reference folding
...
Properly fold qualified expressions and handle nested references
#KT-18429 Fixed
2017-07-07 03:24:03 +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
Vyacheslav Gerasimov
2116877991
J2K: rename KotlinAndroidGradleModuleConfigurator .java -> kt
2017-07-07 03:22:28 +03:00
Simon Ogorodnik
9f340b40c2
Minor: Add test to check inferred types shown correctly in parameter info
...
#KT-11858 Obsolete
2017-07-06 20:40:53 +03:00
Alexander Udalov
55468735df
Rename -module argument to -Xbuild-file
...
To prevent confusion with Java 9 module-related arguments
#KT-18754 Fixed
2017-07-06 17:03:25 +03:00
Alexey Sedunov
6200d07808
Minor: Fix compilation
2017-07-06 14:42:24 +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
Alexander Udalov
e8a8bdc58e
Add test on cyclicly dependent Java 9 modules
2017-07-06 13:01:12 +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
Simon Ogorodnik
33c22b8251
KT-8208: Support static members completion when receiver not-imported
...
#KT-8208 fixed
2017-07-04 16:41: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
Denis Zharkov
e26c210d69
Support TypeQualifierDefault from JSR 305 for nullability qualifiers
...
#KT-10942 Fixed
2017-07-03 17:55:37 +03:00
Denis Zharkov
5141a88a53
Add TypeQualifier annotation to IDE test data
...
Othewise nullability is not processed correctly
2017-07-03 17:55:37 +03:00
Denis Zharkov
57b7b91444
Do not add container annotaions to type artificially
...
It was only used for type-related nullability/mutability
annotations and it was necessary to remove them
in the descriptor renderer (duplicating their fqnames there).
At the same time they're only needed for types enhancement
where they can be simply restored from type owners' descriptors
The testData changes are more or less correct: this kind of annotations
is bound both to types themselves and their use because of their targets
2017-07-03 17:55:37 +03: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
Dmitry Jemerov
84418738a7
Optimize library kind detection and make it interruptible
2017-07-03 12:02:50 +02: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