Commit Graph

1015 Commits

Author SHA1 Message Date
Nikolay Krasko 9d65cb482d KT-2866 Names from multi-declarations do not show up in completion
Test added
 #KT-2866 Fixed
2012-11-06 18:54:35 +04:00
Andrey Breslav 14e5b777c4 EA-39104 - IAE: DescriptorResolver.getPropertyDeclarationInnerScope
Fixed
2012-11-06 12:59:37 +04:00
Evgeny Gerashchenko 5c88e40772 KT-2859 Inconsistency before reparse upon completing by Tab key
#KT-2859 fixed
2012-10-30 18:41:01 +04:00
Evgeny Gerashchenko c84cd7f961 Renamed ClassObject$ to object in JVM backend. 2012-10-30 18:41:00 +04:00
Evgeny Gerashchenko c4bda6a260 KT-3000 "Specify Type Explicitly" action works wrong for Enum
#KT-3000 fixed
2012-10-29 21:51:02 +04:00
Evgeny Gerashchenko 4e05bee22a Fixed case for intention actions texts. 2012-10-29 21:51:02 +04:00
Alexander Udalov 6e2e724b99 Implement JetPositionManager.getSourcePosition() properly
JetPositionManager now finds a PsiFile to create a SourcePosition correctly.
This fixes problems with breakpoints and navigation between frames when there's
more than one file with the given name (not necessarily in the same package)
2012-10-25 21:41:26 +04:00
Alexander Udalov 1469c1fe5e Fix numbering in debugger tests
Line number in SourcePosition is actually 0-based
2012-10-25 21:33:30 +04:00
Alexander Udalov f42478f82f JetExceptionFilter handles correctly the case of several files with the same name
Extract the logic to DebuggerUtils.findSourceFileForClass()

This fixes navigation from stack trace to a file, when there's more than one
file with this name in this package in the project
2012-10-25 21:32:32 +04:00
Alexander Udalov dd6d7d90bc Fix navigation from stack trace
JetExceptionFilter now correctly assigns hyperlinks to items of form
"namespace$...", found in exception stack traces

 #KT-2489 Fixed
 #KT-2941 Fixed
