Evgeny Gerashchenko
958f7c862d
Got rid of "namespace" word in test data.
2014-01-14 18:06:50 +04:00
Valentin Kipyatkov
9fa29535b4
Fixed tests
2014-01-14 16:14:56 +04:00
Valentin Kipyatkov
7aed55fa1d
Reference shortening: performance optimization
2014-01-13 19:50:35 +04:00
Valentin Kipyatkov
259d9fb891
Smart completion handlers tests made generated
2013-12-26 17:29:39 +04:00
Valentin Kipyatkov
39f07b8354
Smart completion: imports insertion + fixed both behaviour and presentation of qualified members in lookup
2013-12-26 17:29:38 +04:00
Nikolay Krasko
bbf1dff818
KT-4158 Autopopup completion selects irrelevant keyword and confuses typing
...
#KT-4158 Fixed
2013-12-23 16:43:15 +04:00
Valentin Kipyatkov
914a566094
Smart completion: anonymous object creation + rewrote some code using LookupElementDecorator
2013-12-20 18:49:11 +04:00
Valentin Kipyatkov
9627a335c2
Smart completion: no items of unresolved types
2013-12-20 18:49:10 +04:00
Valentin Kipyatkov
24b68e7bdf
Completion: better replacement range calculation for both basic and smart completions
2013-12-19 16:07:46 +04:00
Valentin Kipyatkov
d28705a5ec
Smart completion to ignore context after the caret
2013-12-19 16:07:46 +04:00
Valentin Kipyatkov
843a005aec
Fixed KT-4318 Keyword should be selected in completion if there's exact match
...
#KT-4318 Fixed
2013-12-17 21:17:56 +04:00
Nikolay Krasko
dbc1f6b42c
Fix autopopup completion with irrelevant variants after typing 'f' suffix for float number
...
#KT-4312 Fixed
2013-12-17 17:43:13 +04:00
Valentin Kipyatkov
f22ba73a92
Smart completion: enum members to be listed after qualifier too
2013-12-16 21:23:09 +04:00
Valentin Kipyatkov
db77eb54d7
Smart completion: java static members, enum members and class object members added
2013-12-16 21:23:08 +04:00
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