Commit Graph

726 Commits

Author SHA1 Message Date
Nikolay Krasko 080407e8e6 Separate versions for 192 and 193 plugins (KT-34191)
#KT-34191 Fixed
2019-10-07 15:00:05 +03:00
Dmitry Savvinov 249e5da53b Add internal action to toggle analysis mode
^KT-32562 Fixed
2019-10-02 16:52:39 +03:00
Nikolay Krasko 343502125b Rename ResolveInWriteActionManager -> ResolveInDispatchThreadManager 2019-10-02 15:58:44 +03:00
Sergey Rostov 46f8feaf98 build.gradle.kts: collect statistics about auto reload 2019-09-30 09:44:52 +03:00
Anton Yalyshev 21b7d873e7 Move build system and targets statistics collection from StartupActivity to FUS State Collector 2019-09-27 20:06:53 +03:00
Vladimir Dolzhenko a98c610958 Fix KotlinCodeStyleSettings and IDEKotlinBinaryClassCache.kt 191 compilation 2019-09-24 22:01:05 +02:00
Vladimir Dolzhenko 6f739db3b1 Fixed KotlinCodeInsightWorkspaceSettings plugin service description for 193 2019-09-24 16:42:58 +02:00
Igor Yakovlev 1deba19e1c Refactoring NoArg compiler plugin
Remove NoArgClassKey relation betwen AbstractNoArgDeclarationChecker and NoArgExpressionCodegenExtension
Separate NoArgExpressionCodegenExtension to Ide and Cli versions
2019-09-23 17:07:33 +03:00
Vladimir Dolzhenko 027c60080b Added KotlinCodeInsightWorkspaceSettings in place of sharing kotlin settings with java CodeInsightSettings 2019-09-23 16:05:11 +02:00
Toshiaki Kameyama 245b2aecb3 "Replace guard clause with kotlin's function call" inspection : decrease severity to INFORMATION
#KT-33235 Fixed
2019-09-23 11:36:14 +03:00
Anton Yalyshev dfde3b4076 Rename collector of debugger events 2019-09-18 10:06:45 +03:00
Igor Yakovlev 27accbb089 Fix KotlinLintTestGenerated.testParcel + extensions registrations fixes 2019-09-13 19:40:31 +03:00
Igor Yakovlev 2b7dee6f8d Add CodegenApplicabilityCheckerExtension and use it to fallback to Heavy LigthClasses
+ Fixed #KT-33584
2019-09-11 15:29:12 +03:00
Nikolay Krasko edb700b898 Switch to 192 platform 2019-09-06 11:28:25 +03:00
Natalia Selezneva fb01f7be5e Rename ScriptDependenciesManager to ScriptConfigurationManager 2019-09-06 10:52:59 +03:00
Natalia Selezneva 961e8c2c74 Refactor the mechanism how script configurations are updated
Introduce file attributes cache, which is only applicable when no dependencies are cached in memory cache
Refactor ScriptDependenciesCache to memory cache that is able to get configuration from cache and checks if it is up to date
Move all public methods to ScriptDependenciesManager
Introduce ScriptClassRootsManager that checks if root change event should be called after script configuration update
2019-09-06 10:52:17 +03:00
Nikolay Krasko 4dc4acd25f Move CoroutineNonBlockingContextChecker to common code 2019-09-02 18:31:06 +03:00
Anton Yalyshev e99395e548 Register FUS collector for Code Completion 2019-09-01 08:22:03 +03:00
Vladimir Krivosheev dca88db16a remove unused org.jetbrains.kotlin.idea.inspections.gradle.KotlinPlatformGradleDetector EP
Not required after https://github.com/JetBrains/kotlin/commit/cc85ac44b30efbee2aff6664b30249fac931344b

Leads to warning in IDEA 2019.3
2019-08-30 16:15:27 +03:00
Nikolay Krasko edb83f4ed9 Remove IconExtensionChooser and png icons after removing 182
#KT-33536 Fixed
2019-08-30 12:14:25 +03:00
Nikolay Krasko 888a93115f Use function icon from the platform after removing 182
#KT-33536 Fixed
2019-08-30 12:14:21 +03:00
Nikolay Krasko 4d0fc1dc22 Remove 182 support
#KT-33536 Fixed
2019-08-30 12:13:44 +03:00
Nikolay Krasko 1c4ee6bd79 Remove as33 support
#KT-33536 Fixed
2019-08-30 12:13:09 +03:00
Igor Yakovlev 63892891db Add internal move refactoring testing action
This action doing further steps in infinite loop (breaks after user request):
1) Generate random move refactoring model
2) Run this model (if it is correct)
3) Recompile the project
4) If compilation was not succeeded write model parameters into output file
5) Delete all new files and directories and make "git reset"
2019-08-29 18:23:21 +03:00
Roman Golyshev 1d6de45db6 KT-32366: Use TextEditorWithPreview as editor for scratch files
- get rid of `ScratchFileHook` completely
- use `KtsScratchFileEditorProvider` to encapsulate details about scratch file presentation
- remove obsolete functions from `scratchUtils`
2019-08-23 18:22:24 +03:00
Ilya Kirillov 4befca95d6 Add an ability to switch between old and new J2K via settings window
Before that it was possible to do only via registry