2012-10-25 21:28:41 +04:00
Alexander Udalov eb6da4bb8b Test for JetExceptionFilter 2012-10-25 21:28:40 +04:00
Nikolay Krasko b62fe5f5fb Move caret into generated else branch 2012-10-25 18:55:53 +04:00
Nikolay Krasko 33240f167d Add else entry for when quick fix 2012-10-25 18:55:52 +04:00
Andrey Breslav b5385788a3 Don't generate UNNECESSARY_SAFE_CALL on variables of generic type <T: Any?> 2012-10-25 17:05:28 +04:00
Natalia.Ukhorskaya cacb2a6761 Change tooltip message for deprecated items 2012-10-24 11:56:43 +04:00
Natalia.Ukhorskaya 37288a337b #KT-2981 Fixed Show deprecated items after not deprecated in completion list 2012-10-23 13:21:59 +04:00
Nikolay Krasko a3b86f5f8b Special behaviour for space completion char on function literal insertion 2012-10-23 12:14:53 +04:00
Andrey Breslav 80039d8533 A warning for redundant '?' in types 2012-10-19 19:24:14 +04:00
Andrey Breslav a7b6b34e29 Properly determine what classes to show in Kotlin completion:
Classes like Int and jet.Iterable should are not visible from Java
since they are erased at runtime. We call such classes non-physical,
they have to be added to completion manually.`
2012-10-18 19:57:18 +04:00
Natalia.Ukhorskaya 62d8153ada Map java.land.Deprecated to jet.deprecated
Change testData for deprecated annotation
 #KT-2947 Fixed
2012-10-18 19:14:04 +04:00
Nikolay Krasko 11da503c62 KT-2962 auto completion support for extension functions
#KT-2962 Fixed
2012-10-18 14:52:37 +04:00
Andrey Breslav 9387c974bd Resolving references to builtins: first loading Unit.jet, and then the rest of the library
Test data fixed to get rid of jet.src directory
2012-10-17 14:38:22 +04:00
Andrey Breslav ee5b50cb1b Incorrect comparison to default bound fixed 2012-10-17 13:48:07 +04:00
Svetlana Isakova e7cbff14ef mark last parenthesis instead of value argument list 2012-10-16 20:14:52 +04:00
Svetlana Isakova 0d4d576fed fixed exception in renderer for type inference error 2012-10-16 17:28:24 +04:00
Nikolay Krasko 04670d5d6e Navigate to symbol for kotlin properties 2012-10-16 15:38:26 +04:00
Nikolay Krasko 440f781a93 Insert one additional space for function literals 2012-10-15 20:45:35 +04:00
Natalia.Ukhorskaya 20352b3810 Highlight references to deprecated things accordingly
#KT-2925 Fixed
2012-10-12 15:23:04 +04:00
Natalia.Ukhorskaya 7de6c30506 Add tests for ClassInheritorsSearch and AnnotatedMembersSearch
Add test for junit
2012-10-05 12:07:31 +04:00
Nikolay Krasko 86d8be76cb EA-39162 Exception while trying to wrap method with default parameters 2012-09-27 18:52:58 +04:00
Alexander Udalov 38a42bdb79 Do not wrap built-in function in JetLightClass (EA-38770)
Built-in top-level functions are located in jet.namespace class.
JetStandardClasses.isStandardClass() now checks that a given fqName starts with
"jet.", instead of searching it in the standard scope, to prevent this kind of
errors in the future
2012-09-27 16:30:59 +04:00
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 2abe2e581d AbstractStringBuilder, StringBuilder and java.io.File annotated with nullable/notnull 2012-09-20 18:12:57 +04:00
Nikolay Krasko 8c50b0ce9d KT-2424 Invoking completion adds unnecessary FQ name
#KT-2424 Obsolete
2012-09-20 16:50:16 +04:00
Nikolay Krasko c7af6de16b KT-1187 Wrong unnecessary completion
#KT-1187 Fixed
2012-09-20 16:50:12 +04:00
Nikolay Krasko b301bbe1f9 Don't activate top level completion in user types after dot 2012-09-20 16:50:08 +04:00
Nikolay Krasko f1059271b2 Udate test framework for confidence tests. Move type directive to test files 2012-09-20 16:49:36 +04:00
Nikolay Krasko 1ba4e5aee0 KT-2128 Code completion after number with dot - don't complete on '.' only in ".."
#KT-2128 Fixed
2012-09-20 14:53:08 +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
Andrey Breslav 5eaa5b396b Removing usages of tuples from test data
(KT-2358 Drop tuples)
 #KT-2358 In progress
2012-09-18 20:27:09 +04:00
Nikolay Krasko 5ff1c4007d Don't complete keywords for upper case prefix 2012-09-18 19:54:20 +04:00
Nikolay Krasko ab1095a84e Formatter: remove unnecessary spaces in value and type parameter lists 2012-09-18 19:26:53 +04:00
Nikolay Krasko e29182b2fb Don't indent { for functions on new lines 2012-09-18 19:26:52 +04:00
Nikolay Krasko 72fb2c0d02 KT-2242 Fix {<space>(a: Int) -> a } case
#KT-2242 Fixed
2012-09-18 19:26:51 +04:00
Evgeny Gerashchenko 8aa13a301c Added standard library reference resolver test cases with equals and toString functions. 2012-09-17 18:01:40 +04:00
Evgeny Gerashchenko 07259e7683 Added completion handler test with built-in extension function. 2012-09-17 18:01:15 +04:00
Evgeny Gerashchenko c6a040a380 Removed sure() function from built-ins. 2012-09-17 18:00:22 +04:00