Commit Graph

17433 Commits

Author SHA1 Message Date
Mikhail Glukhikh c61b5671c9 Fix testSuspend (protect it from flaky error about disabled coroutines) 2018-05-15 11:30:29 +03:00
Simon Ogorodnik 6967028fdb KT-24146: Fix inserts imports automatically
Even if "add unambiguous imports on the fly" is off

 #KT-24146 fixed
2018-05-14 17:28:16 +03:00
Natalia Selezneva 4ee41d502a Scratch: report errors at the correct line
^KT-24364 Fixed
2018-05-14 15:55:44 +03:00
Natalia Selezneva 6427c79110 Trim last newline in scratch output with REPL
^KT-24362 Fixed
2018-05-14 15:55:39 +03:00
Natalia Selezneva 02fa8b5bab Check for dumb mode before compiling scratch file
^KT-23560
2018-05-14 15:55:35 +03:00
Natalia Selezneva 57b24007ac Log exceptions thrown during Run Scratch Action 2018-05-14 15:55:30 +03:00
Natalia Selezneva 5148a51ea2 Minor: reformat 2018-05-14 15:55:26 +03:00
Nicolay Mitropolsky 31b21a7bc8 182: compilation fix due to quickFixActionMarkers made nullble 2018-05-14 15:05:03 +03:00
Vyacheslav Karpukhin e329af0932 Excluded declarations for classes in CIDR plugin.xml 2018-05-11 19:43:21 +02:00
Natalia Selezneva 4ee0f401c6 Fix master_172
Remove GradleScriptDefaultDependenciesProvider as unused
2018-05-11 18:46:54 +03:00
Mikhail Glukhikh 1012bdb577 Convert to primary constructor: minor enhancement (KT-19629) 2018-05-11 18:17:42 +03:00
Mikhail Glukhikh 67d2abbe5e Reformat: Convert to primary constructor 2018-05-11 17:36:41 +03:00
Toshiaki Kameyama a41064295b "Convert to primary constructor": do not move init section down
So #KT-19629 Fixed
2018-05-11 17:36:40 +03:00
Mikhail Glukhikh 9a1253c5c7 Specify type explicitly: suggest also types from overridden
So #KT-22092 Fixed
2018-05-11 17:36:38 +03:00
Mikhail Glukhikh bf15d22ef1 Reformat: SpecifyTypeExplicitlyIntention 2018-05-11 17:36:37 +03:00
Mikhail Glukhikh 13be7803bb Introduce "redundant async" inspection #KT-24235 Fixed 2018-05-11 17:36:35 +03:00
Mikhail Glukhikh 365c13c38e Extract AbstractCallChainChecker from SimplifiableCallChainInspection 2018-05-11 17:36:29 +03:00
Mikhail Glukhikh 9fa352e5c0 Reformat: simplifiable call chain inspection 2018-05-11 17:36:26 +03:00
Pavel V. Talanov a584de8a7e Prefer platform specific declarations when searching for library sources
Untested: test infrastructure needed

 #KT-23223 Fixed
2018-05-11 16:25:16 +02:00
Pavel V. Talanov f6b094781f Mpp resolve: ignore module dependencies on libraries of other platforms
These are not read by the compiler

Untested: test infrastructure needed

 #KT-20406 Fixed
