Commit Graph

183 Commits

Author SHA1 Message Date
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 9f6d32f1f6 Fixed EA-63622 - IAE: FqName.validateFqName 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
Valentin Kipyatkov 6ec10b9b6b Correct completion of nested/inner classes after dot
#KT-1889 Fixed
2014-12-18 15:48:27 +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
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 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 72ff719001 Completion: added package name for global functions/properties in the list 2014-12-03 19:01:48 +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
Valentin Kipyatkov 016af0b53c Code completion: shorter presentation for member extensions 2014-11-28 15:33:28 +03:00
Valentin Kipyatkov 3566ac1510 Code completion: added type parameters for Kotlin classes too 2014-11-28 15:33:26 +03:00
Valentin Kipyatkov 18b9e4a868 Added tests 2014-11-19 16:01:18 +03:00
Valentin Kipyatkov e0da6247af Completion: bold immediate members for extensions too 2014-11-19 12:56:47 +03:00
Valentin Kipyatkov a26388ef63 Completion: corrected presentation for extension properties 2014-11-19 12:56:47 +03:00
Valentin Kipyatkov 386c67925f Completion: do not bold top-level functions 2014-11-19 12:56:47 +03:00
Valentin Kipyatkov fc993b88ec Checked that KT-4453 has been fixed recently by change in TipsManager 2014-11-19 12:56:46 +03:00
Valentin Kipyatkov d061c3d771 Completion: bold members from immediate class 2014-11-17 22:06:16 +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 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 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 fe5dbbf9b3 More efficient code completion + fixed a few bugs 2014-11-12 21:25:00 +03:00
Natalia Ukhorskaya 12b4fc7ad9 Resolve codeFragments with context of JetClass 2014-11-12 15:13:37 +03:00
Valentin Kipyatkov 304c826b47 Fixed KT-6128 Code completion does not work inside function literal if it's dependant on declarations below
#KT-6128 Fixed
2014-10-24 15:14:26 +04:00
Valentin Kipyatkov 4fd417d419 Fixing code completion in function literal parameters
#KT-4047 Fixed
 #KT-5877 Fixed
2014-10-22 15:49:12 +04:00
Valentin Kipyatkov 59b66e7579 Fixed KT-6074 Package facade classes are shown in completion in kotlin files
#KT-6074 Fixed
2014-10-22 15:48:53 +04:00
Valentin Kipyatkov cff0c35987 Checked that KT-3596 is not reproducible 2014-10-14 16:08:17 +04:00
Valentin Kipyatkov f9bf214526 Code completion: avoid duplication of elements for java classes 2014-10-14 15:47:45 +04: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 6e7e13d320 Fixed KT-5826 Keyword completion shouldn't kick in in comments
#KT-5826 Fixed
2014-09-25 17:10:28 +04:00
Valentin Kipyatkov 19fb090f28 Do not autopopup completion in name of generic function or property too 2014-09-25 17:10:25 +04:00
Valentin Kipyatkov e6ea0537c8 More correct completion testing + fixed small bug in keyword completion 2014-09-25 17:10:25 +04:00
Valentin Kipyatkov afbd1aeffc KT-4027 No type name completion in an incomplete generic extension function declaration
KT-2940 No completion in the receiver type argument position

 #KT-4027 Fixed
 #KT-2940 Fixed
2014-09-25 17:10:24 +04:00
Valentin Kipyatkov 93d8791df1 No completion auto-popup after dot in float literal (but one test start to fail!) 2014-09-25 17:10:24 +04:00