Commit Graph

34 Commits

Author SHA1 Message Date
Denis Zharkov a9c1c3edb6 Add quickfix for missing 'constructor' inside primary ctor 2015-05-20 09:24:55 +03:00
Mikhail Glukhikh 3585c45f70 Fixed a quick fix for enum entry delimiters: situation with following comments. Three new tests. isAvailable(). 2015-05-19 11:22:57 +03:00
Mikhail Glukhikh 6342b98592 Fixed a quick fix for enum entry short super constructor syntax (situation with a preceding comment / annotation). Four extra tests. isAvailable(). 2015-05-19 11:22:34 +03:00
Dmitry Jemerov dc9523016a report 'trait' keyword as deprecated, provide quickfix for replacing with 'interface' 2015-05-15 18:20:39 +02:00
Mikhail Glukhikh 983339e1c9 Detection of semicolon between enum entries together with the correct delimiter quick fix for this case.
Error message reported directly on semicolon.
2015-05-15 16:13:41 +03:00
Mikhail Glukhikh edd269f5ff Quick fix for enum entry delimiter syntax fix, together with a set of tests.
Possible NPE in getNextSiblingIgnoringWhitespace fixed. Some warnings also removed.
Last comma is replaced by semicolon. Comments are taken into account.
2015-05-15 16:13:39 +03:00
Mikhail Glukhikh da3d083dc0 Quick fix for enum entry super constructor syntax fix, together with a set of tests 2015-05-15 16:13:36 +03:00
Valentin Kipyatkov 67a5e8a69d Fixed bug in DeprecatedLambdaSyntaxFix 2015-05-14 01:09:52 +03:00
Dmitry Jemerov 95f42ac050 fix test: redundant parentheses are no longer generated 2015-05-13 21:19:36 +02:00
Valentin Kipyatkov 837e46a9b8 Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes 2015-05-08 22:29:42 +03:00
Denis Zharkov e2cd983d49 Add quickfix for replacing deprecated annotations 2015-05-07 22:36:17 +03:00
Dmitry Jemerov 98b8784ab0 drop deprecated syntax for anonymous initializer blocks 2015-04-29 14:07:04 +02:00
Denis Zharkov 1fc742ffeb Add quickfix for java.lang.Class as annotation parameter 2015-04-29 14:03:11 +03:00
Denis Zharkov 44a55e5bf6 Adjust testData to new labels syntax 2015-04-29 14:03:11 +03:00
Dmitry Jemerov 683d727c72 drop deprecated syntax for class objects 2015-04-27 15:14:33 +02:00
Denis Zharkov 3cb6b61a47 Add quickfix for migrating Java annotation method calls 2015-04-23 11:22:39 +03:00
Denis Zharkov cc9322fbdd Add quickfix for usages of javaClass<T>() in annotations loaded from Java 2015-04-17 18:52:17 +03:00
Stanislav Erokhin cbcd2c3cce Fixed formatter for function expression 2015-03-26 22:08:46 +03:00
Stanislav Erokhin f40b503454 Create DeprecatedLambdaSyntaxFix for whole project 2015-03-26 22:08:45 +03:00
Denis Zharkov 3e0c6fc6a2 Add quickfix "Add 'init' keyword in whole project" 2015-03-18 19:59:25 +03:00
Stanislav Erokhin 0b76dbb492 Create DeprecatedLambdaSyntaxFix 2015-03-18 17:10:12 +03:00
Pavel V. Talanov 41b65205b0 default -> companion: fix message for quick fix 2015-03-18 14:35:53 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +03:00
Pavel V. Talanov a701cb2bd9 Add quick fix to replace all 'class object's in project 2015-03-10 18:21:33 +03:00
Pavel V. Talanov 81f9d34d1a Add quick fix for deprecated 'class object' syntax 2015-03-10 18:21:33 +03:00
Evgeny Gerashchenko ef93a71e78 Made "Remove val/var from parameter" quick fix local. 2014-10-15 11:51:01 +04:00
Pavel V. Talanov 23c9080ff3 Drop MigrateSureInProjectFix 2014-07-03 20:46:53 +04:00
Alexander Udalov b2d074c5cc Quickfix to add 'override' to equals, hashCode, toString in project
To help users migrate to the newest Kotlin version in two clicks
2014-03-02 19:54:55 +04:00
Valentin Kipyatkov d01ff28212 Quickfix and intention tests refactoring: refer to intention action by class when checking that it's not available (instead of listing all available actions) 2014-01-23 18:46:27 +04:00
Evgeny Gerashchenko cb4d680790 Removed migrate tuples quick fix. 2013-03-22 16:37:15 +04:00
Evgeny Gerashchenko a3eae3d5c1 Added quick fix which removes val/var from parameters all over the project. 2013-02-26 17:32:40 +04:00
Andrey Breslav bd0eab5202 Tuple migration quick fix now appears only on tupels shorter than 4
Longer tuples exhibit another error message.
Messages adjusted for compiler and IDE
2012-09-19 16:05:32 +04:00
Andrey Breslav 3aaed57a66 Quick fix to replace sure() calls with !! 2012-09-18 20:27:09 +04:00
Andrey Breslav 36b5573f4d A quick fix to replace tuples (expressions and types) by Unit, Pair and Triple
Changes are made to all files in the project
 This quick-fix is to be removed in the next milestone

 #KT-2358 In Progress
2012-09-18 20:27:09 +04:00