Vyacheslav Gerasimov
daa860651f
as32: Update AS 3.2 version to 3.2.0.13
2018-05-10 23:28:41 +03:00
Toshiaki Kameyama
da92c844a6
Might be 'const': fix false positive in object literal #KT-23756 Fixed
2018-05-10 20:42:32 +03:00
Mikhail Glukhikh
84d71e5a8c
"Wrap with let": minor enhancement (related to KT-6364)
2018-05-10 20:41:53 +03:00
Toshiaki Kameyama
b6564ed19a
"Wrap with let": fix for nullable extension function call #KT-6364 Fixed
2018-05-10 20:28:14 +03:00
Mikhail Glukhikh
a8ad980910
If to when: label break / continue if necessary #KT-11427 Fixed
2018-05-10 18:46:24 +03:00
Mikhail Glukhikh
2812601e2d
Reformat: add loop label
2018-05-10 18:46:18 +03:00
Mikhail Glukhikh
73a756084e
Reformat: if to when
2018-05-10 18:46:17 +03:00
Vyacheslav Gerasimov
3d7f2f663f
Build: Extract maven ide module from kotlin-plugin.jar to standalone jar
2018-05-08 21:49:08 +03:00
Vyacheslav Gerasimov
f2b323fbe3
Build: Extract jps-common ide module from kotlin-plugin.jar to standalone jar
2018-05-08 21:49:08 +03:00
Vyacheslav Gerasimov
4d4ff636d2
Build: Extract jvm ide module from kotlin-plugin.jar to standalone jar
2018-05-08 21:49:07 +03:00
Toshiaki Kameyama
3aab68d635
Add "Make variable immutable" quickfix for const #KT-24263 Fixed
2018-05-08 18:37:10 +03:00
Toshiaki Kameyama
d1c2ea4095
Reformat: QuickFixRegistrar
2018-05-08 18:37:10 +03:00
Toshiaki Kameyama
e26ab28d45
Reformat: ChangeVariableMutabilityFix
2018-05-08 18:37:10 +03:00
Mikhail Glukhikh
e141f4f407
Convert array to vararg: extract text variants to constants
2018-05-08 18:37:09 +03:00
Toshiaki Kameyama
da92eb63a0
Add intention replacing vararg with array and vice versa #KT-23419 Fixed
2018-05-08 18:37:09 +03:00
Mikhail Glukhikh
e933bb8220
Unused symbol suppression: get annotation descriptors via entries
...
Otherwise we miss use-site targeted annotations,
and getUseSiteTargetedAnnotations does not help
So #KT-20332 Fixed
2018-05-08 18:37:09 +03:00
Mikhail Glukhikh
59c019cb00
Reformat: unused symbol inspection
2018-05-08 18:37:08 +03:00
Mikhail Glukhikh
78ed39856e
UnnecessaryVariableInspection: do not show dialogs #KT-22989 Fixed
2018-05-08 18:37:08 +03:00
Mikhail Glukhikh
39c0b57724
Reformat: UnnecessaryVariableInspection
2018-05-08 18:37:08 +03:00
Mikhail Glukhikh
de85235bd7
Reformat: KotlinInlineValHandler
2018-05-08 18:37:07 +03:00
Mikhail Glukhikh
5246c54dad
Do not suggest removing empty parentheses if lambda is on the next line
...
So #KT-15195 Fixed
2018-05-08 18:37:07 +03:00
Mikhail Glukhikh
6968540889
Reformat: RemoveEmptyParenthesesFromLambdaCallIntention
2018-05-08 18:37:07 +03:00
Nicolay Mitropolsky
24b8d12eca
182: fixing SlicePanel compilation after isToShowCloseButton method removal
2018-05-08 18:35:04 +03:00
Nikolay Krasko
7b80fb0431
Mark actions as internal to prevent "Other" group creation (KT-24268)
...
#KT-24268 Fixed
2018-05-08 13:04:27 +03:00
Nikolay Krasko
b19ad7e94c
Reformat: idea.highlighter package
2018-05-08 13:04:27 +03:00
Nicolay Mitropolsky
732e25a3f0
KotlinElementActionsFactory: fix for getting names from dead pointers (EA-116215)
2018-05-08 12:57:29 +03:00
Natalia Selezneva
7fe21f3035
Do not throw exception when script template doesn't have required annotation
...
^KT-23746 Fixed
2018-05-08 11:40:51 +03:00
Natalia Selezneva
522587dc5d
Align checkbox labels in scratch panel
...
^KT-24315 Fixed
2018-05-08 11:40:51 +03:00
Natalia Selezneva
e5a40c8c7f
Scratch: substring output and print it to separate tool window if it is too long
...
^KT-24016 In Progress
2018-05-08 11:40:51 +03:00
Natalia Selezneva
613ea94376
Allow reference search in scratches
...
^KT-23563 Fixed
^KT-23587 Fixed
2018-05-08 11:40:51 +03:00
Natalia Selezneva
db2bcff390
Restore scratch options after IDE restart
...
^KT-23441 Fixed
2018-05-08 11:40:51 +03:00
Natalia Selezneva
178dad3b4e
Refactoring: introduce file attribute utils
2018-05-08 11:40:51 +03:00
Natalia Selezneva
bed5a3c8f3
Scratch: find correct line to report error at
...
^KT-23480 Fixed
EA-117936 Fixed
2018-05-08 11:40:51 +03:00
Natalia Selezneva
62fadd9086
Scripts: GradleScriptTemplateProvider should be the first in the contributors list.
...
This is needed to avoid broking .gradle.kts support by external plugins
2018-05-08 11:40:51 +03:00
Natalia Selezneva
47bafb8c75
Regenerate IntentionTestGenerated
2018-05-08 09:10:51 +03:00
Vyacheslav Gerasimov
838f1f91fc
Build: Extract android ide modules from kotlin-plugin.jar to standalone jars
...
So we could exclude them in IDEs which don't have android plugin (AppCode, CLion)
2018-05-08 00:26:04 +03:00
Vyacheslav Gerasimov
ec1a9d9907
Move uast service registration to jvm.xml
2018-05-08 00:25:22 +03:00
Toshiaki Kameyama
534cbae4ef
KT-14391 RemoveUnnecessaryParenthesesIntention lost comment
...
on closing parenthesis
^KT-14391 Fixed
2018-05-07 12:40:57 +03:00
Mikhail Glukhikh
e76debb12b
Report UNUSED_PARAMETER in setter #KT-21129 Fixed
2018-05-04 18:04:57 +03:00
Alexander Udalov
c57864e46c
Require "-Xuse-experimental=kotlin.Experimental" on usages of Experimental
...
Since we're not yet sure of the design of Experimental/UseExperimental,
we're making them "experimental" themselves in some sense, in that the
user is required to provide the magic argument
"-Xuse-experimental=kotlin.Experimental" to be allowed to use either
Experimental or UseExperimental. This is more convenient than the
previous approach of "-language-version 1.3
-Xskip-metadata-version-check" because it's simpler and does not cause
pre-release binaries to be produced
2018-05-04 13:48:24 +02:00
Ilya Chernikov
48cf0bd949
Fixes and refactorings after review
2018-05-03 22:15:10 +02:00
Ilya Chernikov
15f9ad9531
Implement quick non-script detection and lazy script discovery..
...
so ".kt" and ".java" files are not considered as scripts and quickly
filtered out, and for the other files the the checks are implemented
using sequences, mechanisms provided to supply script definitions
lazily, and script discovery is implemented using this mechanisms.
2018-05-03 22:15:09 +02:00
Toshiaki Kameyama
b5da48c566
Don't report suspicious callable reference on invoke with parameters
...
So #KT-23465 Fixed
2018-05-03 18:47:12 +03:00
Toshiaki Kameyama
13356d32fd
Redundant SAM-constructor: highlight nested class name with outer class
...
So #KT-11156 Fixed
2018-05-03 18:32:44 +03:00
Toshiaki Kameyama
204c68070a
Reformat RedundantSamConstructorInspection
2018-05-03 18:31:34 +03:00
Toshiaki Kameyama
c43311ba9a
Move to constructor: change default use-site target: property -> field
...
So #KT-23801 Fixed
2018-05-03 18:12:11 +03:00
Toshiaki Kameyama
012227dd73
Reformat MovePropertyToConstructorIntention
2018-05-03 18:11:23 +03:00
Toshiaki Kameyama
633679ac16
Preserve comments in "Remove variable" quick fix #KT-23753 Fixed
2018-05-03 18:09:22 +03:00
Toshiaki Kameyama
66d738848b
Convert foreach to for loop: place caret on the variable declaration
...
So #KT-7822 Fixed
2018-05-03 17:54:56 +03:00
Toshiaki Kameyama
3221fbdca9
Don't "Remove explicit type" for callable with function initializer
...
So #KT-12168 Fixed
2018-05-03 17:46:47 +03:00