Commit Graph

9806 Commits

Author SHA1 Message Date
Natalia Ukhorskaya bf4a71ee02 Minor: fix number of steps in some tests 2015-10-09 17:33:17 +03:00
Natalia Ukhorskaya a303c8a2f6 Debugger, stepping: first check that source position is in kotlin file 2015-10-09 17:33:17 +03:00
Valentin Kipyatkov 6fb329c1cd Minor 2015-10-09 16:42:07 +03:00
Valentin Kipyatkov 21b2631558 KT-9500 Prohibit java.lang.Deprecated in completion + no duplicates for built-ins in completion
#KT-9500 Fixed
2015-10-09 16:42:07 +03:00
Valentin Kipyatkov 91b2ba9ef3 Fixed warnings 2015-10-09 16:42:07 +03:00
Valentin Kipyatkov b549bc913a Dropped ability to specify custom PrefixMatcher in LookupElementsCollector 2015-10-09 16:42:07 +03:00
Valentin Kipyatkov aa0a68b4be More simple prefix matching in ParameterNameAndTypeCompletion 2015-10-09 16:42:06 +03:00
Valentin Kipyatkov 9b4070b881 Changed lookup strings and prefix matchers for parameter name&type completion to get more stable and correct ordering 2015-10-09 16:42:06 +03:00
Valentin Kipyatkov 7c39064f75 Removed unnecessary 'data' modifier 2015-10-09 16:42:06 +03:00
Valentin Kipyatkov 2c1defaf18 Smart completion for "ClassName::class" and "ClassName::class.java" when specific KClass or Class expected 2015-10-09 16:42:06 +03:00
Michael Bogdanov ae15443413 Generate linenumberts in objects clinit 2015-10-09 16:25:21 +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
Pavel V. Talanov c28107034a Idea tests: INSTANCE$ -> INSTANCE 2015-10-09 16:25:17 +03:00
Michael Bogdanov 60d1736b97 Instance field generation in objects 2015-10-09 16:25:16 +03:00
Michael Bogdanov 12afbffb09 Copy to interface just companion object public const properties 2015-10-09 16:25:15 +03:00
Nikolay Krasko 8f20595e8c Disable plugin updater check in tests 2015-10-09 16:14:27 +03:00
Natalia Ukhorskaya 391af972d7 CodeFragments: do not add imports from context file 2015-10-09 15:10:03 +03:00
Nikolay Krasko 013b257347 Make it possible to get diagnostics factory was registered for 2015-10-09 14:15:09 +03:00
Natalia Ukhorskaya ccbb015606 Completion for evaluate expression: add only imports from code fragment to scope when analyzing it 2015-10-09 12:58:39 +03:00
Dmitry Jemerov 7e2c2ef678 restore compilation after rebase of dropping external annotations; fix affected tests 2015-10-09 11:52:02 +02:00
Alexander Udalov b0a4e812e5 Drop ConfigurationKind.JDK_AND_ANNOTATIONS, JetTestUtils.getJdkAnnotationsJar() 2015-10-09 11:51:59 +02:00
Alexander Udalov 13c54a2678 Drop external annotations support in build tools
External annotations will only be considered in the IDE for additional
inspections based on more precise types in Java libraries
2015-10-09 11:51:58 +02:00
Svetlana Isakova 9b1030de2e Annotations on type projection belong to type reference 2015-10-09 11:05:52 +03:00
Svetlana Isakova 63d9e287b7 Converted JetTypeReference to Kotlin 2015-10-09 11:05:52 +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
Yan Zhulanow d90585624f Add 'DeprecationLevel' parameter to 'Deprecated' 2015-10-08 18:31:08 +03:00
Yan Zhulanow 937d1913b8 Automatically put 'operator' modifier on appropriate Java methods 2015-10-08 18:31:07 +03:00
Dmitry Jemerov 7abc29cff6 fix 'where' clause in IDEA plugin code 2015-10-08 17:09:58 +02:00
Dmitry Jemerov 45d1129dbb quickfix to move type constraint to 'where' clause 2015-10-08 17:09:58 +02:00
Alexey Sedunov e8e0f2d7e1 Unused Symbol: Check descriptor before creating light class to prevent InvalidMirrorException on red code 2015-10-08 13:15:20 +03: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
Alexey Sedunov 1a36c3e29a Quick Fixes: Implement quickfix for missing library 2015-10-08 13:15:15 +03:00
Alexey Sedunov f59e56b7e9 Minor: Simplify generateMembers() function 2015-10-08 13:15:13 +03:00
Alexey Sedunov 3c14bedc04 Minor: Move around some functions 2015-10-08 13:15:07 +03:00
Valentin Kipyatkov 84008e9381 Comment 2015-10-07 23:09:57 +03:00
Valentin Kipyatkov cb24d3df1a Fixed JetLanguage + used better api 2015-10-07 23:09:56 +03:00
Valentin Kipyatkov 9d51e8e0e6 Added test 2015-10-07 23:09:56 +03:00
Valentin Kipyatkov 016401a2b7 Fixed test data 2015-10-07 23:09:56 +03:00
Valentin Kipyatkov af9e66da62 Checked that "KT-7441 Smart completion does not work for argument of "this(..)" or "super(..)" call in non-primary constructor declaration" has been fixed too
#KT-7441 Fixed
2015-10-07 23:09:56 +03:00
Valentin Kipyatkov 9b0292f4c0 Fixed incorrect filtering of super constructors by visibility in Parameter Info 2015-10-07 23:09:56 +03:00
Valentin Kipyatkov 6ed7ac5285 KT-7231 Support Parameter Info inside this or super constructor calls
#KT-7231 Fixed
2015-10-07 23:09:56 +03:00
Valentin Kipyatkov 4256fb9c6e Checked that KT-9006 has been fixed
#KT-9006 Obsolete
2015-10-07 23:09:55 +03:00
Valentin Kipyatkov b5ee84075a Do not show synthesized parameter names in Parameter Info 2015-10-07 23:09:55 +03:00
Valentin Kipyatkov 6e8be8d5af Extracted common code for detecting candidates for a Call 2015-10-07 23:09:55 +03:00
Valentin Kipyatkov b997b3b09e No named arguments completion in brackets 2015-10-07 23:09:55 +03:00
Valentin Kipyatkov c876759ee0 Insert ']' instead of ')' 2015-10-07 23:09:55 +03:00
Valentin Kipyatkov fa51ca5716 KT-4977 Smart completion should work for arguments in brackets
#KT-4977 Fixed
2015-10-07 23:09:54 +03:00