Nikolay Krasko
8e31113a4f
Ident elvis with normal ident in Kotlin code style (KT-25008)
...
#KT-25008 Fixed
2018-06-22 19:19:13 +03:00
Nikolay Krasko
341e7746a2
Minor: deprecated canBeOverriden -> canBeOverridden
2018-06-22 19:19:13 +03:00
Nikolay Krasko
6d29e44d1a
Remove deprecated DirectClassInheritorsSearch.search call (KT-24933)
...
#KT-24933 Fixed
2018-06-22 19:19:13 +03:00
Nikolay Krasko
1973860e70
Indent content of when (KT-14066)
...
#KT-14066 Fixed
2018-06-22 19:19:12 +03:00
Nikolay Krasko
dc8a3ab534
Fix leak in debugger (KT-24903)
...
#KT-24903 Fixed
2018-06-22 19:19:12 +03:00
Nikolay Krasko
64f14ad89b
Reformat: debugger.stepping
2018-06-22 19:19:12 +03:00
Nikolay Krasko
36ced8a6a6
as32: Allow to override verifier checks
2018-06-22 18:56:24 +03:00
Yan Zhulanow
4aa7a95055
Android Extensions: Explicitly check if the Android plugin is enabled (EA-104651)
...
AndroidGradleOrderEnumerationHandler is defined in gradle.xml that doesn't depend on the Android plugin.
So we need to additionally check if the Android plugin is installed/enabled.
2018-06-22 17:48:13 +03:00
Simon Ogorodnik
e20ee0205a
Update bunches to include performanceTest config
2018-06-21 16:05:47 +03:00
Simon Ogorodnik
0ac32ae41b
Switch GC to ConcMarkSweep and add other options from IDEA defaults
2018-06-21 16:05:46 +03:00
Simon Ogorodnik
7531a103a3
Add options to use JFR
2018-06-21 16:05:45 +03:00
Denis Zharkov
3fcf2f9c0d
Minor. Move KOTLIN_SUSPEND_BUILT_IN_FUNCTION_FQ_NAME constant to 'core'
...
It will be used for deserialization of kotlin.suspend in the next commit
2018-06-21 16:02:13 +03:00
Toshiaki Kameyama
5a4cba7528
"To raw/ordinary string literal" intention: Move cursor to same offset after conversion #KT-18106 Fixed ( #1675 )
2018-06-21 15:56:18 +03:00
Juan Chen
cd91cffdeb
as32: Fine-tune exception handling in GooglePluginUpdateVerifier
2018-06-20 19:47:56 +03:00
Nikolay Krasko
bf890b46f3
Allow to leave decline reason empty but demand verifier name
2018-06-20 19:47:55 +03:00
Juan Chen
855c0a353c
as32: Improve plugin update verification messages
2018-06-20 19:47:55 +03:00
Juan Chen
6523d4e306
as32: Implementation for GooglePluginUpdateVerifier
2018-06-20 19:47:55 +03:00
Nikolay Krasko
34111e8944
Prototype verify extension and apply it for Kotlin updater in AS 3.2
2018-06-20 19:47:55 +03:00
Mikhail Glukhikh
e1d223937b
Optimize "replace toString() with string template"
...
Related to KT-13782
2018-06-20 17:18:18 +03:00
Mikhail Glukhikh
7a1cf5704e
MPP wizard: use more clear wording (KT-20554)
2018-06-20 17:18:18 +03:00
Mikhail Glukhikh
152327d69d
Fix erroneous full resolve cache filling
...
Before this commit, we could store partial resolve results in full
resolve cache (for some declarations, e.g. primary constructors).
This may be done iff current partial resolve mode provides all results
from full resolve mode (CFA results & diagnostics).
Otherwise we should not do it.
This fixes four quick-fix tests on CreateTypeParameter
So #KT-23860 Fixed
So #KT-22758 Fixed
2018-06-20 17:18:18 +03:00
Mikhail Glukhikh
40668e3f96
Partial cleanup of ResolveElementCache
2018-06-20 17:18:18 +03:00
Toshiaki Kameyama
096f9fefd1
"Remove redundant '.let' call" intention: handle it inside function call
...
So #KT-20583 Fixed
2018-06-20 17:18:17 +03:00
Toshiaki Kameyama
d4798b699f
Reformat: ReplaceSingleLineLetIntention
2018-06-20 17:18:17 +03:00
kenji tomita
817d75a47f
Introduce ReplaceToStringWithStringTemplateInspection #KT-13782 Fixed
2018-06-20 17:18:17 +03:00
Dmitry Petrov
f956e8d85d
Record special descriptor in REFERENCE_TARGET for type alias object
...
If a type alias is used to reference an object (companion object) as a
qualifier, record FakeCallableDescriptorForTypeAliasObject in
REFERENCE_TARGET. This tells IDE that type alias was used in the file,
thus, if it's imported, such import isn't redundant.
REFERENCE_TARGET is used mostly by IDE and by ClassifierUsageChecker,
which we also have to update to handle qualifiers with
FakeCallableDescriptorForTypeAliasObject in REFERENCE_TARGET.
Rewrite some parts of ClassifierUsageChecker for cleaner interaction.
#KT-21863 Fixed Target versions 1.2.40
2018-06-20 17:16:25 +03:00
Toshiaki Kameyama
6675d7814c
KT-14779 Inspection to replace String.format with string templates ( #1645 )
...
* Add inspection to replace String.format with string templates #KT-14779 Fixed
* KT-14779 Fixed
2018-06-20 16:23:04 +03:00
Toshiaki Kameyama
e41a34af88
KT-11850 Add nested lambdas with implicit parameters warning ( #1664 )
...
* Add `Nested lambda has shadowed implicit parameter` inspection #KT-11850 Fixed
* KT-11850 Fixed
2018-06-20 15:57:03 +03:00
Dmitry Savvinov
9c61f65c0f
Support internal compiler flags (-XX) in facets importing
2018-06-20 12:40:11 +03:00
Dmitry Savvinov
3fdfb49ac6
Minor: reformat and clean-up facetUtils.kt
2018-06-20 12:40:11 +03:00
Vyacheslav Gerasimov
fa56afca08
as31: Revert unintended changes in plugin.xml.as31
2018-06-19 21:35:26 +03:00
Vyacheslav Gerasimov
ea98a892d2
as31: Set until-build to 173.* instead of last AS 3.1 version (173.4301.25)
...
Was 173.4301.25 because of early builds of AS 3.2 which were 173 based
2018-06-19 21:05:58 +03:00
Max Medvedev
21ca06dace
KT-22333 Extract function: make name editor focused once again
2018-06-19 12:51:18 +03:00
Toshiaki Kameyama
1e31d24e9b
Add "Remove 'const'" quickfix for TYPE_CANT_BE_USED_FOR_CONST_VAL
...
So #KT-24815 Fixed
2018-06-19 12:48:13 +03:00
Toshiaki Kameyama
c344354395
Add quick-fix for 'is' absence in when #KT-18810 Fixed
2018-06-19 12:48:13 +03:00
Toshiaki Kameyama
2427406a8f
Add 'Change to val' quickfix for delegates without setValue
...
So #KT-13688 Fixed
2018-06-19 12:48:13 +03:00
Toshiaki Kameyama
3292137acb
"Convert lambda to anonymous function": Don't suggest in inline function
...
So #KT-24792 Fixed
2018-06-19 12:48:12 +03:00
Toshiaki Kameyama
fa58da85ee
Add indices: don't suggest if parameter is destructuring declaration
...
So #KT-22162 Fixed
2018-06-19 12:48:12 +03:00
Toshiaki Kameyama
752c576e20
Reformat: AddForLoopIndicesIntention
2018-06-19 12:48:12 +03:00
Toshiaki Kameyama
2669193755
Use "Move to companion" quick fix for CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT
...
So #KT-22871 Fixed
2018-06-19 12:48:12 +03:00
Toshiaki Kameyama
69d2e8898a
"Main should return Unit" inspection: extend on JUnit test methods
...
So #KT-24509 Fixed
2018-06-19 12:48:11 +03:00
Toshiaki Kameyama
b5e3db1811
Lambda to reference: fix false positive for parameter' class reference
...
So #KT-22041 Fixed
2018-06-19 12:48:11 +03:00
Toshiaki Kameyama
271cbc1dd3
Reformat: ConvertLambdaToReferenceIntention
2018-06-19 12:48:11 +03:00
Mikhail Glukhikh
b87dd07dd1
Redundant companion reference: minor refactoring
2018-06-19 12:48:11 +03:00
Toshiaki Kameyama
5ad98a139d
"Redundant Companion": Don't suggest if same callable name is in use
...
So #KT-24425 Fixed
2018-06-19 12:48:10 +03:00
Alexey Sedunov
a2435ff3b0
Configuration: Add default gradle repository to settings.gradle
...
#KT-24614 Fixed
2018-06-19 12:22:41 +03:00
Alexey Sedunov
70287ce974
Configuration: Use Android variant as source set name
...
#KT-24839 Fixed
2018-06-19 12:22:41 +03:00
Alexey Sedunov
9a3a7fbcca
Debugger: Dispose ExtractionData/ExtractionResult when necessary
...
This fixes memory leak due to extensive use of "Evaluate expression"
2018-06-19 12:22:41 +03:00
Alexey Sedunov
16dbc6fb4d
Extract Function: Forbid inappropriate declarations inside extractable fragment
...
#KT-20467 Fixed
#KT-20469 Fixed
2018-06-19 12:22:40 +03:00
Alexey Sedunov
f7cda61b08
Copy/Paste: Add imports for non-qualifiable callable references
...
#KT-23407 Fixed
2018-06-19 12:22:40 +03:00