Commit Graph

20379 Commits

Author SHA1 Message Date
Alexey Sedunov 2af83c58c9 Create from usage: Use separate editor for templates which should be placed in Java files 2015-02-20 19:08:14 +03:00
Alexey Sedunov 6bdff82c3a Create from usage: Do not create functions/properties from import directives 2015-02-20 19:08:11 +03:00
Alexey Sedunov 41d51e0a13 Create from usage: Assume String return type for function whch is called inside of string template
#KT-6083 Fixed
2015-02-20 19:08:08 +03:00
Alexey Sedunov 0ae69e0d3e Create from usage: Do not generate function body if it's declared as a trait member
#KT-6078 Fixed
2015-02-20 17:28:41 +03:00
Alexey Sedunov 60d02dab0f Create from usage: Support generation of nested Java classes from usages in Kotlin code 2015-02-20 17:28:40 +03:00
Alexey Sedunov 5cd477279b Create from usage: Support static Java members 2015-02-20 17:28:39 +03:00
Alexey Sedunov 19fc9adffa Create from usage: Support generation of Java fields from usages in Kotlin code 2015-02-20 17:28:38 +03:00
Alexey Sedunov 34d8e1c08c Create from usage: Support generation of Java methods from usages in Kotlin code 2015-02-20 17:28:37 +03:00
Alexey Sedunov 97b0f50d35 Create from usage (function/property): Suggest separate actions for extensions and non-extension declarations
#KT-6023 Fixed
2015-02-20 17:28:36 +03:00
Alexey Sedunov 41a4dd4128 Create from usage: Rename package: createFunction -> createCallable 2015-02-20 17:28:34 +03:00
Alexey Sedunov ecd9ee45c8 Move: Do not process 'super' references
#KT-6769 Fixed
2015-02-20 17:28:33 +03:00
Alexey Tsvetkov ae970044e2 JS: extracted ThrowExceptionReporter 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov b01aa5e0a5 JS: simplified parser exceptions 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 802a512899 JS: removed AstConsumer from tests 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov fabcfc7b7f JS: added js() diagnostics tests 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 1e7de9d5d0 JS: removed cli test for js() errors 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 180272e4cb JS: underline js() errors for non-string-literal constants 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 1087ae4779 JS: use ConstantEvaluator at CallExpressionTranslator 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 4f992eeeb4 JS: report right end of js() error 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 05ef358177 JS: check js() call at frontend 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov f5eb39e1f1 JS: added TranslationResult 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov aa5f237154 JS: use one BindingTrace for translation 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov baccfa914f JS: removed unused rhino error reporter method 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov b431bf6fc9 JS: made JsCodeErrorReporter class static 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov 200e3afbe1 JS: moved PatternBuilder to JS frontend 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov f9648c6f21 Minor in JS: renamed file according to class name 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov 33f6759966 Minor in JS: updated copyrights 2015-02-20 16:01:25 +03:00
Pavel V. Talanov 9cf3a11efc Add quick fixes for newly introduced diagnostics 2015-02-20 14:47:37 +03:00
Pavel V. Talanov ca3096a948 Prohibit inner classes in objects
Using inner classes in objects makes little sense since objects have single static instance
2015-02-20 14:47:37 +03:00
Pavel V. Talanov 460c1e328f Improve error message for inner class in trait 2015-02-20 14:47:36 +03:00
Pavel V. Talanov 2053da91dd Fix EXPRESSION_TYPE target for QualifierReceiver
Affected completion from objects in some cases
2015-02-20 14:47:36 +03:00
Michael Bogdanov 37006ad566 Annotate additional files through bytecode toolwindow analysis 2015-02-20 10:16:22 +03:00
Michael Nedzelsky ab29c59210 CompileTimeConstantUtils.isArrayCall: use full fqName instead of argument of Intrinsic annotation 2015-02-20 02:33:38 +03:00
Michael Nedzelsky 608b603f58 serialization of compile time constant: add support for expressions <const>: <type> 2015-02-20 02:33:35 +03:00
Michael Nedzelsky 5889112a94 add test for compile time constants without expicit type 2015-02-20 02:33:32 +03:00
Michael Nedzelsky fac2e38054 Do not serizalize null as compile time constant 2015-02-20 02:33:30 +03:00
Michael Nedzelsky ead3a1dc65 fix getting compile time initializer before computing deferred type 2015-02-20 02:33:27 +03:00
Dmitry Jemerov a030585566 EA-64906 - NPE: KdocPackage$KDocReference$c.getParamDescriptors 2015-02-19 14:01:00 +01:00
Dmitry Jemerov ce4b2db8f6 vendor and homepage 2015-02-19 15:35:46 +03:00
Dmitry Jemerov 8130b98862 correct vendor and homepage in plugin.xml 2015-02-19 15:35:46 +03:00
Valentin Kipyatkov a0b96231d3 Fixed assertion in internal action 2015-02-19 14:44:38 +03:00
Svetlana Isakova 204e9a0c34 KT-6751 References to type arguments of a type argument not resolved when wrong number of them
#KT-6751 Fixed
2015-02-19 14:43:18 +03:00
Nikolay Krasko f1774bd6fb Fixed test data according to fixed bug in IDEA JPS. 2015-02-19 14:36:23 +03:00
Valentin Kipyatkov c9a05aac0f Minor changes after review 2015-02-19 14:11:16 +03:00
Valentin Kipyatkov 67027e2a2d Minor 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov 660ac8d63c Fixed bug 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov a137503ee9 More sophisticated import setting supported: *-import when more than N names used (default set to 5) 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov c58536f1d9 Optimize imports: fixed bug with references in class declaration header 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov 84027124db Made code more clear 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov 5c904b6a94 Fixed keeping of folded state for imports on optimize 2015-02-19 11:07:03 +03:00