Commit Graph

3331 Commits

Author SHA1 Message Date
Valentin Kipyatkov 6df218df52 Fixed test data 2015-08-04 18:05:57 +03:00
Mikhail Glukhikh 4bd48c4796 Regular modifier checker implemented (initial version). A set of tests fixed accordingly.
Most of modifier diagnostic is expressed by REDUNDANT_MODIFIER, INCOMPATIBLE_MODIFIERS, REPEATED_MODIFIER, WRONG_MODIFIER_TARGET, WRONG_MODIFIER_PARENT.
A set of modifier diagnostics is not in use now (but not deleted yet).
2015-08-03 19:41:50 +03:00
Mikhail Glukhikh dfaed3fef3 Binary or runtime repeatable annotations are not allowed for JVM. Some tests fixed accordingly. 2015-08-03 19:41:45 +03:00
Valentin Kipyatkov d308c959ff Moved soft keyword highlighting and other analysis that do not require keywords into separate pass executed before running any resolve 2015-08-03 17:11:12 +03:00
Valentin Kipyatkov c2c6ba59fd Changes on code review 2015-08-03 16:28:44 +03:00
Valentin Kipyatkov 9bb2fe9a67 Optimization of parameter usages search 2015-08-03 16:28:43 +03:00
Denis Zharkov 6b92f67eac Load raw types as platform with specific bounds
Raw(A<T_i>) = (A<UP(T_i)>..A<*>)
Raw types have specific scopes that behaves like JVM signature erasure
2015-07-31 17:33:21 +03:00
Valentin Kipyatkov 196cecfe70 Fixed exception 2015-07-30 18:02:54 +03:00
Dmitry Jemerov 23dca520d5 ensure that a JetEnumEntry is equivalent to a KotlinLightEnumConstant
#KT-5057 Fixed
2015-07-30 16:36:18 +02:00
Dmitry Jemerov ee42da48e1 support multideclarations in Select Word
#KT-6833 Fixed
2015-07-30 13:53:03 +02:00
Dmitry Jemerov e545a7c699 add word selection step for selecting a type parameter or type argument list with enclosing brackets
#KT-6697 Fixed
2015-07-30 13:52:56 +02:00
Dmitry Jemerov 6d1ccc22ab reduce vertical whitespace in rendered KDoc comments 2015-07-30 10:38:16 +02:00
Dmitry Jemerov b483713f2c Render code blocks in KDoc 2015-07-30 10:38:15 +02:00
Dmitry Jemerov 909d094896 Fixed rendering of line breaks and apostrophes in KDoc
#KT-8531 Fixed
 #KT-8392 Fixed
