Commit Graph

793 Commits

Author SHA1 Message Date
Dmitry Savvinov 36aa14ead4 Add testing support for MPP projects 2020-01-24 11:00:16 +03:00
Andrey Uskov beb3165839 Added FUS extensions and new metrics for reporting statistics from gradle 2020-01-23 20:47:21 +03:00
Anton Yalyshev 1d7dcf3633 Add Formatter settings tracking to FUS 2020-01-23 14:21:05 +03:00
Natalia Selezneva 858698cf9a Provide a notification for gradle script that aren't related to any gradle project (KT-35268)
Add action to load/reload configuration for them manually
^KT-35268 Fixed
2020-01-23 11:12:54 +03:00
Natalia Selezneva a373ab96d4 Implement persistent storage for script class path roots (KT-35886)
Save absolute paths instead of getCanonicalPath usages

^KT-34444
^KT-35886 Fixed
2020-01-23 11:06:01 +03:00
Vladimir Dolzhenko 3a90e2dd75 Store addUnambiguousImportsOnTheFly in kotlin code insight settings
store optimizeImportsOnTheFly in kotlin code insight workspace settings

#KT-36034 Fixed
2020-01-21 17:53:23 +01:00
Ilya Chernikov b5ac35dec1 Implement automatic loading of .main.kts scripts support
also fix discovery from ScriptDefinitionsProvider
2020-01-21 17:42:48 +01:00
Natalia Selezneva 606279b462 as36: Update to AS 3.6 RC (192.7142.36.36.6071332)
^KT-36005 Fixed
2020-01-21 15:56:01 +03:00
Nikolay Krasko f01b4706d1 Switch to 193 platform 2020-01-19 12:01:53 +03:00
Dmitry Gridin 6c166e744a Implement TrailingCommaInspection
#KT-34744
2020-01-17 21:02:55 +07:00
Dmitry Gridin c27bf051d5 TrailingCommaPostFormatProcessor: add language feature check
#KT-34744
2020-01-17 21:02:53 +07:00
Dmitry Gridin 13ae4a28a8 Formatter: support trailing comma in value parameters
#KT-34744
2020-01-17 21:02:52 +07:00
Vladimir Ilmov cac4a991f5 coroutine debugger toolbar added 2020-01-14 10:14:56 +01:00
Vladimir Ilmov e570450c59 coroutine debugger logic moved to jvm-debugger-coroutine module 2020-01-14 10:14:56 +01:00
Vladimir Ilmov 61c5ef61cc [coroutine][debugger] refactoring being done
X-view approach added for review, thread groups added
2020-01-14 10:14:55 +01:00
Vyacheslav Gerasimov 3d79e4609e as40: Fix duplicate registration of kotlin-copyright 2019-12-26 16:25:12 +03:00
Vyacheslav Gerasimov 68f1d91e1b as40: Upgrade to AS 4.0 C7 2019-12-25 20:19:36 +03:00
Michael Kuzmin 254dc8f71c Build: Drop IntelliJ 2018.3 and Android Studio 3.4 support
Delete *.183 and *.as34 bunch-files
2019-12-19 18:31:07 +03:00
Ilya Kirillov 8684b0d6c1 Wizard: show experimental new project wizard only by registry flag 2019-12-18 15:54:19 +03:00
Ilya Kirillov aca193ddd2 Wizard: Add initial version of the new project wizard 2019-12-18 15:54:16 +03:00
Toshiaki Kameyama dbb282e60f Arg postfix postfix completion: fix typo in description
#KT-34386 Fixed
2019-12-17 18:03:43 +03:00
Natalia Selezneva 31887d2fd1 Scripting: check if affected scripts are changed using file modification stamp instead of mark them out of date in cache
^KT-35205 Fixed
2019-12-16 14:55:47 +03:00
Natalia Selezneva 886e9613b8 Move script related extensions to separate xml-s 2019-12-16 14:55:40 +03:00
Sergey Rostov c0690ff5f6 gradle.kts importing: move code to dedicated package 2019-12-16 10:31:11 +03:00
Yan Zhulanow 748cbd7eec Import Kotlin JUnit run configuration settings from Gradle 2019-12-11 20:04:03 +09:00
Vladimir Ilmov f05a452ef2 [coroutine][debugger] Unit test support added for Gradle run configurations. 2019-12-11 11:46:28 +01:00
Mikhail Glukhikh 9e263b6af2 FIR IDE: use registry to obtain kotlin.use.fir.resolution 2019-12-11 13:01:38 +03:00
Mikhail Glukhikh fbf1dbf2da FIR: introduce error message renderer 2019-12-10 12:58:38 +03:00
Natalia Selezneva b66fdad80c Set since build to IDEA 192.7142.36 for 192 bunch
Fix compilation in idea-gradle module
Android Studio 3.6 doesn't still contain some of those changes
2019-12-10 09:16:27 +03:00
Mikhail Glukhikh d35a26a75b Optimization: introduce FirIdeResolveStateService to cache FirResolveState 2019-12-05 18:02:02 +03:00
Ilya Goncharov 86e665e2b3 [Gradle, Idea] Add Gutter Configurator for non-jvm tests 2019-11-29 15:09:35 +03:00
Vyacheslav Gerasimov 027bc671c1 Build: Remove duplicated compiler.xml from idea module
Workaround for JPS build by copying compiler.xml in test runner before tests

