Commit Graph

75 Commits

Author SHA1 Message Date
Stepan Koltsov ccdd37053c fix test 2012-06-08 05:12:05 +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
Evgeny Gerashchenko b3e211a3ba KT-2139 java.sql.Array inserted by completion is inserted by short name, and import is not added
#KT-2139 fixed
2012-05-30 18:05:49 +04:00
Nikolay Krasko d759d50811 Change representation of extension functions 2012-05-29 15:03:36 +04:00
Nikolay Krasko 252ba5672e KT-2122 Code completion after val with space should not add local variable's name (set priority in completion for local variables and parameters)
#KT-2122 fixed
2012-05-28 21:19:45 +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
Nikolay Krasko 9bbdb4cf56 KT-1950 Don't complete if after val
KT-1894 Do not suggest "trait" after fun
 #KT-1950 fixed
 #KT-1894 fixed
2012-05-12 17:10:06 +04:00
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