Commit Graph

111 Commits

Author SHA1 Message Date
Valentin Kipyatkov 820c2c7cd8 Smart completion: inheritors instantiation suggested + fixed a bug with incorrect presentation of generic java class instantiation 2014-11-28 15:33:26 +03:00
Valentin Kipyatkov 7410c36e3a Completion: moved signatures from "item text" to tail
#KT-5652 Fixed
2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 7077e22dd3 More tests 2014-11-17 22:06:16 +03:00
Valentin Kipyatkov 656ed01b94 Code completion: more precise detection of "just typing" 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 7b7e992515 Code completion: '=' char supported for all items + it inserts spaces around '=' 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 3ecae800af Code completion: fixed comma key behavior for function with parameters + more tests 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 57692b1a37 Code completion: space after comma on selecting item with comma key 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 3ebc681eec Behavior on typing chars with code completion lookup is completely defined by our own handler + added tests for this handler + fixed a few bugs related to this behavior 2014-11-17 22:06:15 +03:00
Valentin Kipyatkov 2b33501471 Smart completion: fixed items ordering issue 2014-11-17 22:06:14 +03:00
Valentin Kipyatkov 5f4220427f Smart completion does not need SAM-constructor in declarations from scope + it's present even when not imported 2014-11-12 21:24:59 +03:00
Valentin Kipyatkov d8dbc46867 Fixed KT-6075 Qualified name inserted when completing class with class object
#KT-6075 Fixed
2014-10-22 15:48:35 +04:00
Valentin Kipyatkov 3a2a7427e7 Fixed caret position for KT-5906 Smart completion of anonymous object should preselect single method body
#KT-5906 Fixed
2014-10-22 15:48:34 +04:00
Valentin Kipyatkov 7f55c0626f Fixed KT-6033 Smart completion: wrong replacement range by Tab for item with all arguments at once
#KT-6033 Fixed
2014-10-22 15:48:34 +04:00
Valentin Kipyatkov a84488f59a Fixed KT-5985 Smart completion does not insert comma for constructor of nested data class
#KT-5985 Fixed
2014-10-22 15:48:17 +04:00
Valentin Kipyatkov f64f08c9b6 Checked that KT-5984 has been fixed already 2014-10-22 15:48:00 +04:00
Valentin Kipyatkov cff0c35987 Checked that KT-3596 is not reproducible 2014-10-14 16:08:17 +04:00
Valentin Kipyatkov 503a8deef1 Fixed bug in reference shortening + fixed test data for completion tests 2014-10-14 16:08:16 +04:00
Andrey Breslav 0cbbb6a0db Test data fixed 2014-10-13 15:37:47 +04:00
Valentin Kipyatkov 267aabae12 Smart completion: multiple arguments at once 2014-09-30 15:29:10 +04:00
Valentin Kipyatkov 2bb553612c Dealing with infix calls in completion
#KT-4846 Fixed
2014-09-25 17:10:22 +04:00
Valentin Kipyatkov 75f7f296aa Non-imported extension functions and properties in smart completion + adding import on completing of non-imported property 2014-09-17 13:24:56 +04:00
Zalim Bashorov 838c384672 "js" -> "kotlin.js" 2014-09-16 19:32:37 +04:00
Valentin Kipyatkov c79204a41d Completion: more tests for keyword escaping 2014-09-03 13:59:31 +04:00
Valentin Kipyatkov ed5c5426e6 Completion: corrected for class nested into class object 2014-09-03 13:59:31 +04:00
Valentin Kipyatkov 89aaa018fe Completion: escaping of named arguments 2014-09-03 13:59:31 +04:00
Valentin Kipyatkov d64f930ff1 Completion: no qualified this for anonymous object + no keyword escaping for qualified this 2014-09-03 13:59:31 +04:00
Svetlana Isakova 8289f13016 Introduced QualifierReceiver instead of PackageType 2014-09-01 12:32:49 +04:00
Valentin Kipyatkov 5fb9aae68c Escaping of keyword names in completion (more tests to be added) 2014-08-27 19:07:39 +04:00
Valentin Kipyatkov 2b67716e95 KT-5153 Smart completion should include objects from type
#KT-5153 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov be0e78b11a Fixed one more case of no-auto-insertion after "as" 2014-07-28 18:52:58 +04:00
Valentin Kipyatkov 7546a17539 KT-4914 Smart completion should work after 'as' and 'as?'
#KT-4914 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov 67df7de7b1 Fixed KT-5110 Smart completion: do not generate comma if next argument has default value
Fixed KT-5109 Smart completion: do not insert comma if next argument is vararg

 #KT-5110 Fixed
 #KT-5109 Fixed
2014-07-28 18:52:57 +04:00
Valentin Kipyatkov 81393c999b Fixed KT-5231 Smart completion does not insert comma in super constructor argument list
KT-5231 Fixed
2014-07-28 18:52:57 +04:00
Valentin Kipyatkov c8c8b477ef Added test for KT-5272 which is not reproduced 2014-07-28 18:52:57 +04:00
Valentin Kipyatkov d6b12187c2 Fixed KT-5341 Code completion of class declared locally inserts its "qualified name"
#KT-5341 Fixed
2014-07-28 18:52:57 +04:00
Valentin Kipyatkov 4a7d4dffdf Fixed KT-5142 Code completion of parameter type inserts FQ-name
#KT-5142 Fixed
2014-05-30 19:28:06 +04:00
Valentin Kipyatkov 073dcd024c Fixed KT-5101 Partly qualified name is inserted by code completion
#KT-5101 Fixed
2014-05-30 14:31:20 +04:00
Valentin Kipyatkov 4be1cc2786 KT-5079 Support smart completion for when values
#KT-5079 Fixed
2014-05-30 14:30:36 +04:00
Valentin Kipyatkov 2ddcae68e8 Fixed KT-5077 Code completion inserts FQ names inside lambda
#KT-5077 Fixed
2014-05-23 19:16:23 +04:00
Valentin Kipyatkov c56b5bfd61 Added 2 tests 2014-05-20 18:56:48 +04:00
Valentin Kipyatkov 5ce3df4845 KT-5025 Unnecessary qualifier inserted for class
#KT-5025 Fixed
2014-05-20 18:56:48 +04:00
Valentin Kipyatkov 6c5d974284 Completion: added a test 2014-05-13 16:40:48 +04:00
Valentin Kipyatkov 2d850f41f1 Smart completion: fixed addition of tail chars after true, false and null 2014-05-13 16:40:47 +04:00
Valentin Kipyatkov 0e86e628a3 KT-5012 Autocompletion is completing to FQN and not the value
#KT-5012 Fixed
 #KT-5006 Fixed
2014-05-13 16:40:47 +04:00
Valentin Kipyatkov a65bd1a74d Added test data for future use 2014-05-07 22:50:22 +04:00
Valentin Kipyatkov 1b034c5fc3 Smart completion works for block's result 2014-05-07 22:50:22 +04:00
Valentin Kipyatkov 45f518a907 Smart completion after ?: works incorrectly
#KT-4926 Fixed
2014-05-07 22:50:22 +04:00
Valentin Kipyatkov 717977af61 No more java lookup elements in code completion (except for one case) 2014-05-07 22:50:21 +04:00
Valentin Kipyatkov 33de0e8393 Smart completion for then and else branches of if
#KT-4910 Fixed
2014-05-07 22:50:20 +04:00
Valentin Kipyatkov 3c75e9ec28 Smart completion: "null" when nullable value expected 2014-05-07 22:50:20 +04:00