Commit Graph

34 Commits

Author SHA1 Message Date
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Pavel V. Talanov 1972c2f177 Update test data for various tests
Due to slight semantic changes after class object refactor
2015-02-16 15:38:37 +03:00
Valentin Kipyatkov 311a3a75c8 Code completion: do not list instance members from context with no instance
#KT-6388 Fixed
 #KT-4422 Fixed
 #KT-5516 Fixed
2014-12-22 18:26:03 +03:00
Valentin Kipyatkov cb5c12cda3 Completion of object's in type position - they can be used there 2014-12-18 15:47:59 +03:00
Valentin Kipyatkov 18b9e4a868 Added tests 2014-11-19 16:01:18 +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 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 Kipyatkov 2bb553612c Dealing with infix calls in completion
#KT-4846 Fixed
2014-09-25 17:10:22 +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 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
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
Pavel V. Talanov 6ba8e4c4b1 Switch JetMultifileBasicCompletionTest to generated approach 2014-04-02 13:37:18 +04:00
Pavel V. Talanov 4c634d5c67 Use common infrastructure for JetMultifileBasicCompletionTest 2014-04-02 13:37:17 +04:00
Nikolay Krasko 287c1f4c71 Test for Complete class names in expression position (KT-2821, KT-3779)
#KT-2821 Fixed
 #KT-3779 Fixed
2014-03-24 15:19:24 +04:00
Nikolay Krasko ed250198d8 Revert replacing "NUMBER" to "INVOCATION_COUNT" and replace "TIME" to "INVOCATION_COUNT" 2013-09-24 16:54:25 +04:00
Nikolay Krasko 839df96200 Refactoring: change test data directive 2013-09-16 17:23:28 +04:00
Nikolay Krasko a15f1c8946 Test are imported functions completed 2013-02-04 14:23:24 +04:00
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
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 d1dc67c049 Search for function in resolve session with non-physical file 2012-08-14 14:15:13 +04:00
Nikolay Krasko 8d69af87ce Completion for java inner class names 2012-05-31 19:58:05 +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 bd1bb1f0bd - Tests for KT-1051, KT-1151 and KT-1100
- Icon for java fake class
2012-02-03 16:05:30 +04:00