Alexey Sedunov
eb14625851
Configuration: Detect platform of libraries added via maven artifact ids
...
#KT-20511 Fixed
2018-05-18 12:09:39 +03:00
Nikolay Krasko
3ef67e1d9d
Inspection for highlighting problem API usage
...
It's planned to use this inspection for show patchset branches problems
during development process.
2018-05-17 12:27:29 +03:00
Nikolay Krasko
0acb7d8200
Minor: reformat files
2018-05-17 12:27:28 +03:00
Alexander Udalov
1b15619457
Move BinaryVersion to metadata, JVM versions to metadata.jvm
...
To be used in kotlinx-metadata
2018-05-16 17:16:22 +02:00
Mikhail Glukhikh
6a1ddd6c70
Lambda to anonymous: report only from left brace to arrow
2018-05-16 13:01:38 +03:00
Mikhail Glukhikh
1ba99fde56
"lambda to anonymous": add tests for qualified types (KT-7710)
2018-05-16 13:01:37 +03:00
Toshiaki Kameyama
8a20d1bf01
Add intention to convert lambda to anonymous function #KT-7710 Fixed
2018-05-16 13:01:36 +03:00
Nikolay Krasko
062a212b61
Don't build light classes for local classes with parse errors (KT-24323, EA-107235)
...
Also use checks for building light classes in `getLightClassDataHolder`.
2018-05-16 12:55:09 +03:00
Mon_chi
c49eaf2604
Fix hint text for replace with operator assignment #KT-23559 Fixed
2018-05-15 13:26:23 +03:00
Mikhail Glukhikh
8c3e787584
Convert KFunction to Function in type mismatch fixes #KT-16770 Fixed
2018-05-15 13:22:48 +03:00
Nicolay Mitropolsky
31b21a7bc8
182: compilation fix due to quickFixActionMarkers made nullble
2018-05-14 15:05:03 +03:00
Mikhail Glukhikh
9a1253c5c7
Specify type explicitly: suggest also types from overridden
...
So #KT-22092 Fixed
2018-05-11 17:36:38 +03:00
Mikhail Glukhikh
13be7803bb
Introduce "redundant async" inspection #KT-24235 Fixed
2018-05-11 17:36:35 +03:00
Toshiaki Kameyama
449943da01
"Merge with next when": made applicable when delimited by ';' or comment
...
So #KT-12042 Fixed
2018-05-11 16:37:36 +03:00
Toshiaki Kameyama
4ee9db7a6c
Use property access: suppress for reserved words #KT-23775 Fixed
2018-05-11 16:32:44 +03:00
Alexey Sedunov
a5a13b74f5
Create from Usage: Support smart casts on explicit receivers
...
#KT-24069 Fixed
2018-05-11 16:05:20 +03:00
Alexey Sedunov
a92a4a2a6d
Add Parameter Fix: Support smart casts
...
#KT-24207 Fixed
2018-05-11 16:05:19 +03:00
Alexey Sedunov
a4a10c7ba4
Create from Usage: Fix generation of extensions with nullable receiver
...
#KT-23796 Fixed
2018-05-11 16:05:19 +03:00
Alexey Sedunov
4e3c1e9f56
Rename: Do not search text occurrences of local declarations
...
#KT-23838 Fixed
2018-05-11 16:05:19 +03:00
Natalia Selezneva
d422eb6833
Add a delay to reload script dependencies
...
^KT-23616
2018-05-11 15:51:24 +03:00
Natalia Selezneva
97848f2812
Minor: reformat
2018-05-11 15:51:09 +03:00
Nikolay Krasko
c9f31099f2
Fix binary compatibility issue after moving ModuleTestSourceInfo
...
Compatibility check revealed problem in truth-postfix-plugin.
https://github.com/droibit/truth-postfix-plugin/blob/b06adbf4e6563672da75b112b1bc7f1fc511a848/plugin/src/main/kotlin/com/github/droibit/plugin/truth/postfix/utils/TemplateUtils.kt
2018-05-11 12:00:43 +03:00
Nikolay Krasko
4e26b04bb2
Remove unneeded files after move to 181 from 173
2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov
4adc0a94ab
as32: Update to 181 platform api
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
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
Toshiaki Kameyama
3aab68d635
Add "Make variable immutable" quickfix for const #KT-24263 Fixed
2018-05-08 18:37:10 +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
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
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
db2bcff390
Restore scratch options after IDE restart
...
^KT-23441 Fixed
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
47bafb8c75
Regenerate IntentionTestGenerated
2018-05-08 09:10:51 +03:00
Toshiaki Kameyama
534cbae4ef
KT-14391 RemoveUnnecessaryParenthesesIntention lost comment
...
on closing parenthesis
^KT-14391 Fixed
2018-05-07 12:40: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
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
633679ac16
Preserve comments in "Remove variable" quick fix #KT-23753 Fixed
2018-05-03 18:09:22 +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
Toshiaki Kameyama
5204c73bec
Quick-fix "use spread operator": make working with mapOf #KT-14556 Fixed
2018-05-03 17:11:33 +03:00
Toshiaki Kameyama
a7110a1517
Add intention to indent a raw string #KT-9943 Fixed
2018-05-03 17:05:14 +03:00
Mikhail Glukhikh
e07f83ddbc
"Redundant Unit" inspection: new tests, simplification & fixes
...
Related to KT-23977 and KT-24066
2018-05-03 16:12:20 +03:00
Toshiaki Kameyama
6e150d27f1
"Redundant Unit" inspection: fix for Unit returned as Any
...
So #KT-24066 Fixed
2018-05-03 16:12:19 +03:00
Toshiaki Kameyama
c44cab4565
"Redundant Unit" inspection: Fix for labeled return #KT-23977 Fixed
2018-05-03 16:12:19 +03:00
Nicolay Mitropolsky
efd743284e
CommonIntentionActionsTest.testRemoveConstructorParameters test fix for 181, 182, as32
2018-04-29 11:48:28 +03:00
Nikolay Krasko
398795b832
Fix AddRequireModuleTest in 181
...
- Application is null before setUp call in individual run
- Inline "module.info.add.requires.family.name" as 181 has other constant
- isScriptDependenciesUpdaterDisabled call seems to be useless
2018-04-28 22:27:35 +03:00
Nikolay Krasko
af930b8364
Review and fix raw string quotes inserting and remove (KT-2582)
...
- Add more tests
- Fix inserting close quotes after multiline string in file end
- Use parent instead of parentOfType where possible
- Add bunch files
#KT-2582 Fixed
2018-04-28 22:27:34 +03:00
Steven Spungin
8252b35ed5
Add support for closing and deleting raw strings (KT-2582)
...
#KT-2582 Fixed
2018-04-28 22:27:34 +03:00
Toshiaki Kameyama
89981ecbbb
Lift Assignment: process lambda assignments in when correctly
...
So #KT-23346 Fixed
2018-04-28 18:44:29 +03:00