Valentin Kipyatkov
47d3e2e1bb
Smart completion: this expressions added
2013-11-27 21:00:19 +04:00
Valentin Kipyatkov
29f7318f4f
Refactored completion tests to support more flexible input file format
2013-11-27 21:00:19 +04:00
Valentin Kipyatkov
912fb904b8
Smart completion: declarations of type Nothing filtered out
2013-11-27 21:00:18 +04:00
Mikhael Bogdanov
868f4841be
Inline keyword removal
2013-11-26 12:53:06 +04:00
Valentin Kipyatkov
3fe55c997f
Smart completion: changed test data to use Any instead of Object
2013-11-18 17:54:09 +04:00
Valentin Kipyatkov
acb5bb2b07
Smart completion: auto-casted types supported
2013-11-18 17:54:09 +04:00
Valentin Kipyatkov
2d3b0ffc0b
Smart completion: offer class instantiating choice
2013-11-13 20:17:45 +04:00
Valentin Kipyatkov
a7f11e6852
Very initial implementation of smart completion
2013-11-11 21:46:05 +04:00
Erokhin Stanislav
bb6fd90bd9
JS backend: move StringBuilder to java.lang. Fix append return type.
2013-11-05 20:55:49 +04:00
Nikolay Krasko
0c49b91098
Complete functions with single parameter on typing '{'
...
For KT-4049 When completing a function that takes a lambda and immediately typing '{', swallow the '{'
#KT-4049 Fixed
2013-10-16 18:56:51 +04:00
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