Leonid Startsev
340deb01dd
Add 'Incorrect Transient' diagnostic
...
when users write @Transient, they get @kotlin.jvm.Transient, because it's always in auto-import.
This annotation does not work with @Serializable classes; @kotlinx.serialization.Transient should be used instead.
Add quickfix for 'incorrect transient' diagnostic:
'Import kotlinx.serialization.Transient'
2020-07-08 20:17:11 +03:00
Toshiaki Kameyama
d2deff4864
Add "Replace with 'equals(..., ignoreCase = true)'" inspection
...
#KT-40016 Fixed
2020-07-08 12:38:30 +02:00
Roman Golyshev
75de352ce2
KT-39869 Add ObsoleteKotlinJsPackagesInspection inspection
...
- This inspection allows to migrate from `kotlin.dom|kotlin.browser`
to `kotlinx.dom|kotlinx.browser` packages respectively
- This inspection is available from the import statements, and also
from the `Run migrations` action
- ^KT-39869 Fixed
2020-07-06 18:04:00 +00:00
Vladimir Krivosheev
75b1cf8a23
Explicitly specify id of KotlinNonJvmSourceRootConverterProvider
...
IDEA 2020.3 uses `id` from extension definition to avoid creating instance of converter without need.
2020-07-04 15:38:15 +02:00
Nikolay Krasko
21fa2bf98c
Switch to 201 platform
2020-06-30 19:53:18 +03:00
kvirolainen
5b1d019bb0
Added Incomplete destructuring inspection
...
#KT-21223 Fixed
2020-06-30 11:47:27 +02:00
Toshiaki Kameyama
9308525d93
Add receiver of kotlin.text.toPattern to standard Kotlin injections
...
#KT-39231 Fixed
2020-06-30 14:26:37 +07:00
Egor Zhdan
09a111239e
Stabilize ProjectTaskRunner registration order
2020-06-29 23:11:54 +02:00
Raluca Sauciuc
9c8904f165
Restore KotlinExplicitMovementProvider in as40
2020-06-25 15:06:27 +02:00
pavlospt
597bc061e2
Add Kotlin Data Class, Sealed Class and Annotation file templates
...
#KT-20775 Fixed
2020-06-24 16:25:51 +02:00
Yaroslav Chernyshev
c638043aee
[Gradle, CocoaPods] Improved CocoaPods Integration features with tests
2020-06-19 18:36:46 +03:00
Sergey Rostov
9f4569e5a1
gradle scripts: custom notification wording gradle with default scripting support (gradle older then 6.0)
2020-06-19 16:37:59 +03:00
Natalia Selezneva
d119298232
Add registry key to hide new Load Script Configurations action
2020-06-19 15:43:07 +03:00
Ilya Kirillov
bfedeed2c1
Wizard: use new icons in UI
2020-06-19 09:29:40 +03:00
Sergey Rostov
3d86e92bf5
gradle.kts standalone scripts: show actions inside single notification
2020-06-17 14:30:18 +03:00
Sergey Rostov
cc95c16ac2
minor: rename GradleScriptNotificationProvider
2020-06-17 14:30:18 +03:00
Sergey Rostov
ce20196006
GradleScriptConfigurationsImportingFeature
2020-06-17 14:30:17 +03:00
Sergey Rostov
463908f6f4
scriptConfigurationsNeedToBeUpdatedBalloon registry key
2020-06-17 14:30:17 +03:00
Sergey Rostov
5ed7abd15d
scripting: drop ManualConfigurationLoading and kotlin.gradle.scripts.useIdeaProjectImport registry flag
2020-06-17 14:30:15 +03:00
Ilya Chernikov
a292eb865b
Add script definition for extension scripts and...
...
IDE consoles.
2020-06-17 09:37:24 +02:00
Dmitry Gridin
7a58a59114
Implement EnterBetweenBracesAndBracketsNoCommitDelegate
...
Part of #KT-22211
Part of #KT-39353
2020-06-15 16:25:54 +07:00
Dmitry Gridin
9d98240272
Create KotlinLineIndentProvider and delegate it to formatter
...
#KT-22211
2020-06-15 16:24:31 +07:00
Konstantin Tskhovrebov
39e1f03cd1
Fix for 192: enable native run gutters only if gradle plugin exists.
...
Fixed #KT-39465
2020-06-10 15:58:45 +03:00
Nikolay Krasko
974e01ec70
Fix bunch files after moving plugin.xml
2020-06-10 13:01:20 +03:00
Ilya Kirillov
7ac48f441d
FIR IDE: remove enabled/disable FirResolution by registry
...
This separation is made based on plugins now
2020-06-09 16:20:07 +03:00
Ilya Kirillov
ba7e953760
FIR IDE: Introduce plugin.xml for fir ide
2020-06-09 16:19:45 +03:00
Ilya Kirillov
72175fc40e
Fix idea.xml
2020-06-09 16:19:45 +03:00
Ilya Kirillov
a4f8c6734c
FIR IDE: Introduce ide-frontend-independent.xml extensions
2020-06-09 16:19:43 +03:00
Ilya Kirillov
66d44162e9
FIR IDE: Move common caches related stuff from plugin-common.xml to caches.xml
2020-06-09 16:19:42 +03:00
Ilya Kirillov
3ca317e0ce
FIR IDE: Split resources to three folders which is needed for FIR plugin
...
The "resources" is common for both plugins,
while resources-descriptors & resources-fir belongs
to corresponding plugins
2020-06-09 16:19:39 +03:00
Ilya Kirillov
2290c32a83
FIR IDE: Move idea related stuff from plugin-common.xml to idea.xml
2020-06-09 16:19:33 +03:00
Ilya Kirillov
3e25375013
FIR IDE: Move jps related stuff from plugin-common.xml to jps.xml
2020-06-09 16:19:32 +03:00
Ilya Kirillov
2c0e14ba92
FIR IDE: Move index related stuff from plugin-common.xml to indexes.xml
2020-06-09 16:19:32 +03:00
Ilya Kirillov
e06f297499
FIR IDE: Move inspections from plugin-common.xml to inspections.xml
2020-06-09 16:19:31 +03:00
Ilya Kirillov
418903e9ef
FIR IDE: Make KtReference class descriptors frontend independent
...
* The new idea-frontend-independent module created
* Moved KtReference and it inheritors to that module & implement them in idea-analysis module by using descriptors frontend
2020-06-09 16:19:12 +03:00
Andrei Klunnyi
a3c881da59
KT-38027 Support Code Vision feature in Kotlin // experimental status
...
Feature received "experimental" status due to the low performance.
The root cause is slow find-usages functionality the feature is based
on. Once the later is improved Code-Vision should be revisited.
Previous commit of KT-38027 series contains production ready state.
To launch performance check again one needs to enable Code Vision in
AbstractPerformanceProjectsTest.setUp() with the following fun:
private fun enabledCodeVision() {
val codeVisionProvider = KotlinCodeVisionProvider()
val settings = codeVisionProvider.createSettings().apply {
showUsages = true
showInheritors = true
}
InlayHintsSettings.instance().storeSettings(codeVisionProvider.key,
KotlinLanguage.INSTANCE, settings)
}
2020-06-05 19:15:38 +02:00
Andrei Klunnyi
b08f501aac
KT-38027 Support Code Vision feature in Kotlin
2020-06-05 19:15:34 +02:00
Pavel Kirpichenkov
8ca5d3b6f9
Update library to source analysis mode configuration
...
Persist analysis flag in the same xml where anchor mapping reside instead
of using properties. This makes it possible to save config in VCS.
#KT-24309 In Progress
2020-06-05 11:14:02 +03:00
Pavel Kirpichenkov
7fff8f82e2
Changes after review
...
- Replace leaking ModuleResolverTracker with use of ModuleDescriptor.Capabilies
- Provide API for retrieving ResolverForProject from ResolutionFacade
- Update names
2020-06-03 20:58:07 +03:00
Pavel Kirpichenkov
db1210fc67
Introduce components for library-to-source resolution in IDE
...
#KT-24309 In progress
2020-06-03 20:58:07 +03:00
Igor Yakovlev
ebae6332aa
Fix invalid resources placement
...
For ExpandBooleanExpressionIntention and RedundantAsSequence intention
2020-06-03 14:02:58 +03:00
Toshiaki Kameyama
343af60cb4
Add intention to expand boolean expression
...
#KT-38597 Fixed
2020-06-02 23:52:06 +03:00
Toshiaki Kameyama
afd544cbab
Introduce "Redundant 'asSequence' call" inspections
...
#KT-35893 Fixed
2020-06-02 22:17:54 +03:00
Konstantin Tskhovrebov
08438dade2
Add project resolver for adding commonizer gradle task to IDEA import
2020-06-02 11:03:51 +03:00
Yunir Salimzyanov
3b9000cc0c
Cleanup 191 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Yunir Salimzyanov
7ab7ca5ff0
Cleanup as35 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Vyacheslav Karpukhin
7b55a49ddd
Dependency on IDEA replaced with AS incompatibility
2020-05-28 19:29:22 +02:00
Vyacheslav Gerasimov
af2dce0549
as41: Build against AS 4.1 C10
2020-05-27 18:46:57 +03:00
Sergey Rostov
53983a99e5
Fix order of ExternalSystemListeners
2020-05-26 19:22:07 +03:00
Sergey Rostov
037ea224a4
GradleBuildRoot: don't store references to virtual files
2020-05-26 19:22:06 +03:00