Commit Graph

56 Commits

Author SHA1 Message Date
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
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 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 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 fb5771505b KT-758 Show completion of namespaces in import statement 2012-01-10 18:59:42 +04:00
Andrey Breslav f52eae71d0 GreatSyntacticShift: 'namespace' -> 'package' 2011-12-25 15:51:59 +04:00
Nikolay Krasko 3cf7a44840 KT-825 Completion doesn't show overloaded functions 2011-12-14 12:26:57 +04:00
Nikolay Krasko 31b536a8e5 KT-822: Assertion during completion of the subpackage in function 2011-12-14 11:03:04 +04:00