Commit Graph

17407 Commits

Author SHA1 Message Date
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
Toshiaki Kameyama b6564ed19a "Wrap with let": fix for nullable extension function call #KT-6364 Fixed 2018-05-10 20:28:14 +03:00
Mikhail Glukhikh a8ad980910 If to when: label break / continue if necessary #KT-11427 Fixed 2018-05-10 18:46:24 +03:00
Mikhail Glukhikh 2812601e2d Reformat: add loop label 2018-05-10 18:46:18 +03:00
Mikhail Glukhikh 73a756084e Reformat: if to when 2018-05-10 18:46:17 +03:00
Vyacheslav Gerasimov 3d7f2f663f Build: Extract maven ide module from kotlin-plugin.jar to standalone jar 2018-05-08 21:49:08 +03:00
Vyacheslav Gerasimov f2b323fbe3 Build: Extract jps-common ide module from kotlin-plugin.jar to standalone jar 2018-05-08 21:49:08 +03:00
Vyacheslav Gerasimov 4d4ff636d2 Build: Extract jvm ide module from kotlin-plugin.jar to standalone jar 2018-05-08 21:49:07 +03:00
Toshiaki Kameyama 3aab68d635 Add "Make variable immutable" quickfix for const #KT-24263 Fixed 2018-05-08 18:37:10 +03:00
Toshiaki Kameyama d1c2ea4095 Reformat: QuickFixRegistrar 2018-05-08 18:37:10 +03:00
Toshiaki Kameyama e26ab28d45 Reformat: ChangeVariableMutabilityFix 2018-05-08 18:37:10 +03:00
Mikhail Glukhikh e141f4f407 Convert array to vararg: extract text variants to constants 2018-05-08 18:37:09 +03:00
Toshiaki Kameyama da92eb63a0 Add intention replacing vararg with array and vice versa #KT-23419 Fixed 2018-05-08 18:37:09 +03:00
Mikhail Glukhikh e933bb8220 Unused symbol suppression: get annotation descriptors via entries
Otherwise we miss use-site targeted annotations,
and getUseSiteTargetedAnnotations does not help
So #KT-20332 Fixed
2018-05-08 18:37:09 +03:00
Mikhail Glukhikh 59c019cb00 Reformat: unused symbol inspection 2018-05-08 18:37:08 +03:00
Mikhail Glukhikh 78ed39856e UnnecessaryVariableInspection: do not show dialogs #KT-22989 Fixed 2018-05-08 18:37:08 +03:00
Mikhail Glukhikh 39c0b57724 Reformat: UnnecessaryVariableInspection 2018-05-08 18:37:08 +03:00
Mikhail Glukhikh de85235bd7 Reformat: KotlinInlineValHandler 2018-05-08 18:37:07 +03:00
Mikhail Glukhikh 5246c54dad Do not suggest removing empty parentheses if lambda is on the next line
So #KT-15195 Fixed
2018-05-08 18:37:07 +03:00
Mikhail Glukhikh 6968540889 Reformat: RemoveEmptyParenthesesFromLambdaCallIntention 2018-05-08 18:37:07 +03:00
Nicolay Mitropolsky 24b8d12eca 182: fixing SlicePanel compilation after isToShowCloseButton method removal 2018-05-08 18:35:04 +03:00
Nikolay Krasko 7b80fb0431 Mark actions as internal to prevent "Other" group creation (KT-24268)
#KT-24268 Fixed
2018-05-08 13:04:27 +03:00
Nikolay Krasko b19ad7e94c Reformat: idea.highlighter package 2018-05-08 13:04:27 +03:00
Nicolay Mitropolsky 732e25a3f0 KotlinElementActionsFactory: fix for getting names from dead pointers (EA-116215) 2018-05-08 12:57:29 +03:00
Natalia Selezneva 7fe21f3035 Do not throw exception when script template doesn't have required annotation
^KT-23746 Fixed
2018-05-08 11:40:51 +03:00
Natalia Selezneva 522587dc5d Align checkbox labels in scratch panel
^KT-24315 Fixed
2018-05-08 11:40:51 +03:00
Natalia Selezneva e5a40c8c7f Scratch: substring output and print it to separate tool window if it is too long
^KT-24016 In Progress
2018-05-08 11:40:51 +03:00