Natalia Ukhorskaya
c4f7bf6815
Add test for inserting imports in JetCodeFragment after completion
2015-03-10 15:27:36 +03:00
Valentin Kipyatkov
3e85b97e1a
Completion after $ in string literal works correctly for classes and objects
2015-03-06 22:04:17 +03:00
Valentin Kipyatkov
de7b4dc681
Surround with braces when completing backing field in string template
2015-03-06 22:04:17 +03:00
Valentin Kipyatkov
620fb8683b
KT-6191 Support completion for backing field
...
#KT-6191 Fixed
2015-03-06 22:04:17 +03:00
Valentin Kipyatkov
2ef80d1b34
Completion after "this@" includes immediate this too
...
#KT-6836 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov
ffff6226b0
KT-6608 Code completion does not work after $ in string literals
...
KT-5070 Add braces when complete function in string templates
#KT-6608 Fixed
#KT-5070 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov
234555bb33
Fixed KT-6890 No autocomplete for receiver methods and properties in extension property
...
#KT-6890 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov
c5d21e1f45
Fixed KT-6673 Completion: no properties from outside class inside anonymous object
...
#KT-6673 Fixed
2015-03-06 22:04:15 +03:00
Valentin Kipyatkov
5e66727ff6
Checked that KT-6623 has been fixed
2015-03-06 22:04:15 +03:00
Valentin Kipyatkov
114bfbb2ad
Fixed bug with wrong completion in class declaration
2015-03-06 22:04:15 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Pavel V. Talanov
97989d174e
Update keyword completion test data
...
after introducing 'default' soft keyword
2015-03-06 12:43:29 +03:00
Pavel V. Talanov
4370b50841
Minor: change rendering of class objects' types in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov
cbf9208c1d
Minor: change rendering of class objects in source code renderers
...
Fixes one particular case in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov
ffabe19229
Prohibit accessing nested classes/objects of class object using class literal
...
The fqname of class should be clear from code
Example: can't shorten A.Default.B.Default.C to A.B.C
Also fixes problem when nested class of enum class could be accessed via enum entry
2015-03-03 13:04:29 +03:00
Pavel V. Talanov
cceb5738c8
Can't omit default object name in imports and types
...
There should be only one way to denote a type (A.Default.B can't be denoted as A.B)
2015-03-03 13:04:28 +03:00
Pavel V. Talanov
2053da91dd
Fix EXPRESSION_TYPE target for QualifierReceiver
...
Affected completion from objects in some cases
2015-02-20 14:47:36 +03:00
Valentin Kipyatkov
0a363fc371
Import is placed in some specific order on adding
2015-02-19 11:07:02 +03:00
Pavel V. Talanov
ed5e2a21d1
Restore some of the tests for deprecated OBJECT$ field
2015-02-16 15:38:45 +03:00
Pavel V. Talanov
d689c11848
Update test for class object completion
2015-02-16 15:38:39 +03:00
Pavel V. Talanov
1972c2f177
Update test data for various tests
...
Due to slight semantic changes after class object refactor
2015-02-16 15:38:37 +03:00
Pavel V. Talanov
a1f4c06a49
Update test data that mentioned old JvmAbi constants
2015-02-16 15:38:34 +03:00
Valentin Kipyatkov
b03b96f202
Fixed optimization in IterableTypesDetector which did not work from the beginning + make it work on FuzzyType
2015-02-10 16:13:51 +03:00
Valentin Kipyatkov
3c573d555a
Smart completion: heuristic parameter types for some methods like Collection.contains()
2015-02-10 16:13:51 +03:00
Valentin Kipyatkov
6d06436c34
KT-6376 Smart completion should work after "in" and "!in"
...
#KT-6376 Fixed
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov
eae244c308
Grouped test data for smart completion by folders
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov
a32029f1fc
Smart completion for for loop range to use loop variable type if defined
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov
f057445f6e
KT-5035 Smart completion should work after "in" keyword in for loop
...
#KT-5035 Fixed
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov
033b626a08
Fixed test data
2015-02-09 13:02:04 +03:00
Dmitry Jemerov
49cecc35fd
completion in kdoc
2015-02-05 18:30:02 +01:00
Valentin Kipyatkov
eed0def1cb
Completion auto-popup works at the start of function literal
2015-01-14 20:57:28 +03:00
Valentin Kipyatkov
9e526fca58
Completion for "file" keyword in annotations
2015-01-14 20:57:28 +03:00
Valentin Kipyatkov
fde1890de9
More tests
...
#KT-1670 Fixed
#KT-2690 Fixed
2015-01-14 20:57:27 +03:00
Valentin Kipyatkov
ec1541a692
No completion auto-popup where parameter name can be
2015-01-14 20:57:27 +03:00
Valentin Kipyatkov
000cde3f7f
KT-6225 Completion of annotations for method parameters
...
#KT-6225 Fixed
2015-01-14 20:57:27 +03:00
Alexander Udalov
662e8707b2
Minor, drop copyright from test data
2015-01-13 01:15:17 +03:00
Valentin Kipyatkov
4b2ee7e645
Fixed KT-6429 Wrong replacement range in smart completion in some particular case
...
#KT-6429 Fixed
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
51678d0a45
KT-5874 Support code completion of label names after "continue@" and "break@"
...
#KT-5874 Fixed
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
0b687ddb05
Added tests for space insertion after return@xxx + do not overwrite space after keyword
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
e39443d53a
Refactored tests for keywords insertion to be all generated
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov
cdb5ec3492
KT-5875 Support code completion after "return@"
...
#KT-5875 Fixed
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
39a5486db8
Completion of this@...: supported labeled function literals
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
05be100f53
Corrected test data which was incorrect before
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
3b0fe8831b
Code completion of "this@..."
...
#KT-2035 Fixed
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov
ddd63d69e9
KT-6442 Completion of inner class name contains outer name
...
#KT-6442 Fixed
2014-12-29 17:27:28 +03:00
Valentin Kipyatkov
b94e9e63c3
KT-6534 Code completion of global function does not insert import in very specific context
...
#KT-6534 Fixed
2014-12-29 17:27:28 +03:00
Valentin Kipyatkov
1f17d7adcd
Changed language sematics: imports with '*' do not import packages anymore
2014-12-26 15:45:01 +03:00
Valentin Kipyatkov
9f6d32f1f6
Fixed EA-63622 - IAE: FqName.validateFqName
2014-12-24 15:48:42 +03:00
Valentin Kipyatkov
64da34e78b
Corrections after review + one more test added
2014-12-24 15:48:42 +03:00
Valentin Kipyatkov
bfdbbe0247
KT-6407 Completing function with "tab" (replace) shouldn't insert parentheses when type arguments are present
...
#KT-6407 Fixed
2014-12-24 15:48:42 +03:00