Commit Graph

886 Commits

Author SHA1 Message Date
Svetlana Isakova 2286022307 get rid of 'internal protected' visibility 2012-06-09 19:43:53 +04:00
Nikolay Krasko f8926c8a93 Absence of type is not enough for concluding function has type inference 2012-06-09 15:54:56 +04:00
Nikolay Krasko b104d70196 More aggressive block cache invalidation for declarations with type inference 2012-06-08 22:53:17 +04:00
Nikolay Krasko b5d5e42e5b KT-2217 Formatter fails to format unary minus
#KT-2217 fixed
2012-06-08 21:59:50 +04:00
Stepan Koltsov ccdd37053c fix test 2012-06-08 05:12:05 +04:00
Nikolay Krasko 184d3fb16e - Tests for OUT_OF_CODE_BLOCK_MODIFICATION behaviour
- Enable behaviour for property accessors
2012-06-05 17:54:22 +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
Nikolay Krasko 32b70db6b2 KT-1920 Don't complete java.lang.Double for the prefix Double
#KT-1920 fixed
2012-06-01 13:28:12 +04:00
Nikolay Krasko f18372cfdc KT-1672 Don't complete import java.lang.reflect.Array when Array is typed at the beginning of a line
#KT-1672 fixed
2012-06-01 00:11:54 +04:00
Nikolay Krasko 8d69af87ce Completion for java inner class names 2012-05-31 19:58:05 +04:00
Evgeny Gerashchenko 9b403bfb66 KT-2111 Highlight Java classes/interfaces/etc in Kotlin code
#KT-2111 fixed
2012-05-31 18:12:09 +04:00
Evgeny Gerashchenko b3e211a3ba KT-2139 java.sql.Array inserted by completion is inserted by short name, and import is not added
#KT-2139 fixed
2012-05-30 18:05:49 +04:00
Nikolay Krasko d759d50811 Change representation of extension functions 2012-05-29 15:03:36 +04:00
Nikolay Krasko 252ba5672e KT-2122 Code completion after val with space should not add local variable's name (set priority in completion for local variables and parameters)
#KT-2122 fixed
2012-05-28 21:19:45 +04:00
Svetlana Isakova b6b1ce52e1 tests changed:
added check for unused/uninitialized variables inside local and anonymous functions
2012-05-28 12:06:13 +04:00
Nikolay Krasko e946a0f908 - Out of block modification strategy for Kotlin block expression
- Separate project analysis for IDEA needs: headers + bodies
2012-05-27 17:39:56 +04:00
Svetlana Isakova 0fd882741b function invocation with only type parameters prohibited 2012-05-23 22:04:22 +04:00
Svetlana Isakova 327b471eaf "Change to function invocation" fix added 2012-05-23 21:53:17 +04:00
Nikolay Krasko deb13344c0 Fix test and add special option for spacing around colon in type definitions 2012-05-23 19:29:18 +04:00
Alexander.Podkhalyuzin 48533ca8d2 Fixed KT-2072: do not suggest to use type inference in Introduce Variable in case if expression type depends on expected type. 2012-05-23 18:58:39 +04:00
Nikolay Krasko ccb8c08684 Fix test and add special option for spacing around colon in type definitions 2012-05-23 18:44:23 +04:00
Alexander.Podkhalyuzin b9267dc7cf Fixed KT-2071: Cannot Introduce Variable from function literal. 2012-05-23 15:58:55 +04:00
Alexander.Podkhalyuzin b5b9f7ba98 Fixed broken testdata. 2012-05-23 15:58:12 +04:00
Dmitry Jemerov 88c4778055 rename Kotlin methods used in Java code 2012-05-22 19:09:39 +02:00
Dmitry Jemerov fa1ecfaa93 find usages of Kotlin methods in Java code (KT-1819)
#KT-1819 fixed
2012-05-22 19:09:38 +02:00
Dmitry Jemerov 09cf7ac2aa find usages and rename work for Kotlin classes called from Java code (KT-1641)
#KT-1641 fixed
2012-05-22 19:09:38 +02:00
Svetlana Isakova b63d3905f9 KT-1256 Error highlighting in IDE should be less annoying
#KT-1256 fixed
2012-05-22 18:23:51 +04:00
Nikolay Krasko 8208489759 KT-1810 "defined in" in completion list takes space that could be used for more useful information - replaced to "in"
#KT-1810 fixed
2012-05-22 01:49:09 +04:00
Nikolay Krasko a7b11d2b4e KT-1673 Respect formatter settings in the completion list - apply standard renderer
#KT-1673 fixed
2012-05-22 01:45:36 +04:00
Alexander.Podkhalyuzin 8db0546052 Do not check function names in scope to suggest name for introduce variable refactoring (local values can overload function names from upper scopes). 2012-05-21 18:29:01 +04:00
Stepan Koltsov 8c8ed3a1ee KT-1388 Parse static final fields from java binary classes as non-null
#KT-1388 Fixed
2012-05-13 00:53:37 +04:00
Evgeny Gerashchenko 78914d0157 Merge branch 'master' of git+ssh://github.com/JetBrains/kotlin 2012-05-12 21:58:41 +04:00
Evgeny Gerashchenko 6f3f1a11f4 Added test cases for StandardLibraryReferenceResolverTest. 2012-05-12 21:56:45 +04:00
Evgeny Gerashchenko cfb0844706 Added test microframework and simple test for checking resolving of references to standard library. 2012-05-12 21:56:45 +04:00
Nikolay Krasko 9bbdb4cf56 KT-1950 Don't complete if after val
KT-1894 Do not suggest "trait" after fun
 #KT-1950 fixed
 #KT-1894 fixed
2012-05-12 17:10:06 +04:00
Evgeny Gerashchenko 124266ea68 Fixed highlighter tests. 2012-05-11 20:37:11 +04:00
Nikolay Krasko 5ac866ba3c KT-1912 Formatter: smart indent doesn't work in a function literal
#KT-1099 fixed
 #KT-1912 fixed
2012-05-11 18:36:33 +04:00
Evgeny Gerashchenko 646cdefc51 Updated test.
#KT-1896 fixed
2012-05-04 15:46:40 +04:00
Nikolay Krasko 652b9e78c3 Tests for KT-1888
#KT-1888 fixed
2012-05-04 14:24:34 +04:00
Evgeny Gerashchenko 5846123de1 Made "Remove Explicitly Specified Type" available on property type. 2012-05-03 21:15:55 +04:00
Evgeny Gerashchenko d9fc85f6f5 Added test for "Specify type explicitly" for loop parameters.
#KT-1890 fixed
2012-05-03 21:04:43 +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
Evgeny Gerashchenko c0b78cd635 Added tests for SpecifyTypeExplicitlyAction. 2012-05-03 20:51:42 +04:00
Svetlana Isakova d4b816ef56 KT-1743 Analyze immutable local variables and parameters which are captured in closure
#KT-1743 fixed
2012-05-03 17:56:45 +04:00
Evgeny Gerashchenko 33f9a391a5 Added test for case when type from overridden method has same short name as something already present.
#KT-1602 fixed
2012-05-02 19:54:31 +04:00
pTalanov 3e8624b440 Add test which checks whether compiler messages are understood correctly by the plugin. 2012-04-28 23:03:55 +04:00
Andrey Breslav 3ee8c5e469 A warning added: parameter names disagree upon override
This should be an error, but there is an issue with Java interop: Java parameters may change names or not have them.
2012-04-27 21:33:48 +04:00