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
Mikhail Glukhikh
6a1ddd6c70
Lambda to anonymous: report only from left brace to arrow
2018-05-16 13:01:38 +03:00
Mikhail Glukhikh
0f2879aa32
Rename: SOURCE_CODE_SHORT_NAMES_IN_TYPES -> *_SHORT_NAMES_NO_ANNOTATIONS
2018-05-16 13:01:37 +03:00
Mikhail Glukhikh
1ba99fde56
"lambda to anonymous": add tests for qualified types (KT-7710)
2018-05-16 13:01:37 +03:00
Mikhail Glukhikh
bd6fdb743c
Lambda to anonymous function: use callable builder (KT-7710)
2018-05-16 13:01:36 +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
8ef4b9a8e1
Don't show type hierarchy for elements without name
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
Mikhail Glukhikh
c61b5671c9
Fix testSuspend (protect it from flaky error about disabled coroutines)
2018-05-15 11:30:29 +03:00
Natalia Selezneva
4ee41d502a
Scratch: report errors at the correct line
...
^KT-24364 Fixed
2018-05-14 15:55:44 +03:00
Toshiaki Kameyama
a41064295b
"Convert to primary constructor": do not move init section down
...
So #KT-19629 Fixed
2018-05-11 17:36:40 +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
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
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
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
bed5a3c8f3
Scratch: find correct line to report error at
...
^KT-23480 Fixed
EA-117936 Fixed
2018-05-08 11:40: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
Mikhail Glukhikh
e76debb12b
Report UNUSED_PARAMETER in setter #KT-21129 Fixed
2018-05-04 18:04:57 +03: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
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
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
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
Natalia Selezneva
49a1788728
Update testData after switching on kotlin internal mode in tests
2018-05-03 11:32:52 +03:00
Alexander Udalov
712a796637
Fix MultiModuleHighlightingTestGenerated.testUseCorrectBuiltInsForCommonModule
...
Add dependency from a_jvm8 on stdlib. Otherwise, `getEmptyList` from
a_common was resolved to have an error return type
2018-05-02 16:56:54 +02: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
Nikolay Krasko
5216dfcc59
Add internal errors to test data in multi module tests
...
Tests started to fail after 82a21b3955 .
2018-04-28 22:24:39 +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
Nikolay Krasko
c83ff5e75f
Remove files introduced in 181 from 173 branch
2018-04-27 19:45:23 +03:00