Commit Graph

850 Commits

Author SHA1 Message Date
Pavel V. Talanov 34793e63c7 Allow to run kts files as scripts from ide
Introduce KotlinStandaloneScriptRunConfiguration: configuration, type, producer, settings editor
2015-11-30 18:21:03 +03:00
Pavel V. Talanov 0d10f0fcf9 Minor: Remove direct usages of ScriptNameUtil 2015-11-30 18:21:01 +03:00
Yan Zhulanow e39ca63bcc Android Extensions: Fix Android JPS plugin 2015-11-27 15:51:11 +03:00
Dmitry Jemerov 70049171cd use Kotlin call hierarchy provider only for Kotlin elements, to ensure that it does not interfere with standard Java features of IntelliJ IDEA 2015-11-24 16:53:42 +01:00
Michael Nedzelsky 8ac3b1441a remove idea-js module 2015-11-23 22:32:44 +03:00
Nikolay Krasko 58dbb1ad53 Rethrow stored process canceled exception as a new one with both stacks 2015-11-23 22:03:32 +03:00
Valentin Kipyatkov d4ba15fd90 "kotlinVariable()" macro to filter by expected type, dropped IterableVariableMacro 2015-11-23 20:31:33 +03:00
Dmitry Jemerov 30084dff9d ensure that the short name of the Kotlin unused import inspection does not clash with Java (KT-10046) 2015-11-20 13:54:40 +01:00
Pavel V. Talanov e45585be21 Make KtScript stubbed and add KotlinScriptFqnIndex 2015-11-19 22:56:53 +03:00
Dmitry Jemerov 084727c991 action to invoke a manual update check for the Kotlin plugin 2015-11-18 16:44:14 +01:00
Valentin Kipyatkov f391d194de Presentation for extension property to include receiver type 2015-11-10 22:24:46 +03:00
Valentin Kipyatkov fe7f79428d Intention to import members with '*' 2015-11-10 17:23:11 +03:00
Valentin Kipyatkov 870fc9284b KT-4945 Intention "Introduce static import" (for single symbol)
#KT-4945 Fixed
2015-11-10 17:23:10 +03:00
Alexey Sedunov 29b1c169d5 Refactoring: Get rid of "Jet" in the names of refactoring/quick fixes-related classes 2015-11-10 16:47:50 +03:00
Dmitry Jemerov e64a270d1a more renames to get rid of "Jet" in class and method names 2015-11-09 19:07:11 +01:00
Dmitry Jemerov 3bd7f87d2b rename "Jet" from names of IDE classes; consistently use Kt prefix for PSI elements and classes directly related to specific PSI elements 2015-11-02 18:49:35 +01:00
Alexey Sedunov 4f09bdfe70 Change Signature: Placed kotlin processor after the java one. Fix processUsage() to pass non-Kotlin usages to further processors (if any)
#KT-9219 Fixed
2015-11-02 15:15:38 +03:00
Alexey Sedunov 22393d4cd2 Formatter: Use formatter to automatically insert semicolons after the last enum entry when needed 2015-11-02 15:15:26 +03:00
Valentin Kipyatkov 891e033d5b KT-9664 Add quickfix to convert a piece of code to pretty look SAM-style
#KT-9664 Fixed
2015-10-27 15:07:59 +03:00
Dmitry Petrov 09f0b3fe87 KT-9721:
- Kotlin/JS still uses package facades.
Handle them properly in StubClassBuilder parentStack.
- Generate backend-related diagnostics in IDE
using light class generation for file facades.
- Drop PackageFacadeStubCache.
2015-10-26 19:37:52 +03:00
Natalia Ukhorskaya 15531d0bb7 Update since for plugin due to compilation error in KotlinFrameExtractVariablesProvider 2015-10-26 17:16:51 +03:00
Valentin Kipyatkov 66310806ca KT-9628 Intention&inspection to replace use of "set" operator function with []
#KT-9628 Fixed
2015-10-22 18:48:15 +03:00
Valentin Kipyatkov 852579e7f3 Renamed class 2015-10-22 18:48:15 +03:00
Dmitry Jemerov 49033e0002 rename Jet* classes to Kt* 2015-10-19 21:35:30 +02:00
Valentin Kipyatkov 0a5255ee4e Dropped inspection for functions matching operator convention - only intention left 2015-10-19 18:36:06 +03:00
Pavel V. Talanov bb77890a4e Drop DeprecatedFacadeUsageInspection
(cherry picked from commit f18b95d)
2015-10-19 16:03:17 +03:00
Valentin Kipyatkov e7fa2cb776 Replace with explicit "get" inspection enabled by default but is reported only for functions explicitly marked with "operator" 2015-10-19 09:43:13 +03:00
Valentin Kipyatkov 5ce0ed37b1 Moved file to another package 2015-10-19 09:43:12 +03:00
Valentin Kipyatkov d1de2f65c9 Rewritten AddOperatorModifierInspection to be based on an intention (shouldn't we drop the inspection at all?) 2015-10-19 09:43:12 +03:00
Alexey Sedunov 6f5d977728 Inspections: Add inspection on equals()/hashCode() 2015-10-17 00:24:39 +03:00
Alexey Sedunov 915236a6ba Code Insight: "Generate equals/hashCode" action 2015-10-17 00:24:37 +03:00
Pavel V. Talanov d603142cc6 Provide inspection and quickfixes for usages of static fields which will be no longer accessible in future versions
For this inspection three kinds of fixes are potentially available:
- Add 'const' modifier to kotlin property
- Add '@JvmField' annotation to kotlin property
- Change field reference to getter invocation

In case user chooses to 'cleanup code', these fixes are prioritized in this order
2015-10-14 14:42:26 +03:00
Alexey Sedunov 30d697109c Code Insight: "Generate secondary constructor" action
#KT-6970 Fixed
2015-10-13 20:56:52 +03:00
Alexey Sedunov ae9bd371e6 Unit Test Tooling: Test navigation
#KT-6472 In Progress
2015-10-11 01:13:48 +03:00
Alexey Sedunov ad929a6577 Unit Test Tooling: Implement "Create Test" action
#KT-6472 In Progress
2015-10-11 01:13:41 +03:00
Pavel V. Talanov f4ef9647b1 Idea: add quick fix for replacing usages of deprecated "INSTANCE$" field 2015-10-09 16:25:19 +03:00
Dmitry Jemerov d6ea701901 use IDEA 15 UI for "Show expression type" 2015-10-08 19:59:25 +02:00
Dmitry Jemerov d8122e835e dead code deleted 2015-10-08 19:58:00 +02:00
Dmitry Jemerov 3c93824e16 mark JS features as experimental in the UI 2015-10-08 19:57:59 +02:00
Alexey Sedunov 730cc7b551 Code insight: "Generate..." actions for test framework support methods
#KT-9355 Fixed
2015-10-08 13:15:18 +03:00
Alexey Sedunov 5a325aeec0 Line Marking: Implement run markers for test classes/functions 2015-10-08 13:15:16 +03:00
Valentin Kipyatkov ab41641a19 KT-8794 Parameter Information should work in index expression
#KT-8794 Fixed
2015-10-07 23:09:54 +03:00
Valentin Kipyatkov 058f41a28b Renamed class 2015-10-07 23:09:51 +03:00
Dmitry Jemerov c5d3673b6b change the ID of the language from "jet" to "kotlin"; rename JetLanguage to KotlinLanguage 2015-10-06 16:14:07 +02:00
Dmitry Jemerov 94204b7d4e Kotlin plugin updater initial implementation 2015-10-05 12:42:55 +02:00
Dmitry Jemerov 2109a6b760 advance until-build to branch 144 2015-09-30 15:40:19 +02:00
Nikolay Krasko 42eb413066 Update since to 142.5047.6 2015-09-29 15:43:02 +03:00
Dmitry Kovanikov 6aa300e2d3 Minor: rename Kotlin console... action name to Kotlin REPL 2015-09-28 15:54:58 +03:00
Dmitry Kovanikov 45911cff90 Add icon to Kotlin console... action 2015-09-28 15:54:57 +03:00
Dmitry Jemerov 93e2827c1a dependency on java-i18n plugin 2015-09-28 14:49:06 +02:00