Dmitry Gridin
8314dbffd5
ReplaceJavaStaticMethodWithKotlinAnalogInspection: introduce Transformation for extension with non-null arguments
2019-07-10 14:09:36 +03:00
Dmitry Gridin
8b8858b223
ReplaceJavaStaticMethodWithKotlinAnalogInspection: introduce Transformation for extension with non-null receiver
2019-07-10 14:09:36 +03:00
Dmitry Gridin
026949a758
ReplaceJavaStaticMethodWithKotlinAnalogInspection: remove non-implemented cases
2019-07-10 14:09:36 +03:00
Dmitry Gridin
3aa2401f19
ReplaceJavaStaticMethodWithKotlinAnalogInspection: introduce Transform interface
...
#KT-32454 Fixed
2019-07-10 14:09:36 +03:00
Dmitry Gridin
b2a60795da
ReplaceJavaStaticMethodWithKotlinAnalogInspection: add more cases for Arrays
...
#KT-32512 Fixed
#KT-30124 Fixed
2019-07-10 14:09:35 +03:00
Dmitry Gridin
24caca1882
ReplaceJavaStaticMethodWithKotlinAnalogInspection: fix false positive for 'Arrays.copyOf'
...
#KT-32477
2019-07-10 14:09:35 +03:00
Ilya Kirillov
f0dd21790a
New J2K: add plain text copy-paste conversion test for new J2K
2019-07-10 13:18:36 +03:00
Dmitry Gridin
fda5692fc6
RemoveCurlyBracesFromTemplateInspection: add heuristic to change severity
...
Change severity to INFORMATION if a variable hasn't whitespace around & add an option to return the old behavior
#KT-31717 Fixed
2019-07-10 10:28:45 +03:00
Natalia Selezneva
bd0f947222
Refactor script reports: introduce getter, check that report are changed inside attach method
2019-07-10 10:10:21 +03:00
Andrey Uskov
c98ad923bd
Import list of pure kotlin source roots from gradle
...
in facet settings for inspections
#KT-32300 Fixed
2019-07-09 20:12:55 +03:00
Toshiaki Kameyama
2ca0056cd0
ReplaceGuardClause inspection: check contracts availability
2019-07-08 16:36:19 +03:00
Toshiaki Kameyama
8cbcb66197
ReplaceGuardClause inspection: don't report when argument is not String
2019-07-08 16:36:18 +03:00
Toshiaki Kameyama
90b0ea73dc
Add inspection for check/require/checkNotNull/requireNotNull
...
#KT-30640 Fixed
#KT-22412 Fixed
2019-07-08 16:36:18 +03:00
Toshiaki Kameyama
64780293d3
"Redundant visibility modifier" inspection: don't report for property getter
...
#KT-32347 Fixed
2019-07-08 16:14:35 +03:00
Yan Zhulanow
36e1149e51
Light classes: Fix getTextOffset() and getTextRange() for property accessors
...
Before this commit, getTextOffset() and getTextRange() coming from the super class, returned numbers for the property, not for its accessor. This commit fixes the inconsistency.
2019-07-08 16:25:20 +09:00
Yan Zhulanow
7078302e6c
Light classes: Fix getTextOffset() for identifiers
...
Before this commit, getTextOffset() and getTextRange() implementations were inconsistent.
2019-07-08 16:25:19 +09:00
Yan Zhulanow
0f4085066f
Debugger: Do not assume we are inside the class body when in '}' (KT-15259)
2019-07-08 16:25:19 +09:00
Yan Zhulanow
d45bbaabcd
Debugger: Fix missing NOPs in optimized Unit.INSTANCE calls (KT-31702)
2019-07-08 16:25:19 +09:00
Yan Zhulanow
9760c156a4
Debugger: Fix breakpoints on if/loops with constant conditions (KT-14421)
2019-07-08 16:25:18 +09:00
Yan Zhulanow
188ed82081
Debugger: Handle closure receivers came from outer callables properly (KT-31709)
2019-07-08 16:25:17 +09:00
Yan Zhulanow
4fe6431b0f
Debugger: Disable value rendering in watches by default (KT-19084)
2019-07-08 16:25:16 +09:00
Yan Zhulanow
54f78a2920
Debugger: Remove debugger-related hacks in resolution
...
Candidate ordering should be the same in ordinary Kotlin code and in evaluated expressions.
With the invention of 'foo_field' syntax, there is no need to do these nasty things any more.
2019-07-08 16:25:16 +09:00
Yan Zhulanow
b4f515a436
Debugger: Support Kotlin variables for inlined lambdas inside inline functions (KT-31418)
2019-07-08 16:25:16 +09:00
Yan Zhulanow
afa0bec6f6
Debugger: Change the inline depth calculation heuristics, fix debugging for inlined lambdas (KT-30919)
2019-07-08 16:25:16 +09:00
Yan Zhulanow
5777592024
Debugger: Support captured values (KT-30740)
2019-07-08 16:25:15 +09:00
Toshiaki Kameyama
1f89c0f730
"Convert to sealed class" intention: don't suggest when no "class" keyword
...
#KT-32365 Fixed
2019-07-05 19:28:02 +07:00
Toshiaki Kameyama
9786564d75
"Remove argument name" intention: remove array literal brackets for annotation vararg argument
...
#KT-32318 Fixed
2019-07-05 19:18:40 +07:00
Toshiaki Kameyama
9f6e88d571
Formatter: format around safe cast operator as? (KT-32324)
...
#KT-32324 Fixed
2019-07-05 12:57:48 +03:00
Dmitry Gridin
f9b53da0fa
Attempt to fix some inspection tests
2019-07-05 13:02:52 +07:00
Andrey Uskov
9fc60be9d8
Fix serialization of facet settings in order to read properly
...
settings of native platforms
2019-07-02 22:46:47 +03:00
Andrey Uskov
404ce1a8c1
Facet serialization changed in order to keep compatibility with previous
...
versions of Kotlin plugin
2019-07-02 22:46:46 +03:00
Andrey Uskov
e791b9d3f7
HMPP: import flag indicating that the project uses HMPP feature
2019-07-02 22:40:19 +03:00
Nikolay Krasko
f605d4e73b
Revise per module out-of-code-block (KT-32364)
2019-07-02 13:59:35 +03:00
Nikolay Krasko
263d8eea16
Use Kotlin oocb instead of platform oocb tracker (KT-32364)
2019-07-02 13:59:06 +03:00
Nikolay Krasko
26c7eddb03
Move trackers to caches.trackers package
2019-07-02 13:45:35 +03:00
Dmitry Gridin
9316f45a5c
Optimize Imports: improve tooltip information
...
#KT-21374 Fixed
2019-07-02 11:54:38 +07:00
Dmitry Gridin
074829bcea
Import: IDE should import class from root package
...
#KT-21422 Fixed
2019-07-02 11:54:38 +07:00
Dmitry Gridin
148eed2a12
ShortenReferences: fix false negative for object call chain
...
#KT-32320 Fixed
2019-07-02 11:54:38 +07:00
Dmitry Gridin
33914a3a94
ImportMemberIntention: make more flexible based on caret position
...
#KT-31924 Fixed
2019-07-02 11:54:38 +07:00
Natalia Selezneva
da86ef8454
Fix tests for long command line: create folder instead of file
...
Compiler doesn't allow files as classpath roots
2019-07-01 16:41:56 +03:00
Natalia Selezneva
85f07927c9
Minor: check output with errors in scratch tests
2019-07-01 16:41:55 +03:00
Mikhail Zarechenskiy
c2cf4aa2b5
[NI] Move ability to convert standalone SAM-argument under the feature
...
If new inference is enabled only for IDE analysis, then this feature
will be disabled to reduce difference between new and old inference,
but if new inference is enabled in the compiler, then this feature
will be enabled too to preserve behavior of new inference for
compilation
#KT-32175 Fixed
#KT-32143 Fixed
#KT-32123 Fixed
#KT-32230 Fixed
2019-07-01 12:53:33 +03:00
Toshiaki Kameyama
c442d69db6
Extend selection: select just KDoc if cursor is just before the KDoc (KT-16476)
...
#KT-16476 Fixed
2019-06-29 20:36:55 +03:00
Toshiaki Kameyama
8afa938723
Extend selection: select escaped identifier name without backticks (KT-31499)
...
#KT-31499 Fixed
2019-06-29 20:36:55 +03:00
Toshiaki Kameyama
9b04af9968
Complete statment for function call: fix wrong right parenthesis place (KT-31595)
...
#KT-31595 Fixed
2019-06-29 20:36:55 +03:00
Toshiaki Kameyama
ade51588f9
Insert paired brackets: insert space after right brace of nested lambda (KT-28098)
...
#KT-28098 Fixed
2019-06-29 20:36:54 +03:00
Igor Yakovlev
a1462407f9
Avoid to change singleton test project descriptor
...
#KT-32276
2019-06-27 16:01:50 +03:00
Toshiaki Kameyama
fb94cb141f
Add "Add constructor parameter" quick fix for NO_VALUE_FOR_PARAMETER
...
#KT-27353 Fixed
2019-06-27 19:19:25 +07:00
Igor Yakovlev
8b40005b0c
UL classes flaky tests partially fix
...
#KT-32276 - Reduce affected tests count from 117 cases to 2 cases
2019-06-27 12:46:02 +03:00
Ilya Kirillov
98be5d8ed0
New J2K: add copy-paste tests for new j2k
2019-06-26 18:36:05 +03:00