#KT-33371 fixed
2019-08-16 09:37:05 +03:00
Toshiaki Kameyama f5c0a30c51 Add intention to replace "Map.getOrDefault"
#KT-21503 Fixed
2019-08-07 17:38:15 +03:00
Yan Zhulanow 0f568a395f Debugger: Recognize exceptions from target VM in FUS 2019-08-07 01:15:31 +09:00
Yan Zhulanow 25fb77e7ad Debugger: Add breakpoint applicability tests
This commit adds a number of tests that check breakpoint placing behavior, and an inline action that work the same way as tests.
2019-08-07 01:15:28 +09:00
Yan Zhulanow 22c18ffaa9 Debugger: Add Kotlin Function breakpoints (KT-22116)
Now it's possible to put a function breakpoint.
In JVM, function breakpoints behave as JVM method breakpoints. Normally, they're triggered twice – once on enter, and once on exit.
2019-08-07 01:15:27 +09:00
Dmitry Gridin 52c00ba2a1 Extract JvmStartupActivity class 2019-08-02 19:23:23 +03:00
Dmitry Gridin 584b42d9f9 Add missing EP for StartupActivity 2019-08-02 19:19:47 +03:00
Alexander Podkhalyuzin 71a1a0e2f5 Do not highlight annotations as keyword (new default like in Java)
#KT-17993 Fixed
2019-08-01 13:49:03 +03:00
Andrey Uskov 584d441587 Fix import when android gradle plugin is involved in IDEA 183
All dependencies on MPP modules are added in KotlinAndroidGradleMPPModuleDataService
including transitive ones. Fixes KT-30510 in IDEA 183 and below
2019-07-26 01:18:29 +03:00
Vyacheslav Gerasimov 3b78ef9cb2 as36: Add bunches for AS 3.6 C6 based on 192 platform 2019-07-25 20:50:02 +03:00
Anton Yalyshev 6d53151256 Add statistics (FUS) collector for IDE Settings. At the moment - New Inference only. 2019-07-24 07:41:58 +03:00
Dmitry Gridin a9f0d1a53b AddOperatorModifierInspection: decrease severity to INFORMATION
#KT-32796 Fixed
2019-07-22 11:17:15 +03:00
Roman Golyshev 232c7fdd0e KT-31295: Add New Kotlin Worksheet action
- creates new kotlin file with `.ws.kts` extension
2019-07-19 12:45:01 +03:00
Natalia Selezneva f6b03dc02f Add Show Kotlin Gradle DSL Logs Action (KT-31440)
Provide a label for this action in some script diagnostics from gradle dsl resolver
^KT-31440 Fixed
2019-07-19 12:06:09 +03:00
Dmitriy Dolovov 80d2e2ac0d Make [Jvm|Js]IdePlatformKind and [Jvm|Js]IdePlatformKindTooling available in all IDEs
Issue #KT-29953 Fixed
2019-07-17 22:37:31 +07:00
Dmitriy Dolovov f37c81f1be Dependency on K/N platform-deps is no more required in plugin.xml 2019-07-17 22:37:25 +07:00
Anton Yalyshev 1cdcde86e3 Extract adding of sourceSets to subclass, cause superclass is also used in other wizards where this procedure breaks build.gradle
#KT-32105 Fixed
2019-07-17 10:58:39 +03:00
Anton Yalyshev 9d6367a9be Add Kotlin/MPP to Gradle group of New Project Wizards #KT-32105 Fixed 2019-07-17 10:57:04 +03:00
Anton Yalyshev 12736edfc1 Revert "Add Kotlin/MPP to Gradle group of New Project Wizards #KT-32105 Fixed"
This reverts commit 6b3117cc
2019-07-16 18:10:49 +03:00
Dmitry Gridin 60421c441e IDE: add warn on java files outside java source roots
#KT-28121 Fixed
2019-07-16 17:07:31 +03:00
Anton Yalyshev 6b3117cc2c Add Kotlin/MPP to Gradle group of New Project Wizards #KT-32105 Fixed 2019-07-16 11:03:51 +03:00
Dmitry Gridin 835532c206 ReplaceJavaStaticMethodWithKotlinAnalogInspection: move to move to inspections.jdk2k subpackage 2019-07-10 14:09:36 +03:00
Ilya Kirillov 8f69cca2b3 New J2K: enable new J2K by default 2019-07-10 13:16:53 +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
Andrey Uskov e079615cdf Add possibility to edit target platform for non-HMPP projects in order to keep ability to edit target platform for IDEA-based projects 2019-07-02 22:46:48 +03:00