Commit Graph

443 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 97989d174e Update keyword completion test data
after introducing 'default' soft keyword
2015-03-06 12:43:29 +03:00
Pavel V. Talanov 4370b50841 Minor: change rendering of class objects' types in completion 2015-03-03 13:04:32 +03:00
Pavel V. Talanov cbf9208c1d Minor: change rendering of class objects in source code renderers
Fixes one particular case in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov ffabe19229 Prohibit accessing nested classes/objects of class object using class literal
The fqname of class should be clear from code
Example: can't shorten A.Default.B.Default.C to A.B.C
Also fixes problem when nested class of enum class could be accessed via enum entry
2015-03-03 13:04:29 +03:00
Pavel V. Talanov cceb5738c8 Can't omit default object name in imports and types
There should be only one way to denote a type (A.Default.B can't be denoted as A.B)
2015-03-03 13:04:28 +03:00
Pavel V. Talanov 2053da91dd Fix EXPRESSION_TYPE target for QualifierReceiver
Affected completion from objects in some cases
2015-02-20 14:47:36 +03:00
Valentin Kipyatkov 0a363fc371 Import is placed in some specific order on adding 2015-02-19 11:07:02 +03:00
Pavel V. Talanov ed5e2a21d1 Restore some of the tests for deprecated OBJECT$ field 2015-02-16 15:38:45 +03:00
Pavel V. Talanov d689c11848 Update test for class object completion 2015-02-16 15:38:39 +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
Pavel V. Talanov a1f4c06a49 Update test data that mentioned old JvmAbi constants 2015-02-16 15:38:34 +03:00
Valentin Kipyatkov b03b96f202 Fixed optimization in IterableTypesDetector which did not work from the beginning + make it work on FuzzyType 2015-02-10 16:13:51 +03:00
Valentin Kipyatkov 3c573d555a Smart completion: heuristic parameter types for some methods like Collection.contains() 2015-02-10 16:13:51 +03:00
Valentin Kipyatkov 6d06436c34 KT-6376 Smart completion should work after "in" and "!in"
#KT-6376 Fixed
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov eae244c308 Grouped test data for smart completion by folders 2015-02-10 16:13:50 +03:00
Valentin Kipyatkov a32029f1fc Smart completion for for loop range to use loop variable type if defined 2015-02-10 16:13:50 +03:00
Valentin Kipyatkov f057445f6e KT-5035 Smart completion should work after "in" keyword in for loop
#KT-5035 Fixed
2015-02-10 16:13:50 +03:00
Valentin Kipyatkov 033b626a08 Fixed test data 2015-02-09 13:02:04 +03:00
Dmitry Jemerov 49cecc35fd completion in kdoc 2015-02-05 18:30:02 +01:00
Valentin Kipyatkov eed0def1cb Completion auto-popup works at the start of function literal 2015-01-14 20:57:28 +03:00
Valentin Kipyatkov 9e526fca58 Completion for "file" keyword in annotations 2015-01-14 20:57:28 +03:00
Valentin Kipyatkov fde1890de9 More tests
#KT-1670 Fixed
 #KT-2690 Fixed
2015-01-14 20:57:27 +03:00
Valentin Kipyatkov ec1541a692 No completion auto-popup where parameter name can be 2015-01-14 20:57:27 +03:00
Valentin Kipyatkov 000cde3f7f KT-6225 Completion of annotations for method parameters
#KT-6225 Fixed
2015-01-14 20:57:27 +03:00
Alexander Udalov 662e8707b2 Minor, drop copyright from test data 2015-01-13 01:15:17 +03:00
Valentin Kipyatkov 4b2ee7e645 Fixed KT-6429 Wrong replacement range in smart completion in some particular case
#KT-6429 Fixed
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov 51678d0a45 KT-5874 Support code completion of label names after "continue@" and "break@"
#KT-5874 Fixed
2014-12-29 17:27:30 +03:00
Valentin Kipyatkov 0b687ddb05 Added tests for space insertion after return@xxx + do not overwrite space after keyword 2014-12-29 17:27:30 +03:00
Valentin Kipyatkov e39443d53a Refactored tests for keywords insertion to be all generated 2014-12-29 17:27:30 +03:00
Valentin Kipyatkov cdb5ec3492 KT-5875 Support code completion after "return@"
#KT-5875 Fixed
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov 39a5486db8 Completion of this@...: supported labeled function literals 2014-12-29 17:27:29 +03:00
Valentin Kipyatkov 05be100f53 Corrected test data which was incorrect before 2014-12-29 17:27:29 +03:00
Valentin Kipyatkov 3b0fe8831b Code completion of "this@..."
#KT-2035 Fixed
2014-12-29 17:27:29 +03:00
Valentin Kipyatkov ddd63d69e9 KT-6442 Completion of inner class name contains outer name
#KT-6442 Fixed
2014-12-29 17:27:28 +03:00
Valentin Kipyatkov b94e9e63c3 KT-6534 Code completion of global function does not insert import in very specific context
#KT-6534 Fixed
2014-12-29 17:27:28 +03:00
Valentin Kipyatkov 1f17d7adcd Changed language sematics: imports with '*' do not import packages anymore 2014-12-26 15:45:01 +03:00
Valentin Kipyatkov 9f6d32f1f6 Fixed EA-63622 - IAE: FqName.validateFqName 2014-12-24 15:48:42 +03:00
Valentin Kipyatkov 64da34e78b Corrections after review + one more test added 2014-12-24 15:48:42 +03:00
Valentin Kipyatkov bfdbbe0247 KT-6407 Completing function with "tab" (replace) shouldn't insert parentheses when type arguments are present
#KT-6407 Fixed
2014-12-24 15:48:42 +03:00
Valentin Kipyatkov 6e6289435f Fixed exception 2014-12-24 15:48:42 +03:00
Valentin Kipyatkov 91220faf06 KT-6122 Code completion in when in enum extension methods suggests non-qualified enum entry names
#KT-6122 Fixed
2014-12-24 15:48:42 +03:00
Natalia Ukhorskaya 449ebc35ef Debugger: add ability to evaluate expressions on closing bracket 2014-12-23 14:40:25 +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
Pavel V. Talanov eb1feeb480 Tests for kotlin nested class members completion from java 2014-12-21 14:23:30 +03:00
Valentin Kipyatkov 6ec10b9b6b Correct completion of nested/inner classes after dot
#KT-1889 Fixed
2014-12-18 15:48:27 +03:00
Valentin Kipyatkov 9c8b7ed6f5 Fixed KT-6408 Completion auto-popup prevents smooth typing of "!in"
#KT-6408 Fixed
2014-12-18 15:48:27 +03:00
Valentin Kipyatkov 8e1af2b720 Fixed occasional insertions of fq-names by completion and similar effects
#KT-6182 Fixed
 #KT-6111 Fixed
2014-12-18 15:48:26 +03:00
Valentin Kipyatkov bdf7455578 KT-5986 No code completion for second type argument of HashMap instantiation
KT-6406 Code completion in type argument position should not include functions and variables

 #KT-5986 Fixed
 #KT-6406 Fixed
2014-12-18 15:47:59 +03:00
Valentin Kipyatkov e9f1ae5886 More clear test data format 2014-12-18 15:47:59 +03:00