Commit Graph

417 Commits

Author SHA1 Message Date
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
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 2074872de9 Completion: higher priority for sorting by deprecated 2014-12-17 22:19:38 +03:00
Ilya Ryzhenkov 9242a3d3dc Use standard emptyList() 2014-12-16 17:33:22 +03:00
Natalia Ukhorskaya 73d62902d0 Debugger: use partialBodyResolve. Don't compete variables defined after context element 2014-12-12 13:42:35 +03:00
Stanislav Erokhin d334f3b31c Fix completion for private_to_this. 2014-12-08 18:24:30 +03:00
Valentin Kipyatkov de51948883 The test was not correct 2014-12-03 19:08:06 +03:00
Valentin Kipyatkov dfd5e773df extensionsUtils.kt uses FuzzyType + more correct treatment of receiver nullability there 2014-12-03 19:08:06 +03:00
Valentin Kipyatkov 856be73500 Smart completion: generic functions are correctly included into the list
#KT-6375 Fixed
2014-12-03 19:07:04 +03:00
Valentin Kipyatkov a40db1e794 Completion: for extension functions unsubstituted receiver type shown 2014-12-03 19:03:02 +03:00
Valentin Kipyatkov 1d288e6dcc Completion: multiple extension methods with different substitutions may be shown 2014-12-03 19:03:02 +03:00
Valentin Kipyatkov 2c08b3e229 Extension methods shown with type arguments substituted in completion list 2014-12-03 19:03:02 +03:00
Valentin Kipyatkov 3df3e57b05 Added tests 2014-12-03 19:02:20 +03:00
Valentin Kipyatkov 05bb32545f Fixed all members are grayed in global context 2014-12-03 19:02:20 +03:00
Valentin Kipyatkov cf35fc1fd5 Completion: immediate members get higher priority in the list 2014-12-03 19:02:20 +03:00
Valentin Kipyatkov 72ff719001 Completion: added package name for global functions/properties in the list 2014-12-03 19:01:48 +03:00
Valentin Kipyatkov 6ddedb7825 Better imported/non-imported items sorting in completion 2014-12-03 19:00:58 +03:00
Valentin Kipyatkov 94b7945cd8 Added a test 2014-12-03 19:00:57 +03:00
Valentin Kipyatkov 48edd5f02a Fixed completion list ordering for java classes 2014-12-03 19:00:57 +03:00
Valentin Kipyatkov 9dc6a82fef More clear code + better test 2014-12-03 19:00:57 +03:00
Valentin Kipyatkov 6502c44928 Immediate extension members are correctly detected for platform types 2014-12-03 19:00:57 +03:00
Valentin Kipyatkov acfd308a7e Code completion: graying members after dot completion for nullable value 2014-12-03 19:00:57 +03:00
Natalia Ukhorskaya b056fd7e2e Add test for completion with runtime type cast 2014-12-03 12:49:38 +03:00
Andrey Breslav 28b466d069 Parsing dynamic types 2014-12-01 20:43:37 +03:00
Valentin Kipyatkov 016af0b53c Code completion: shorter presentation for member extensions 2014-11-28 15:33:28 +03:00
Valentin Kipyatkov c1252c7963 Do not search inheritors of Any 2014-11-28 15:33:27 +03:00
Valentin Kipyatkov 9af2877f97 Inheritors in smart completion work for the classes in the same file too 2014-11-28 15:33:27 +03:00