Valentin Kipyatkov
18b9e4a868
Added tests
2014-11-19 16:01:18 +03:00
Valentin Kipyatkov
e0da6247af
Completion: bold immediate members for extensions too
2014-11-19 12:56:47 +03:00
Valentin Kipyatkov
a26388ef63
Completion: corrected presentation for extension properties
2014-11-19 12:56:47 +03:00
Valentin Kipyatkov
386c67925f
Completion: do not bold top-level functions
2014-11-19 12:56:47 +03:00
Valentin Kipyatkov
fc993b88ec
Checked that KT-4453 has been fixed recently by change in TipsManager
2014-11-19 12:56:46 +03:00
Valentin Kipyatkov
d061c3d771
Completion: bold members from immediate class
2014-11-17 22:06:16 +03:00
Valentin Kipyatkov
7410c36e3a
Completion: moved signatures from "item text" to tail
...
#KT-5652 Fixed
2014-11-17 22:06:16 +03:00
Valentin Kipyatkov
3ebc681eec
Behavior on typing chars with code completion lookup is completely defined by our own handler + added tests for this handler + fixed a few bugs related to this behavior
2014-11-17 22:06:15 +03:00
Valentin Kipyatkov
eb25e47a51
Temporarily disabled optimization for faster non-imported extensions completion because it causes duplicated items, added test for this problem
2014-11-12 22:23:20 +03:00
Valentin Kipyatkov
fe5dbbf9b3
More efficient code completion + fixed a few bugs
2014-11-12 21:25:00 +03:00
Natalia Ukhorskaya
12b4fc7ad9
Resolve codeFragments with context of JetClass
2014-11-12 15:13:37 +03:00
Valentin Kipyatkov
304c826b47
Fixed KT-6128 Code completion does not work inside function literal if it's dependant on declarations below
...
#KT-6128 Fixed
2014-10-24 15:14:26 +04:00
Valentin Kipyatkov
4fd417d419
Fixing code completion in function literal parameters
...
#KT-4047 Fixed
#KT-5877 Fixed
2014-10-22 15:49:12 +04:00
Valentin Kipyatkov
59b66e7579
Fixed KT-6074 Package facade classes are shown in completion in kotlin files
...
#KT-6074 Fixed
2014-10-22 15:48:53 +04:00
Valentin Kipyatkov
cff0c35987
Checked that KT-3596 is not reproducible
2014-10-14 16:08:17 +04:00
Valentin Kipyatkov
f9bf214526
Code completion: avoid duplication of elements for java classes
2014-10-14 15:47:45 +04:00
Valentin Kipyatkov
eabcbb00ab
KT-5876 Code completion should never auto-insert item which requires adding import
...
#KT-5876 Fixed
2014-10-14 15:47:45 +04:00
Valentin Kipyatkov
a124827c4e
Fixed KT-5611 Completion doesn't include not imported extensions for implicit receiver
...
#KT-5611 Fixed
2014-10-14 15:47:44 +04:00
Pavel V. Talanov
ebbd08a546
Respect resolve scope when adapting java types completion
...
Do not suggest classes from unrelated modules
2014-10-10 21:14:30 +04:00
Svetlana Isakova
ce01c61811
Rename: auto cast -> smart cast
2014-10-01 18:52:52 +04:00
valentin
6e7e13d320
Fixed KT-5826 Keyword completion shouldn't kick in in comments
...
#KT-5826 Fixed
2014-09-25 17:10:28 +04:00
Valentin Kipyatkov
19fb090f28
Do not autopopup completion in name of generic function or property too
2014-09-25 17:10:25 +04:00
Valentin Kipyatkov
e6ea0537c8
More correct completion testing + fixed small bug in keyword completion
2014-09-25 17:10:25 +04:00
Valentin Kipyatkov
afbd1aeffc
KT-4027 No type name completion in an incomplete generic extension function declaration
...
KT-2940 No completion in the receiver type argument position
#KT-4027 Fixed
#KT-2940 Fixed
2014-09-25 17:10:24 +04:00
Valentin Kipyatkov
93d8791df1
No completion auto-popup after dot in float literal (but one test start to fail!)
2014-09-25 17:10:24 +04:00
Valentin Kipyatkov
94c9338e3c
Fixed KT-3807 Wrong completion for class/trait with extesion function
...
#KT-3807 Fixed
2014-09-25 17:10:23 +04:00
Valentin Kipyatkov
2bb553612c
Dealing with infix calls in completion
...
#KT-4846 Fixed
2014-09-25 17:10:22 +04:00
Valentin Kipyatkov
34aada75eb
Fixed KT-5795 Do not suggest member extension functions with wrong implicit reciever
...
#KT-5795 Fixed
2014-09-25 17:10:19 +04:00
Alexander Udalov
9434114c45
Make DescriptorRenderer escape names with dollars and other characters
...
#KT-5791 Fixed
2014-09-18 10:42:48 +04:00
Zalim Bashorov
30208d5532
Minor: drop semicolon in package declaration everywhere.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
838c384672
"js" -> "kotlin.js"
2014-09-16 19:32:37 +04:00
Valentin Kipyatkov
855cc2443f
KT-4976 Completion ignores smart casts
...
#KT-4976 Fixed
#KT-5718 Fixed
2014-09-03 15:43:25 +04:00
Valentin Kipyatkov
89aaa018fe
Completion: escaping of named arguments
2014-09-03 13:59:31 +04:00
Valentin Kipyatkov
9859b10854
Fixed test
2014-08-27 19:07:39 +04:00
Valentin Kipyatkov
bb343c2853
Fixed KT-5046 No autocompletion for not imported extension properties
...
#KT-5046 Fixed
2014-08-27 19:07:37 +04:00
Valentin Kipyatkov
9c138d8637
Fixed KT-1476 Code completion for not imported properties
...
#KT-1476 Fixed
2014-08-27 19:07:37 +04:00
Valentin Kipyatkov
3e2ad55c9e
Code completion: changed dummy identifier for basic completion to ignore context ahead + no invisible symbols on first completion even if nothing matches
2014-08-27 19:07:36 +04:00
Valentin Kipyatkov
386e39f4a2
Fixed KT-1797 No completion for nested class name in extension function definition
...
#KT-1797 Fixed
2014-08-07 21:55:15 +04:00
Valentin Kipyatkov
83b33bd58b
Only named parameters in completion when nothing else can be
2014-08-07 21:55:15 +04:00
Valentin Kipyatkov
b5058fa7fd
Do not shown inaccessible symbols on auto-popup
2014-08-07 21:55:15 +04:00
Nikolay Krasko
848863ef93
Completion fails with exception "Toplevel class has no fqName" (KT-5119)
...
Groovy scripts files can create PsiClasses with null qualfied names (getQualifiedName()) and names (getName()).
#KT-5119 Fixed
2014-06-02 20:36:42 +04:00
Pavel V. Talanov
b3898cfb0d
Force the user of AstAccessControl to write at least one test violating restriction, implement such tests for existing tests
...
This is needed because the slightest change in the test setup can make the check useless without the client knowing
The solution is ugly but gives at least some protection against this
2014-05-21 15:40:29 +04:00
Pavel V. Talanov
8354233f85
Add multi file test for completion of enum entry
2014-05-21 15:40:14 +04:00
Pavel V. Talanov
4c39886edc
Minor: fix test data
2014-05-21 15:40:13 +04:00
Pavel V. Talanov
fbf2cded0d
Refactor AbstractMultiFileJvmBasicCompletionTest to extend CompletionTestCase
...
Extract common code from JetFixtureCompletionBaseTestCase to CompletionTestUtil.kt
Reason for this change is that I couldn't get the check that prohibits tree loading to work with fixture test case
2014-05-21 15:40:12 +04:00
Natalia Ukhorskaya
d70770afb2
Completion and highlighting for blockCodeFragment
2014-05-15 13:54:26 +04:00
Valentin Kipyatkov
dab6045f6a
Fixed Code completion does not work inside function variable invocation
...
#KT-4978 Fixed
2014-05-07 22:50:23 +04:00
Valentin Kipyatkov
e8805f69bf
Code completion: template item for function taking lambda with 2 or more parameters (KT-4855) + better handling of type instantiation in smart completion
2014-04-23 19:21:28 +04:00
Natalia Ukhorskaya
931b628988
Editor for evaluate expression: implement highlighting and completion using ResolveElementCache
2014-04-23 18:10:02 +04:00
Nikolay Krasko
962044f887
Use render with short types names in completion lookup elements
2014-04-18 13:18:18 +04:00