Nicolay Mitropolsky
46ff4f2bbf
182: KotlinElementActionsFactory: "value"-parameters in generated java-annotations is putted without explicit parameter name #KT-23644
2018-04-18 21:17:24 +03:00
Mikhail Glukhikh
de0cbf5844
Join parameter/argument list: use document to delete whitespaces
...
Otherwise fix has no effect in IDE. Related to KT-23266
2018-04-18 20:45:31 +03:00
Toshiaki Kameyama
03902030ed
Add intentions to put arguments / parameters on one line #KT-23266 Fixed
2018-04-18 20:45:31 +03:00
Toshiaki Kameyama
3992f0215c
"map.put() to assignment": handle case with labeled return inside
...
So #KT-23194 Fixed
2018-04-18 18:50:15 +03:00
Mikhail Glukhikh
77f62f1666
Move to separate file: minor optimization, related to KT-23321
2018-04-18 18:41:24 +03:00
Toshiaki Kameyama
a8d0e8995d
Don't suggest to move type to separate file for sealed classes
...
So #KT-23321 Fixed
2018-04-18 18:41:23 +03:00
Vyacheslav Gerasimov
02578bc378
Add dependency on com.intellij.modules.androidstudio to AS 3.1 & 3.2 plugin.xml
2018-04-18 18:31:39 +03:00
Vyacheslav Gerasimov
8f1defa267
Fix plugin.xml formatting
2018-04-18 18:25:42 +03:00
Nicolay Mitropolsky
0aa236d1ac
182: KotlinElementActionsFactory.createAddFieldActions no more generates private @JvmField and lateinit @JvmField
2018-04-18 17:41:35 +03:00
Mikhail Glukhikh
ef3ba5f0b1
Test local inspections on the fly via highlighting
...
Fixes problem with INFORMATION highlight type in batch mode (IDEA 181).
It's no more required to report INFORMATIONs in unit tests in batch.
2018-04-18 16:14:43 +03:00
Mikhail Glukhikh
b6661710dd
Use expression body: reformat
2018-04-18 16:14:08 +03:00
Mikhail Glukhikh
28fe30c70d
Use expression body: extend range if default level is INFORMATION
...
So #KT-23167 Fixed
2018-04-18 16:13:54 +03:00
Nikolay Krasko
f62e0dc5f7
Use com.intellij.modules.idea as dependency to forbid install in AS
...
`com.intellij.modules.idea` was introduced in 182 to distinguish
AS and IDEA installation (IDEA-187502).
Dependency should be removed in CLion and AppCode installation.
2018-04-18 15:49:41 +03:00
Nikolay Krasko
78a5fa766f
Remove com.intellij.modules.remoteServers dependency from AS 3.2
...
Otherwise plugin won't be compatible with AS.
2018-04-18 15:49:40 +03:00
Nikolay Krasko
c4917d6d1c
Use only hard dependency to java module and use include for jvm.xml (KT-23638)
...
Trick with both optional/non-optional dependency doesn't work in IDEA,
as it doesn't do an additional check optional dependency is found.
See com.intellij.ide.plugins.PluginManagerCore#checkDependants(
IdeaPluginDescriptor, Function<PluginId, IdeaPluginDescriptor>,
Condition<PluginId>, Set<PluginId>)
#KT-23638 Fixed
2018-04-18 15:49:40 +03:00
Alexey Sedunov
03cca448d3
Misc: Make test superclass abstract
2018-04-18 14:37:23 +03:00
Nikolay Krasko
349f16aa64
Fix AbstractScratchRunActionTest.kt and remove usages of projectDisposable
2018-04-18 13:59:36 +03:00
Toshiaki Kameyama
ff63ba4dc1
Add inspection: redundant internal in local anonymous object / class
...
So #KT-23617 Fixed
2018-04-18 11:17:52 +03:00
Mikhail Glukhikh
1d3ba5641d
"Main should return Unit": report on identifier, delete block body type
2018-04-18 11:16:03 +03:00
Toshiaki Kameyama
1cd438c3f7
Add inspection "main should return Unit" #KT-16085 Fixed
2018-04-18 10:59:23 +03:00
Alexey Sedunov
3f147aabb0
Misc: Extract AbstractConfigureKotlinInTempDirTest superclass (181/AS32)
2018-04-17 20:38:00 +03:00
Alexey Sedunov
183559dcfa
Misc: Extract AbstractConfigureKotlinInTempDirTest superclass
...
This avoids duplicating runs of ConfigureKotlinInTempDirTest
2018-04-17 17:46:50 +03:00
Pavel V. Talanov
33a312c26d
Do not throw when trying to resolve java outside project model
...
#KT-23444 Fixed
#KT-22825 Fixed
2018-04-17 16:19:49 +02:00
Juan Chen
b7fa06cca4
Add "Convert Java to Kotlin" to ProjectViewPopupMenu and
...
EditorTabPopupMenu.
2018-04-17 15:36:55 +03:00
Alexey Sedunov
01b0518a61
Gradle Support: Declare 'gradleFrameworkSupport' extension point
...
This fixes exception in the New Project wizard (IDEA 172)
#KT-23835 Fixed
2018-04-17 13:37:52 +03:00
Alexey Sedunov
e58f8763fe
Minor: Fix NPE in tests which doesn't use facets
2018-04-16 16:14:01 +03:00
Nikolay Krasko
ecd2db3b48
Remove bunch files that are equal to base files
2018-04-16 15:55:53 +03:00
Vyacheslav Gerasimov
b06e644753
as32: Fix tests compilation for AS 3.2 C10
2018-04-16 15:48:12 +03:00
Nikolay Krasko
1fb2b40684
Fix 182 branch after QueryExecutor and subclasses update
...
Parameter taking Processor<T> were replaced with Processor<? super T>.
https://github.com/JetBrains/intellij-community/commit/aaed1ccb910f6f4a9ea2f96894d99b6e35a59ef9
https://github.com/JetBrains/intellij-community/commit/c6b40a53ee5b2a0807c55adafb59edb453090915
Instead of updating all usages, use ExecutorProcessor to avoid
different source code for different IDEAs.
2018-04-14 15:29:38 +03:00
Vyacheslav Gerasimov
879c7f3837
as32: Revert KotlinCallerChooser to 173 state
2018-04-13 21:33:17 +03:00
Vyacheslav Gerasimov
76cbdf08aa
as32: Update AndroidResourceReferenceAnnotator to AS 3.2 C10
2018-04-13 21:33:15 +03:00
Vyacheslav Gerasimov
4299455dc1
as32: Update to AS 3.2 C10
2018-04-13 21:33:03 +03:00
Alexey Sedunov
0647ffca36
MPP: Show error popups for module names in the New Kotlin/Multiplatform wizard
...
#KT-23261 Fixed
2018-04-13 20:23:08 +03:00
Alexey Sedunov
e51b6927b6
Refactor: Introduce JTextComponent.onTextChange() function
2018-04-13 20:23:07 +03:00
Alexey Sedunov
62f654b3d2
Introduce Variable: Avoid explicit types for expression of anonymous type
...
#KT-12078 Fixed
2018-04-13 20:23:07 +03:00
Alexey Sedunov
c7e72af170
Override/Implement Members: Copy @Experimental-annotated annotations
...
#KT-22922 Fixed
2018-04-13 20:23:06 +03:00
Alexey Sedunov
c1d8ba9c2b
Parameter Info: Do not render nullability annotations
...
#KT-23408 Fixed
2018-04-13 20:23:06 +03:00
Alexey Sedunov
e5b915661a
Rename: Do not suggest camel names for backquoted non-identifiers
...
#KT-22888 Fixed
2018-04-13 20:23:05 +03:00
Alexey Sedunov
ea66e1e3f7
Copy: Fix exception on copying KtFile to non-KtFile
...
#KT-22669 Fixed
2018-04-13 20:23:05 +03:00
Alexey Sedunov
bf106d01b8
Find Usages: Restrict search scope of private top-level declarations
...
#KT-7622 Fixed
2018-04-13 20:23:04 +03:00
Mikhail Glukhikh
c172810d1d
Simplify boolean with constants optimization: use partial analysis
2018-04-13 19:11:55 +03:00
Toshiaki Kameyama
90be6235f7
Expand Selection on opening curly brace should select the entire block right away #KT-18769 Fixed
2018-04-13 13:23:42 +03:00
Nikolay Krasko
2227d205c7
Bunch: update "MoveLambdaOutsideParentheses: intention -> inspection"
...
decf9939fe
2018-04-13 10:45:32 +03:00
Nikolay Krasko
0253fe7c16
Bunch: update after "Wire StorageManager into a ..."
...
934c56a4da
2018-04-13 10:45:28 +03:00
Nikolay Krasko
579b773388
172: Remove 172 specific from psiModificationUtils.kt and KtPsiFactory.kt
2018-04-12 19:29:01 +03:00
Nikolay Krasko
2260f66e02
Unify usage of ProgressManager.progressIndicator
2018-04-12 19:29:01 +03:00
Ilya Gorbunov
136e6b64f2
In tests use stdlib sources from jar rather than from original locations
2018-04-12 17:53:00 +03:00
Mikhail Zarechenskiy
cfc940af66
Avoid deprecated access by short name though companion object
2018-04-12 17:35:07 +03:00
Raluca Sauciuc
89d61ee12d
Support androidx packages
...
... in the IDE plugin and the Android extensions compiler.
Change-Id: Iffd58351b0592e12ffc937c06d871d26958fe161
2018-04-12 16:29:13 +03:00
Dmitry Savvinov
934c56a4da
Wire StorageManager into a ClassTypeConstructorImpl and ClassDescriptorImpl
2018-04-12 13:44:10 +03:00