For gradle just copy it in the processResourcesTask of idea project

 #KT-34528
2019-11-22 18:52:00 +03:00
Natalia Selezneva 23f95872ad Minor: fix packages after moving classes to idea-gradle module 2019-11-22 11:43:35 +03:00
Sergey Rostov 75a23b4bc4 Minor: changes after review 2019-11-22 11:43:35 +03:00
Sergey Rostov fc100d13dd Scripting: move gradle specific logic to idea-gradle 2019-11-22 11:43:34 +03:00
Sergey Rostov 0fb58ed94c Scripting loading tests and extension points 2019-11-22 11:43:34 +03:00
Natalia Selezneva 6c4de96dcb Minor: extract class to separate file 2019-11-22 11:43:31 +03:00
Natalia Selezneva 4b0844b21d Minor: move classes in idea-gradle module related to scripting 2019-11-22 11:43:31 +03:00
Vladimir Ilmov 09d2bd33f8 [coroutine][debug] incorrect merge conflicting with 00a06ef9b9 2019-11-20 12:36:13 +03:00
Vladimir Ilmov c90cd8c490 [coroutine][debug] compilation error fixed 2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev 5975251a32 Debugger: Coroutines stack frames with variables & coroutine dumps 2019-11-19 12:29:06 +03:00
Vyacheslav Gerasimov 2dfa6c360b Fix version range for Idea 191 plugin
#KT-34385
2019-11-18 18:49:40 +03:00
Toshiaki Kameyama 4d9b19da82 Remove comments from function/property implementation template
#KT-18539 Fixed
2019-11-13 08:37:25 +09:00
Natalia Selezneva 56eb86b7c6 Remove KotlinGradleBuildScriptsResolver for IDEA < 191
In 191 there is no method to invoke model building after invocation of some task
2019-11-11 15:15:16 +03:00
Sergey Rostov 19d35d7f27 Implement Gradle specific behavior for script configuration update logic
We have plans to extract separate implementation for Gradle scripts, but it
would be better to support something at this point.
For now, we have custom listener, loader and up-to-date check for default configuration manager:
- listener will do forced reload on editor activation, even it is already up-to-date
this is required for Gradle scripts, since it's classpath may depend on other files (`.properties` for example)
- loader will force save failures before running loader. also it will skip loading if
`kotlin.gradle.scripts.useIdeaProjectImport` registry key is enabled
- loader will return inputs with overridden up-to-date checks: file will be considered
out-of-date only when `buildscript` or `plugins` blocks are changed
2019-11-11 15:15:15 +03:00
Natalia Selezneva 915c9c367c Minor: rename script related classes 2019-11-11 15:15:15 +03:00
Natalia Selezneva 33475f30bc Minor: move files 2019-11-11 15:15:15 +03:00
Sergey Rostov 9f3c2d0292 build.gradle.kts: import script dependencies on Gradle Project sync 2019-11-11 15:15:14 +03:00
Yan Zhulanow ef8b3cb72a Prefer Kotlin Junit test run configurations when possible (KT-33787) 2019-11-11 17:13:58 +09:00
Yan Zhulanow 987307cf92 Prefer Kotlin Gradle test run configurations when possible (KT-33787) 2019-11-11 17:13:58 +09:00