Commit Graph

59 Commits

Author SHA1 Message Date
Svetlana Isakova a27abfe355 tests fixed 2012-09-24 15:24:21 +04:00
Svetlana Isakova 85f3dbf4fc added annotations for Collections and Arrays 2012-09-24 14:18:04 +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
Svetlana Isakova 7d37df5f38 tests changes after collections mapping 2012-09-05 18:55:16 +04:00
Nikolay Krasko 83d0e8ebb5 - Merge https://github.com/JetBrains/kotlin/pull/90
- Move introduce and remove !! call to one class
2012-07-02 20:41:18 +04:00
Sergey Lukjanov d879827371 Test for "unnecessary non-null assertion quickfix should not displayed for 'value!!.foo()' case" has been added. 2012-07-02 20:41:17 +04:00
Nikolay Krasko bade0e0275 Check that quick fixes don't produce new errors 2012-06-27 17:41:21 +04:00
Sergey Lukjanov 4478f2dc4a Test for unnecessary non-null assertion fixed 2012-06-20 13:06:53 +04:00
Sergey Lukjanov a4584e96d7 Tests has been added 2012-06-18 18:47:32 +04:00
Svetlana Isakova 2286022307 get rid of 'internal protected' visibility 2012-06-09 19:43:53 +04:00
Nikolay Krasko c00c4d3881 KT-1808 Auto import offers private static Java classes
#KT-1808 fixed
2012-06-01 17:09:44 +04:00
Svetlana Isakova 327b471eaf "Change to function invocation" fix added 2012-05-23 21:53:17 +04:00
Alexander.Podkhalyuzin b5b9f7ba98 Fixed broken testdata. 2012-05-23 15:58:12 +04:00
Evgeny Gerashchenko d228dc5f02 Specify type explicitly quick fix now has lower case of letters (due to naming convention of quick fixes) 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko 22010a5ae0 Changed RemovePartsFromPropertyFix so it uses SpecifyTypeExplicitlyAction.addTypeAnnotation() instead of AddReturnTypeFix.addPropertyType(). 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko 78ab4b6ae7 Added functions logic in SpecifyTypesExplicitlyAction. 2012-05-03 20:51:42 +04:00
Evgeny Gerashchenko 322578b773 Replaced AddReturnTypeFix with SpecifyTypeExplicitlyAction for properties. 2012-05-03 20:51:42 +04:00
Svetlana Isakova 1ed79d534f KT-151 Inherit visibility when overriding
#KT-151 Fixed

Visibilities.INHERITED constant added (occurs only during resolve), changed after overridden descriptors resolve
Fake descriptors are created for invisible properties as well (is necessary for better error reporting)
2012-04-18 19:02:24 +04:00
Nikolay Krasko a0d8ab6db5 KT-1712 Formatting for getters and setters
#KT-1712 fixed
2012-04-04 17:36:55 +04:00
Svetlana Isakova 0f20d4a6e2 Added 'change visibility modifier' quick fix 2012-04-04 14:36:56 +04:00
Sergey Lukjanov 99c7b9ef3e Autoimports tests has been updated. 2012-03-30 18:34:04 +04:00
Nikolay Krasko ed969eb0b4 Do not suggest to import something that is already imported 2012-03-26 14:47:19 +04:00
Nikolay Krasko c21cdaf413 Start working with spaces:
KT-1532 IDEA should remove extra whitespaces when reformmating code
KT-1378 Code formatting: spaces around ':'

#KT-1532 fixed
#KT-1378 fixed
2012-03-11 22:11:55 +04:00
Nikolay Krasko efece992eb Completion for top-level functions from class and jar files - import quick fix 2012-03-11 16:54:07 +04:00
Nikolay Krasko ec29e06115 - KT-1430 Import popup/type completion does not work for extension functions
- refactoring for auto import tests
2012-03-07 13:42:06 +04:00
Nikolay Krasko a9bab96e33 Auto-import before object declaration corrupts code 2012-02-29 19:37:17 +04:00
Svetlana Isakova 631961e761 Diagnostics & diagnostic factories refactoring 2012-02-27 21:39:26 +04:00
Nikolay Krasko 21394c8486 - KT-1232 Do not place import with default imports in scope after completion
- Don't activate not-in-scope completion on typing by default
2012-02-10 16:27:05 +04:00
Nikolay Krasko 01e71cbd59 Don't add import if there's general import with .* exist 2012-02-08 15:27:41 +04:00
Nikolay Krasko 2826db7d9a KT-1103 Public outer function from different package and source file is not visible in completion:
- Stubs elements are enabled
- Changed method for selecting indexing policy for plugin and compiler
- Quick fix for import unresolved top-level function added
2012-01-31 14:10:08 +04:00
svtk 428681f1d3 'add primary constructor fix' changed to 'change to invocation fix' (for delegators to super class) 2012-01-24 16:58:29 +04:00
svtk 70d0cd882b KT-650 Prohibit creating class without constructor 2012-01-24 16:58:29 +04:00
Nikolay Krasko cb2219e72d KT-949 AssertionFailure in quick fix 2012-01-11 16:16:34 +04:00
svtk 0e8dbbac2f quick fixes refactoring (disuse of CodeEditUtil) 2011-12-29 15:50:30 +04:00
svtk a61f848861 ImportClassHelper (quick fixes) refactoring 2011-12-29 15:40:20 +04:00
svtk 4272dafc36 ReplaceCallFix instead of two ReplaceDotCallWithSafeCall & ReplaceSafeCallWithDotCall 2011-12-27 19:21:33 +04:00
svtk 7f46ed8e53 added fix "replace dot call with safe call" (from Sergey Ignatov) 2011-12-27 17:44:35 +04:00
Nikolay Krasko 25f7c139e0 Remove invalid tests (valid tests are already exist) 2011-12-27 15:51:13 +04:00
Andrey Breslav f52eae71d0 GreatSyntacticShift: 'namespace' -> 'package' 2011-12-25 15:51:59 +04:00
Nikolay Krasko 17e8a2663d KT-805 Auto import on code completion insert (multifile test) 2011-12-19 19:32:02 +04:00
Nikolay Krasko 26ec797444 KT-805 Auto import on code completion insert (Initial version) 2011-12-16 13:23:58 +04:00
svtk ec55dddfcd backing fields resolve changed
KT-462 Consider allowing initializing properties via property names when it is safe
KT-598 Allow to use backing fields after this expression
2011-12-06 22:41:19 +04:00
Nikolay Krasko 0c758902ef KT-621 Remove .foo() pattern matching from when (Some tests were rewritten) 2011-11-25 17:39:16 +04:00
svtk a00ad38a1c KT-510 this. allows initialization without backing field 2011-11-21 14:35:08 +04:00
svtk d1787a5f6e tests fixed 2011-11-07 13:31:52 +04:00
svtk 2eb7835ae1 Registered 'change variable mutability' fix for 'val reassignment' error 2011-11-03 18:30:28 +04:00
svtk a3ef9f9b50 Added 'change to backing field' fix 2011-11-01 19:00:57 +04:00
svtk f7950f9469 rename 2011-10-25 17:40:36 +04:00