2018-05-11 16:25:14 +02:00
Toshiaki Kameyama 449943da01 "Merge with next when": made applicable when delimited by ';' or comment
So #KT-12042 Fixed
2018-05-11 16:37:36 +03:00
Toshiaki Kameyama cdbd7a7c5a Reformat MergeWhenIntention 2018-05-11 16:36:57 +03:00
Toshiaki Kameyama 4ee9db7a6c Use property access: suppress for reserved words #KT-23775 Fixed 2018-05-11 16:32:44 +03:00
Toshiaki Kameyama 240b9fd97a Reformat: UsePropertyAccessSyntaxIntention 2018-05-11 16:32:06 +03:00
Alexey Sedunov 805010e75c Misc: Permit refactorings/intentions/quick fixes inside script files
#KT-20123 Fixed
2018-05-11 16:05:20 +03:00
Alexey Sedunov a5a13b74f5 Create from Usage: Support smart casts on explicit receivers
#KT-24069 Fixed
2018-05-11 16:05:20 +03:00
Alexey Sedunov a92a4a2a6d Add Parameter Fix: Support smart casts
#KT-24207 Fixed
2018-05-11 16:05:19 +03:00
Alexey Sedunov a4a10c7ba4 Create from Usage: Fix generation of extensions with nullable receiver
#KT-23796 Fixed
2018-05-11 16:05:19 +03:00
Alexey Sedunov 4e3c1e9f56 Rename: Do not search text occurrences of local declarations
#KT-23838 Fixed
2018-05-11 16:05:19 +03:00
Natalia Selezneva 37d7c36b11 Fix missing internal template declaration in plugin.xml 2018-05-11 15:51:52 +03:00
Natalia Selezneva 41653e9a50 Introduce separate cache for scripts
^KT-22588 Fixed
2018-05-11 15:51:42 +03:00
Natalia Selezneva 71703636bc Optimization: do not load dependencies for scripts not under expected location 2018-05-11 15:51:37 +03:00
Natalia Selezneva 61c31ce030 Refactoring: move logic that script shouldn't be highlighted if there are any FATAL error to KotlinHighlightingUtil 2018-05-11 15:51:33 +03:00
Natalia Selezneva 3cc3ca97ac Show notification in the editor when new script dependencies available
^KT-23616 Fixed
2018-05-11 15:51:28 +03:00
Natalia Selezneva d422eb6833 Add a delay to reload script dependencies
^KT-23616
2018-05-11 15:51:24 +03:00
Natalia Selezneva 3eac391793 Add setting to reload script dependencies on file change
^KT-23616
2018-05-11 15:51:19 +03:00
Natalia Selezneva 082916be70 Refactoring of ScriptDependenciesUpdater
Extract classes for sync and async dependencies loading
2018-05-11 15:51:14 +03:00
Natalia Selezneva 97848f2812 Minor: reformat 2018-05-11 15:51:09 +03:00
Natalia Selezneva 3f8245988e Remove GradleScriptDefaultDependenciesProvider as unused 2018-05-11 15:51:04 +03:00
Vyacheslav Karpukhin d56ba1e7a4 Excluded declarations for classes in CIDR plugin.xml 2018-05-11 13:28:22 +02:00
Nikolay Krasko bea77900ff Fix NPE in KotlinCompletionCharFilter (EA-120148) 2018-05-11 12:00:43 +03:00
Nikolay Krasko c469a4d9b9 Bad condition for cast in KotlinStatementsSurrounder (EA-119701) 2018-05-11 12:00:43 +03:00
Nikolay Krasko 9e2412b887 Create dummy method for light class without reformat (EA-115803) 2018-05-11 12:00:43 +03:00
Nikolay Krasko c9f31099f2 Fix binary compatibility issue after moving ModuleTestSourceInfo
Compatibility check revealed problem in truth-postfix-plugin.

https://github.com/droibit/truth-postfix-plugin/blob/b06adbf4e6563672da75b112b1bc7f1fc511a848/plugin/src/main/kotlin/com/github/droibit/plugin/truth/postfix/utils/TemplateUtils.kt
2018-05-11 12:00:43 +03:00
Nikolay Krasko 4e26b04bb2 Remove unneeded files after move to 181 from 173 2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov c1f5ebb28e as32: Fix usages of AppResourceRepository in AS 3.2 C14 plugin 2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov 4adc0a94ab as32: Update to 181 platform api 2018-05-10 23:28:41 +03:00
Vyacheslav Gerasimov daa860651f as32: Update AS 3.2 version to 3.2.0.13 2018-05-10 23:28:41 +03:00
Toshiaki Kameyama da92c844a6 Might be 'const': fix false positive in object literal #KT-23756 Fixed 2018-05-10 20:42:32 +03:00
Mikhail Glukhikh 84d71e5a8c "Wrap with let": minor enhancement (related to KT-6364) 2018-05-10 20:41:53 +03:00