Nikolay Krasko
aa4e4623d4
KT-1630 Do not select automatically completion proposal in definition of lambda parameters
...
#KT-1630 fixed
2012-04-19 16:06:15 +04:00
Svetlana Isakova
d08bb4e6ec
test for KT-1805 Better diagnostic for access to private field of parent class
...
#KT-1805 Fixed
2012-04-18 19:02:24 +04:00
Nikolay Krasko
e4026c6465
- KT-1756 Filter invisible members from the first completion list
...
- Analyze is reference variant is suitable for completion before creating LookupElement
- Show visibility icon in completion list for kotlin declarations
#KT-1756 fixed
2012-04-17 19:32:50 +04:00
Nikolay Krasko
f8d50fd9bb
Fix project completion in the beginning
2012-04-16 20:50:01 +04:00
Nikolay Krasko
531ffaaffa
KT-1645 Propose members according to smart casts
...
#KT-1645 fixed
2012-04-13 15:35:55 +04:00
Nikolay Krasko
26b47c0180
KT-1755 Duplicates in completion
...
#KT-1755 fixed
2012-04-11 17:54:45 +04:00
Nikolay Krasko
7de5f68629
KT-1238 Completion of 'break' keyword: why does it add space char at the end?
...
KT-1237 Auto-completion of "return" keyword should not insert space after it when in a method returning Unit
#KT-1237 fixed
#KT-1238 fixed
2012-04-09 11:43:46 +04:00
Svetlana Isakova
f7cfb36f62
# KT-1579 Fixed Can't import nested class/trait
2012-03-27 16:20:59 +04:00
Nikolay Krasko
072a552923
KT-1644 Propose types after fun — for receiver type
...
#KT-1644 fixed
2012-03-26 17:31:27 +04:00
James Strachan
b90fdf3d81
fix up test case
2012-03-26 09:10:46 +01:00
Nikolay Krasko
4d8b2d0727
Remove unnecessary code from the test
2012-03-24 02:51:11 +04:00
Stepan Koltsov
7836e44e70
Temporarily revert "kill JavaNamespaceDescriptor"
...
This reverts commit 3c45a1d60e .
This commit breaks compilation of jdk-headers. Explanation:
1. TopDownAnalyzer creates namespace java.util from sources
2. TopDownAnalyzer creates class Map in java.util
3. TopDownAnalyzer processes import java.util.Map.Entry
4. JavaDescriptorResolver resolves namespace java.util.Map
5. java.util.Map namespace is added to java.util namespace
6. redeclaration handler of namespace java.util crashes on Map
2012-03-24 02:23:30 +04:00
Stepan Koltsov
3c45a1d60e
kill JavaNamespaceDescriptor
2012-03-23 23:44:20 +04:00
Nikolay Krasko
4311bcc929
#KT-1629 fixed Don't import jet.runtime.SharedVar.Int when typing "val a : Int = ..."
...
Completion testing framework extended with ability to assert tail text.
2012-03-23 18:36:51 +04:00
Nikolay Krasko
4a3d0133f6
#KT-1598 fixed Wrong completion after "as" in imports
2012-03-22 18:57:20 +04:00
Nikolay Krasko
b80afe44b5
#KT-1604 Auto-completion of .sure() incorrectly imports jet.sure - test
2012-03-20 19:17:24 +04:00
Nikolay Krasko
b31c22e6a0
Fix test with invalid number of elements in completion
2012-03-19 15:03:47 +04:00
Nikolay Krasko
fba492c492
Completion for top-level functions from class and jar files.
2012-03-11 16:54:06 +04:00
Nikolay Krasko
ec29e06115
- KT-1430 Import popup/type completion does not work for extension functions
...
- refactoring for auto import tests
2012-03-07 13:42:06 +04:00
Nikolay Krasko
77150f02d9
KT-1373 Completion suggests constructors in type position
...
KT-1316 Type name completion inserts fully qualified name when works in incomplete code
2012-03-05 18:36:12 +04:00
Nikolay Krasko
84efd8536f
KT-1151 Code completion for not imported extension functions - test for completion not-imported function on nullable type
2012-02-29 17:14:09 +04:00
Nikolay Krasko
a086e3985e
KT-1151 Code completion for not imported extension functions - more tests for extension functions and properties
2012-02-29 17:14:07 +04:00
Nikolay Krasko
67dc9ba6e3
KT-1151 Code completion for not imported extension functions - ignore parameters
2012-02-29 17:14:06 +04:00
Nikolay Krasko
0a669b9c01
KT-1151 Code completion for not imported extension functions - test for completion extension function without params
2012-02-29 17:14:06 +04:00
Evgeny Gerashchenko
f89b0c3193
Fixed tests. Added 'object {...}' template after "class" inside class.
2012-02-23 23:46:14 +04:00
Evgeny Gerashchenko
6fadca9ac1
Fixed 'Completion suggests live tempates in name position'
...
#KT-1374 fixed
2012-02-23 22:49:55 +04:00
Nikolay Krasko
56fa9b29f2
KT-1229 Packages should be showed in package derictive - more files
2012-02-16 16:05:38 +04:00
Maxim Shafirov
a03922d467
Copyrights set to Apache, reflecting it's now open source
2012-02-14 19:25:06 +04:00
Nikolay Krasko
be5eeb2546
KT-985 Don't show the default package in the completion list
2012-02-13 20:03:29 +04:00
Nikolay Krasko
4dff90734e
KT-1231 Don't insert () after completion function in imports
2012-02-13 16:23:40 +04:00
Nikolay Krasko
41455a56c5
- KT-1227 Can't see basic types in class completion
...
- Remove duplicated test
2012-02-10 18:42:23 +04:00
Evgeny Gerashchenko
f671e78dce
Fixed keyword completion tests.
2012-02-08 18:59:26 +04:00
Nikolay Krasko
e8ffaa28f3
Don't add import after insertion function with fqn
2012-02-08 12:53:56 +04:00
Nikolay Krasko
d1409116f3
- KT-1147 Can't see local variable in completion
...
- Disable class level keywords from method parameters list
- Reorganize completion tests to separate methods
2012-02-07 20:06:29 +04:00
Nikolay Krasko
ddbd86cdf5
KT-1051 Java interoperability completion - enum tests and test for auto import directive auto insert
2012-02-07 14:05:08 +04:00
Nikolay Krasko
aa9b2db300
KT-1051 Java interoperability completion - more tests
2012-02-07 13:32:46 +04:00
Alefas
b0046348aa
Parameter info popup after completion insertion.
...
Do not add '(' if it's already exist in completion (+Tests).
2012-02-07 12:43:27 +04:00
Nikolay Krasko
ce6850ae4d
KT-1051 Java interoperability completion - fix java subpackages
2012-02-06 20:25:02 +04:00
Nikolay Krasko
afd8f380c9
Insert import on applying top level function completion
2012-02-06 15:47:34 +04:00
Nikolay Krasko
bd1bb1f0bd
- Tests for KT-1051, KT-1151 and KT-1100
...
- Icon for java fake class
2012-02-03 16:05:30 +04:00
Nikolay Krasko
9531415aae
KT-1051 Java interoperability completion - tests
2012-02-02 21:06:59 +04:00
Nikolay Krasko
2478582670
Simple handler with insertion imports for classes names completion
2012-02-02 16:46:43 +04:00
Nikolay Krasko
2826db7d9a
KT-1103 Public outer function from different package and source file is not visible in completion:
...
- Stubs elements are enabled
- Changed method for selecting indexing policy for plugin and compiler
- Quick fix for import unresolved top-level function added
2012-01-31 14:10:08 +04:00
Nikolay Krasko
79d5c2e3ed
Remove "ref" and "default" keywords from completion. Start using tokens for getting keyword completion constants.
2012-01-25 17:33:30 +04:00
Nikolay Krasko
5613cb90f9
KT-1036 JetFile -> PsiJavaFile cast problem
2012-01-24 15:00:07 +04:00
Nikolay Krasko
021fb14c77
KT-1065 No completion between function name and call brackets
2012-01-19 17:13:37 +04:00
Nikolay Krasko
c4bdd59f02
Make java classes completion popup not so obtrusive
2012-01-17 19:21:34 +04:00
Nikolay Krasko
62de24d6c9
KT-1021 "internal" is suggested in completion where type is expected
2012-01-17 13:58:00 +04:00
Nikolay Krasko
fb5771505b
KT-758 Show completion of namespaces in import statement
2012-01-10 18:59:42 +04:00
Nikolay Krasko
c6caffe02d
Keywords autocompletion - nothing for top scope after package directive
2011-12-29 20:37:47 +04:00