Alexander Udalov
102ced153c
Remove binary test data from completion tests
...
Delete CompileBinaryTestData script, since there are no tests with binary test
data left in the repository
2013-10-10 20:28:22 +04:00
Alexander Udalov
fdc631d595
Increase ABI version after changes to package fragment names
2013-10-02 17:05:47 +04:00
Alexander Udalov
a97bb80216
Serialize FQ names of Kotlin classes
...
This helps to avoid a nasty hack with loading inner Kotlin classes in JDR,
which makes it a bit easier to 'lazify' JDR, since now the container of a
Kotlin class is no longer required to be resolved eagerly before resolution of
the class itself
2013-09-30 22:43:18 +04:00
Alexander Udalov
a814f6a897
Advertise CompileBinaryTestData.kt in tests with binaries
2013-09-25 16:04:17 +04:00
Alexander Udalov
da1325f5cc
Add a script to regenerate binary test data (jars)
2013-09-24 20:33:00 +04:00
Nikolay Krasko
286eecffc5
KT-4000 Class name completion is not available inside call expressions
...
#KT-4000 Fixed
2013-09-24 16:54:27 +04:00
Nikolay Krasko
ed250198d8
Revert replacing "NUMBER" to "INVOCATION_COUNT" and replace "TIME" to "INVOCATION_COUNT"
2013-09-24 16:54:25 +04:00
Evgeny Gerashchenko
1ed168fd14
Removed IDE templates from completion, replaced them with keywords.
2013-09-17 18:09:59 +04:00
Nikolay Krasko
4477dadcd1
Fix the end of the replaced identifier for completion with tab char
...
Stop removing (, ), {, }, + and so on.
2013-09-17 15:11:29 +04:00
Nikolay Krasko
839df96200
Refactoring: change test data directive
2013-09-16 17:23:28 +04:00
Nikolay Krasko
c2ca8b618d
Order properties before keywords
2013-09-16 17:23:26 +04:00
Nikolay Krasko
b0acf758bc
Give more priority to declarations from the same file
2013-09-16 17:23:26 +04:00
Nikolay Krasko
39bf53155b
Generate weigher tests from Kotlin base
2013-09-16 17:23:25 +04:00
Nikolay Krasko
e6c6982c61
Always place keywords after local variables and parameters
2013-09-16 17:23:24 +04:00
Nikolay Krasko
d399465bf3
Override omitting parentheses on tab char if they are already placed
2013-09-04 20:45:18 +04:00
Pavel Talanov
1072b1943f
Provide sources of dependency in AbstractJavaWithLibCompletionTest
...
Test compiles dependency before running
2013-08-30 17:41:37 +04:00
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