Commit Graph

204 Commits

Author SHA1 Message Date
Valentin Kipyatkov 5bff98c164 Smart completion: minor code refactoring 2014-04-17 14:39:30 +04:00
Valentin Kipyatkov 6b1ecc3fb0 Smart completion: "::functionName" items when value of function type is expected 2014-04-17 14:39:29 +04:00
Valentin Kipyatkov 7d5b86e000 Smart completion: no duplicates among static members 2014-04-17 14:39:29 +04:00
Valentin Kipyatkov 4b5d175aa7 Smart completion: no more duplicates among type instantiation items 2014-04-17 14:39:29 +04:00
Valentin Kipyatkov 5d8c5cfa31 Smart completion inserts closing parenthesis as well 2014-04-17 14:39:29 +04:00
Valentin Kipyatkov f984dbc5b6 Smart completion to insert comma when in argument list 2014-04-17 14:39:28 +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
Valentin Kipyatkov 50bb90a1e3 Smart completion: support for overloaded method calls 2014-03-27 15:21:57 +04:00
Andrey Breslav 34c6eaec56 Correct scope for property accessors in lazy resolve 2014-03-26 21:10:27 +04:00
Nikolay Krasko b05fb38dcd Fix ArrayIndexOutOfBoundsException in named parameters completion 2014-03-24 15:19:26 +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
Alexander Udalov d2dc54c14f Add test on named arguments completion for Kotlin library 2014-03-20 12:25:58 +04:00
Alexander Udalov 1c25723764 Don't suggest non-stable parameter names in completion 2014-03-20 12:19:26 +04:00
Ilya Ryzhenkov 0267e2910d Test data fixed after stdlib updtae 2014-03-19 20:25:13 +04:00
Nikolay Krasko 607314989c KT-1633 support completion of named function parameters 2014-03-19 17:59:41 +04:00
Pavel V. Talanov dab6716664 Minor: fix test data for PropertyMetadata completion test 2014-03-04 21:20:01 +04:00
Alexander Udalov f7b6457139 Replace "jet" package name with "kotlin" in testData 2014-03-02 19:55:26 +04:00
Alexander Udalov 9d9d73268a Move and rename jet.runtime.SharedVar -> kotlin.jvm.internal.Ref 2014-03-02 19:54:57 +04:00
Alexander Udalov ec30d52978 Delete Hashable, pull up its members to Any
Extensions on nullable types remain in Library.kt

 #KT-1741 Obsolete
 #KT-2805 Obsolete
 #KT-1365 Fixed
 #KT-4517 In Progress
2014-03-02 19:54:08 +04:00
Zalim Bashorov 559ea28a6b Dropped extra caret markers and introduced separate marker for referencing from context. 2014-02-24 20:27:20 +04:00
Natalia Ukhorskaya 9f3b73986a Update to IDEA 13.1 (134.1007) 2014-02-17 10:45:48 +04:00
Evgeny Gerashchenko 847d69ee2e Added tests for class object and nested objects. 2014-01-21 18:32:59 +04:00
Evgeny Gerashchenko 8e442bc509 Moved test data. 2014-01-21 18:32:58 +04:00
Evgeny Gerashchenko 461b64e0e7 Removed old injava completion test (all cases are covered by common source/binary tests). 2014-01-21 18:32:57 +04:00
Evgeny Gerashchenko d502c5af64 Moved injava handler test data. 2014-01-21 18:32:56 +04:00
Evgeny Gerashchenko e4b9c7fd40 Test for completion of kotlin binaries in java. 2014-01-21 18:32:54 +04:00
Evgeny Gerashchenko 958f7c862d Got rid of "namespace" word in test data. 2014-01-14 18:06:50 +04:00
Valentin Kipyatkov 9fa29535b4 Fixed tests 2014-01-14 16:14:56 +04:00
Valentin Kipyatkov 7aed55fa1d Reference shortening: performance optimization 2014-01-13 19:50:35 +04:00
Valentin Kipyatkov 259d9fb891 Smart completion handlers tests made generated 2013-12-26 17:29:39 +04:00
Valentin Kipyatkov 39f07b8354 Smart completion: imports insertion + fixed both behaviour and presentation of qualified members in lookup 2013-12-26 17:29:38 +04:00
Nikolay Krasko bbf1dff818 KT-4158 Autopopup completion selects irrelevant keyword and confuses typing
#KT-4158 Fixed
2013-12-23 16:43:15 +04:00
Valentin Kipyatkov 914a566094 Smart completion: anonymous object creation + rewrote some code using LookupElementDecorator 2013-12-20 18:49:11 +04:00
Valentin Kipyatkov 9627a335c2 Smart completion: no items of unresolved types 2013-12-20 18:49:10 +04:00
Valentin Kipyatkov 24b68e7bdf Completion: better replacement range calculation for both basic and smart completions 2013-12-19 16:07:46 +04:00
Valentin Kipyatkov d28705a5ec Smart completion to ignore context after the caret 2013-12-19 16:07:46 +04:00
Valentin Kipyatkov 843a005aec Fixed KT-4318 Keyword should be selected in completion if there's exact match
#KT-4318 Fixed
2013-12-17 21:17:56 +04:00
Nikolay Krasko dbc1f6b42c Fix autopopup completion with irrelevant variants after typing 'f' suffix for float number
#KT-4312 Fixed
2013-12-17 17:43:13 +04:00
Valentin Kipyatkov f22ba73a92 Smart completion: enum members to be listed after qualifier too 2013-12-16 21:23:09 +04:00
Valentin Kipyatkov db77eb54d7 Smart completion: java static members, enum members and class object members added 2013-12-16 21:23:08 +04:00
Valentin Kipyatkov 47d3e2e1bb Smart completion: this expressions added 2013-11-27 21:00:19 +04:00
Valentin Kipyatkov 29f7318f4f Refactored completion tests to support more flexible input file format 2013-11-27 21:00:19 +04:00
Valentin Kipyatkov 912fb904b8 Smart completion: declarations of type Nothing filtered out 2013-11-27 21:00:18 +04:00
Mikhael Bogdanov 868f4841be Inline keyword removal 2013-11-26 12:53:06 +04:00
Valentin Kipyatkov 3fe55c997f Smart completion: changed test data to use Any instead of Object 2013-11-18 17:54:09 +04:00
Valentin Kipyatkov acb5bb2b07 Smart completion: auto-casted types supported 2013-11-18 17:54:09 +04:00
Valentin Kipyatkov 2d3b0ffc0b Smart completion: offer class instantiating choice 2013-11-13 20:17:45 +04:00
Valentin Kipyatkov a7f11e6852 Very initial implementation of smart completion 2013-11-11 21:46:05 +04:00
Erokhin Stanislav bb6fd90bd9 JS backend: move StringBuilder to java.lang. Fix append return type. 2013-11-05 20:55:49 +04:00