2015-07-30 10:38:14 +02:00
Natalia Ukhorskaya 22ee063269 Add platformStatic annotation to main method from java
#KT-8219 Fixed
2015-07-30 10:00:24 +03:00
Valentin Kipyatkov 63dc843c71 KT-8542 Override dialog: only one class from hierarchy is shown
#KT-8542 Fixed
2015-07-28 22:39:31 +03:00
Valentin Kipyatkov 977bf593e0 KT-8574 'Convert to block body' inserts spurious < token
#KT-8574 Fixed
2015-07-28 22:39:29 +03:00
Alexey Sedunov 7dc430e50b Pull Up: Support super-interfaces 2015-07-28 18:48:35 +03:00
Alexey Sedunov 1a09741c0a Pull Up: Move property initializers 2015-07-28 18:48:33 +03:00
Alexey Sedunov 390f352e75 Pull Up: Implement conflict analysis 2015-07-28 18:48:32 +03:00
Alexey Sedunov 39ff3c3000 Pull Up: Initial support
#KT-7330 Fixed
2015-07-28 18:48:29 +03:00
Alexey Sedunov d23da408a8 Formatter: Add blank line before class/object declaration inside of declaration body 2015-07-28 18:48:23 +03:00
Mikhail Glukhikh d6406d8d4a Annotation repetition checking with a pair of tests, some old tests changes 2015-07-28 17:13:32 +03:00
Sergey Mashkov 0453368990 Better main function recognition and tests
fix vararg main
2015-07-24 17:20:40 +03:00
Sergey Mashkov 8457b53f8b Better main function recognition and tests 2015-07-24 17:20:40 +03:00
Valentin Kipyatkov e677049d00 Test for no annotations rendered in parameter info 2015-07-23 22:02:06 +03:00
Natalia Ukhorskaya ee49d13d89 Add tests on smart step into lambda 2015-07-23 11:54:43 +03:00
Natalia Ukhorskaya c8f57e007c Fix smart step into functions with expression body 2015-07-23 11:54:42 +03:00
Natalia Ukhorskaya 6c9da53414 Fix smart step into in libraries 2015-07-23 11:54:41 +03:00
Natalia Ukhorskaya b76b251489 SmartStepInto: render kotlin functions properly 2015-07-23 11:54:40 +03:00
Natalia Ukhorskaya d75c21a5a7 Smart step into function literal 2015-07-23 11:54:37 +03:00
Natalia Ukhorskaya 2121f707ab Fix completion for codeFragments on functions with expression body 2015-07-23 11:54:33 +03:00
Valentin Kipyatkov 851057a9ef Highlighting duplicated and redandant *-imports as unused 2015-07-22 21:16:15 +03:00
Valentin Kipyatkov edcb330281 Corrected/removed tests related to on-the-fly import optimization 2015-07-22 21:16:13 +03:00
Valentin Kipyatkov 1324ce5928 Added quickfix on unused import 2015-07-22 21:16:11 +03:00
Valentin Kipyatkov af192698ed Imports from current package are redundant too 2015-07-22 21:11:00 +03:00
Valentin Kipyatkov 68dec99ad7 KT-8389 Meaningless self-import insterted on "optimize imports"
#KT-8389 Fixed
2015-07-22 21:11:00 +03:00
Valentin Kipyatkov 344529a09a Fixed test 2015-07-22 21:11:00 +03:00
Valentin Kipyatkov e5d8eecc9d Unused import highlighting
#KT-5236 Fixed
2015-07-22 21:11:00 +03:00
Mikhail Glukhikh 414c44ade5 Make retention of 'kotlin.annotation.annotation' to SOURCE. Serialize / deserialize it instead. Some fixed tests. 2015-07-22 19:00:51 +03:00
Nikolay Krasko cbd4b6e204 Additional resolve for annotation on top level classes 2015-07-22 12:59:48 +03:00
Valentin Kipyatkov 10b405f961 Merge branch 'rr/valentin/for-loop-indices' 2015-07-22 09:48:18 +03:00
Pavel V. Talanov edc3755b91 Do not build light classes for decompiled enum entries 2015-07-21 20:52:44 +03:00
Valentin Kipyatkov 82cd58a556 Restored live template but made it more useful 2015-07-21 15:55:57 +03:00
Mikhail Glukhikh 94a00540be Targeting / retention for a set of standard annotations, some inapplicable annotation checks replaced with target check, some fixed tests 2015-07-21 15:36:53 +03:00
Mikhail Glukhikh 1309c1f95f Annotation mapper is introduced to map java annotation targets to kotlin targets + a set of new / fixed tests 2015-07-21 15:20:31 +03:00
Valentin Kipyatkov 6339ad4ec6 Added inspection based on RemoveForLoopIndicesIntention 2015-07-21 14:59:22 +03:00
Valentin Kipyatkov 8ffc1bb3a6 One more test added 2015-07-21 14:59:09 +03:00
Valentin Kipyatkov 0c9401c953 Renamed and correct test data 2015-07-21 14:59:08 +03:00
Valentin Kipyatkov dee6bb2f49 Fixed test 2015-07-21 11:39:59 +03:00