Nikolay Krasko
5368e8cef3
Process imports for functioncs and properties in creating scope for file
...
during lazy resolve
Fix for "KT-3096 No completion in function literal" and "KT-3102 No
completion/auto-import for an extension method"
#KT-3102 Fixed
#KT-3096 Fixed
2012-12-03 15:17:24 +04:00
Andrey Breslav
a71ea5c6db
EA-39003 - ISE: ResolveSession.resolveToDescriptor
...
Lokking up classes and objects by PSI element, rather than by name
2012-11-16 17:48:49 +04:00
Nikolay Krasko
aca747390b
KT-2849 Object that are not imported do not show up in completion
...
#KT-2849 Fixed
2012-11-09 14:49:28 +04:00
Nikolay Krasko
dc5402337a
KT-2796 Variable name is not completed in the receiver position of a chained call
...
#KT-2796 Fixed
2012-11-09 14:49:26 +04:00
Nikolay Krasko
91f7a094fe
KT-1931 Duplicate class from Kotlin runtime in completion
...
#KT-1931 Fixed
2012-11-09 14:49:25 +04:00
Nikolay Krasko
c081ced616
KT-2499 If Java class is imported, it is visible in completion three times: as Java class, Kotlin class and package
...
- Add java trace into delegation for lazy resolve session
#KT-2499 Fixed
2012-11-09 14:49:23 +04:00
Nikolay Krasko
9d65cb482d
KT-2866 Names from multi-declarations do not show up in completion
...
Test added
#KT-2866 Fixed
2012-11-06 18:54:35 +04:00
Andrey Breslav
14e5b777c4
EA-39104 - IAE: DescriptorResolver.getPropertyDeclarationInnerScope
...
Fixed
2012-11-06 12:59:37 +04:00
Nikolay Krasko
11da503c62
KT-2962 auto completion support for extension functions
...
#KT-2962 Fixed
2012-10-18 14:52:37 +04:00
Nikolay Krasko
c7af6de16b
KT-1187 Wrong unnecessary completion
...
#KT-1187 Fixed
2012-09-20 16:50:12 +04:00
Nikolay Krasko
b301bbe1f9
Don't activate top level completion in user types after dot
2012-09-20 16:50:08 +04:00
Nikolay Krasko
7ad0fd56f3
EA-39175 Completion fails if MultiDeclaration is present on top level in file
2012-09-13 21:06:18 +04:00
Nikolay Krasko
a95ba27b7d
KT-2758 Errors in lazy resolve: Unknown TYPEDEF
...
Unknown declaration: TYPEDEF: Unknown declaration: TYPEDEF
#KT-2758 Fixed
EA-38287 Fixed
2012-09-13 21:06:18 +04:00
Nikolay Krasko
1121d9b316
EA-38789 Fix "Name is null for OBJECT_DECLARATION object"
2012-09-12 19:58:45 +04:00
Nikolay Krasko
d9cd4f0d74
KT-2725 No completion in properties initializers and accessors
...
#KT-2725 Fixed
2012-09-04 16:37:37 +04:00
Nikolay Krasko
138373c94c
KT-2724 No completion in class initializers
...
#KT-2724 Fixed
2012-09-04 15:36:30 +04:00
Svetlana Isakova
1b28604268
java Iterable/Iterator replaced to jet ones
...
in completion, js tests
2012-08-16 18:39:23 +04:00
Nikolay Krasko
d1dc67c049
Search for function in resolve session with non-physical file
2012-08-14 14:15:13 +04:00
Nikolay Krasko
66eaeedd31
Add types in test
2012-08-06 11:05:09 +04:00
Nikolay Krasko
fa7ad96a4e
Test parent scope completion in local object declaration
2012-07-20 16:28:02 +04:00
Nikolay Krasko
32b70db6b2
KT-1920 Don't complete java.lang.Double for the prefix Double
...
#KT-1920 fixed
2012-06-01 13:28:12 +04:00
Nikolay Krasko
f18372cfdc
KT-1672 Don't complete import java.lang.reflect.Array when Array is typed at the beginning of a line
...
#KT-1672 fixed
2012-06-01 00:11:54 +04:00
Nikolay Krasko
8d69af87ce
Completion for java inner class names
2012-05-31 19:58:05 +04:00
Nikolay Krasko
d759d50811
Change representation of extension functions
2012-05-29 15:03:36 +04:00
Nikolay Krasko
8208489759
KT-1810 "defined in" in completion list takes space that could be used for more useful information - replaced to "in"
...
#KT-1810 fixed
2012-05-22 01:49:09 +04:00
Nikolay Krasko
a7b11d2b4e
KT-1673 Respect formatter settings in the completion list - apply standard renderer
...
#KT-1673 fixed
2012-05-22 01:45:36 +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
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
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
Nikolay Krasko
56fa9b29f2
KT-1229 Packages should be showed in package derictive - more files
2012-02-16 16:05:38 +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
41455a56c5
- KT-1227 Can't see basic types in class completion
...
- Remove duplicated test
2012-02-10 18:42:23 +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