Commit Graph

121 Commits

Author SHA1 Message Date
Maxim Shafirov 3545f7758a Merge remote-tracking branch 'origin/master' 2013-02-04 18:04:07 +04:00
Maxim Shafirov 9f546f938d KT-3192 Drop kotlin.nullable package
#KT-3192 Fixed
2013-02-04 18:02:52 +04:00
Nikolay Krasko a15f1c8946 Test are imported functions completed 2013-02-04 14:23:24 +04:00
Natalia.Ukhorskaya 65f1efb921 Add JetPackageClass annotation 2013-01-15 19:45:07 +04:00
Natalia.Ukhorskaya 47abdcf565 Rename namespace class to {package.name}Package
Conflicts:

	compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Natalia.Ukhorskaya 0f2fa6bade Fix completion for top level non-imported functions 2013-01-15 19:45:04 +04:00
Nikolay Krasko 93b7e9add9 KT-1968 Double closing parentheses entered when completing unit function
#KT-1968 Fixed
2012-12-26 21:24:25 +04:00
Nikolay Krasko 689cff6196 KT-3157 Java void method are inserted with ; after completion
#KT-3157 Fixed
2012-12-13 21:14:53 +04:00
Nikolay Krasko 5368e8cef3 Process imports for functioncs and properties in creating scope for file
during lazy resolve

Fix for "KT-3096 No completion in function literal" and "KT-3102 No
completion/auto-import for an extension method"

 #KT-3102 Fixed
 #KT-3096 Fixed
2012-12-03 15:17:24 +04:00
Evgeny Gerashchenko a773b8426e Removed copyrights from Java test data. 2012-11-28 15:23:55 +04:00
Andrey Breslav a71ea5c6db EA-39003 - ISE: ResolveSession.resolveToDescriptor
Lokking up classes and objects by PSI element, rather than by name
2012-11-16 17:48:49 +04:00
Nikolay Krasko aca747390b KT-2849 Object that are not imported do not show up in completion
#KT-2849 Fixed
2012-11-09 14:49:28 +04:00
Nikolay Krasko 5cf708d056 Don't insert fqn even if current element is resolved into constructor 2012-11-09 14:49:26 +04:00
Nikolay Krasko dc5402337a KT-2796 Variable name is not completed in the receiver position of a chained call
#KT-2796 Fixed
2012-11-09 14:49:26 +04:00
Nikolay Krasko 91f7a094fe KT-1931 Duplicate class from Kotlin runtime in completion
#KT-1931 Fixed
2012-11-09 14:49:25 +04:00
Nikolay Krasko c081ced616 KT-2499 If Java class is imported, it is visible in completion three times: as Java class, Kotlin class and package
- Add java trace into delegation for lazy resolve session
 #KT-2499 Fixed
2012-11-09 14:49:23 +04:00
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
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 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
Nikolay Krasko 11da503c62 KT-2962 auto completion support for extension functions
#KT-2962 Fixed
2012-10-18 14:52:37 +04:00
Nikolay Krasko 440f781a93 Insert one additional space for function literals 2012-10-15 20:45:35 +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
Nikolay Krasko 5ff1c4007d Don't complete keywords for upper case prefix 2012-09-18 19:54:20 +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
Nikolay Krasko 7ad0fd56f3 EA-39175 Completion fails if MultiDeclaration is present on top level in file 2012-09-13 21:06:18 +04:00
Nikolay Krasko a95ba27b7d KT-2758 Errors in lazy resolve: Unknown TYPEDEF
Unknown declaration: TYPEDEF: Unknown declaration: TYPEDEF
 #KT-2758 Fixed
 EA-38287 Fixed
2012-09-13 21:06:18 +04:00
Nikolay Krasko 1121d9b316 EA-38789 Fix "Name is null for OBJECT_DECLARATION object" 2012-09-12 19:58:45 +04:00
Nikolay Krasko df76d2d3a8 In and Out keyword completion for generic parameters 2012-09-07 21:02:01 +04:00
Nikolay Krasko e043a6c699 Fix error keyword completion in modifier lists in parameters 2012-09-07 21:02:00 +04:00
Nikolay Krasko 0e3dd77098 KT-2170 "private" keyword completion does not work before "val"
#KT-2170 Fixed
2012-09-05 17:08:02 +04:00
Nikolay Krasko d9cd4f0d74 KT-2725 No completion in properties initializers and accessors
#KT-2725 Fixed
2012-09-04 16:37:37 +04:00
Nikolay Krasko 138373c94c KT-2724 No completion in class initializers
#KT-2724 Fixed
2012-09-04 15:36:30 +04:00
Svetlana Isakova 1b28604268 java Iterable/Iterator replaced to jet ones
in completion, js tests
2012-08-16 18:39:23 +04:00
Nikolay Krasko d1dc67c049 Search for function in resolve session with non-physical file 2012-08-14 14:15:13 +04:00
Nikolay Krasko 66eaeedd31 Add types in test 2012-08-06 11:05:09 +04:00
Nikolay Krasko 53c30553a5 No class completion in Leda (Leda only) 2012-07-25 19:52:18 +04:00
Evgeny Gerashchenko 03f38ef52a KT-2300 Auto-insertion of parenthesis by completion is not good for functions like "filter"
#KT-2300 fixed
2012-07-21 23:31:26 +04:00
Nikolay Krasko fa7ad96a4e Test parent scope completion in local object declaration 2012-07-20 16:28:02 +04:00
Stepan Koltsov ccdd37053c fix test 2012-06-08 05:12:05 +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