Nikolay Krasko
37e4402822
Complete only imported classes on auto-typing and first completion and set up invocation count
2013-07-04 21:22:22 +04:00
Nikolay Krasko
f0a10b70c1
Fix wrong unnecessary completion for the case of force completion
...
#KT-1187 Fixed
2013-07-04 20:49:31 +04:00
Nikolay Krasko
994107ee0a
Mix class object scope to member resolution scope in lazy resolve
2013-06-07 17:24:17 +04:00
Nikolay Krasko
ddb7b54eee
KT-3620 Don't auto-import js.* and remove in optimize imports
...
KT-3620 Fixed
2013-05-20 17:56:24 +04:00
Evgeny Gerashchenko
cb2f24b1cc
Not loading SAM constructors for FunctionN classes.
2013-05-07 18:50:44 +04:00
Natalia.Ukhorskaya
b88981f678
Workaround for appearance of PsiClass from runtime in JavaDescriptorResolver
2013-04-30 21:47:26 +04:00
Michał Sapalski
7deec28b9c
Adjusted tests to the new DescriptorRenderer behaviour
2013-04-29 15:44:07 +04:00
Andrey Breslav
c422e4194d
Reverting pull request 240
2013-04-12 15:25:52 +04:00
Michał Sapalski
97796f9b0f
Refactoring: use DescriptionRenderer to generate overriding functions / properties.
2013-04-12 12:49:00 +04:00
Nikolay Krasko
87c9a65667
Move all basic completion tests to common folder
2013-04-11 20:00:29 +04:00
Nikolay Krasko
7f8e0e8803
Test keywords completion with fixture tests
2013-04-11 20:00:28 +04:00
Nikolay Krasko
aeff3c783e
Move class completion tests into ordinal tests
2013-04-11 20:00:25 +04:00
Nikolay Krasko
1a5ccafd47
Refactor tests and activate them for working with JS
2013-04-11 20:00:22 +04:00
Nikolay Krasko
f7ca9a579c
Refactor test: remove irrelevant code
2013-03-26 16:30:24 +04:00
Evgeny Gerashchenko
66e7a0110c
Updated test data and stdlib code which dependent on Tuple0/Unit
...
aliasing.
2013-03-22 16:38:24 +04:00
Natalia.Ukhorskaya
37986891df
Add JetInvokeFunctionReference for JetCallExpression
2013-03-15 14:23:10 +04:00
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