Commit Graph

85 Commits

Author SHA1 Message Date
Valentin Kipyatkov 6284f557e6 Smart completion: sometimes we can insert comma after vararg argument too 2015-06-08 15:33:57 +03:00
Valentin Kipyatkov 02e876679c Completion: more correct code for lambda template insertion 2015-06-08 15:33:57 +03:00
Valentin Kipyatkov 64e9ecc7b4 Moved test data 2015-06-08 15:33:57 +03:00
Valentin Kipyatkov 7eec200887 Moved tests from deprecated to generated test fixture 2015-06-08 15:33:57 +03:00
Valentin Kipyatkov 560b7dae75 Minor correction 2015-06-08 15:33:56 +03:00
Pavel V. Talanov 812273cb2b Fix a problem when invoking completion outside of source roots could lead to declarations from index being analyzed in a wrong resolution facade 2015-06-04 18:36:05 +03:00
Valentin Kipyatkov f05789e224 Fixed EA-69042 2015-06-04 17:21:28 +03:00
Valentin Kipyatkov e597532c7a KT-7815 Smart completion after "as" inserts fq-name for type parameter
#KT-7815 Fixed
2015-06-04 17:21:28 +03:00
Valentin Kipyatkov d3e4b346ce Deprecated symbols made less priority than named parameters 2015-06-04 17:21:28 +03:00
Valentin Kipyatkov 54836113a7 Better test data format 2015-06-04 17:21:28 +03:00
Valentin Kipyatkov 603f7ef3c1 KT-7756 Completion of "return null", "return true" and "return false"
#KT-7756 Fixed
2015-06-04 17:21:27 +03:00
Valentin Kipyatkov cd68cefba1 Added diagnostic for EA-68663 2015-06-04 01:05:49 +03:00
Valentin Kipyatkov 7be59f969c Fixed EA-68869 2015-06-04 01:05:49 +03:00
Pavel V. Talanov f335e9f6b2 Fix a problem where a sequence of out-of-block completions could lead to an inconsistent resolve session provided for a synthetic copy of a file 2015-06-03 21:22:10 +03:00
Valentin Kipyatkov d74ac4d08a Override/implement members dialog: no qualified type names in signatures but qualified owner class names (+ moved a method) 2015-06-01 18:23:34 +03:00
Valentin Kipyatkov 494d96bbc7 Refactored PsiElement.parents() into 2 properties 2015-05-29 13:55:46 +03:00
Valentin Kipyatkov a6f76bbf76 Fixed keywords after 'this@' completion + fixed implementation of JetExpressionWithLabel.getLabelName() 2015-05-27 16:15:46 +03:00
Valentin Kipyatkov 2a5ca095ee DeprecatedSymbolUsageFix - correct dealing with implicit receivers + fixed KT-7776 in completion
#KT-7776 Fixed
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov 7d8a92aeb7 More correct code in class completion insert handler 2015-05-27 16:15:45 +03:00
Alexey Sedunov 036e2c585b Refactoring: Introduce getReferenceTargets() function 2015-05-26 19:28:11 +03:00
Alexander Udalov 49004a8b8e Conform functions to extension functions and vice versa
#KT-5989 Fixed
2015-05-26 15:04:56 +03:00
Michael Nedzelsky 9f3154e6c0 add dependency on idea-js for idea-completion and fix AbstractJSBasicCompletionTest 2015-05-26 05:05:03 +03:00
Michael Nedzelsky 69c3f7b69a AllClassesCompletion: remove unnecessary code 2015-05-26 05:04:33 +03:00
Pavel V. Talanov e4c242e66b Remove direct usages of ModuleDescriptor#getPackageFragmentProvider() 2015-05-25 13:00:16 +03:00
Mikhail Glukhikh fdf0ea5546 Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries 2015-05-18 16:08:16 +03:00
Valentin Kipyatkov 56c3f7b7db Minor code corrections on code review 2015-05-16 17:15:13 +03:00
Valentin Kipyatkov cdf6229fff KT-7486 Auto import inserts qualified name in companion object
#KT-7486 Fixed
2015-05-16 17:15:13 +03:00
Valentin Kipyatkov 60b0236101 Corrected parser: incomplete code should never cause brace disbalance
Fixed KT-7539 fq name inserted when completing nested traits name

 #KT-7539
2015-05-16 17:15:12 +03:00
Valentin Kipyatkov c8b1dd6425 Minor code refactoring 2015-05-16 17:15:12 +03:00
Valentin Kipyatkov 7641c3cb84 Moved classes into separate files 2015-05-16 17:15:11 +03:00
Valentin Kipyatkov 858adfb2db KT-7731 Completion: replacement of call with no parameters with property by Tab
#KT-7731 Fixed
2015-05-16 17:15:11 +03:00
Valentin Kipyatkov 8ea0441348 KT-7349 Replace keyword "companion" in completion with "companion object" 2015-05-16 17:15:10 +03:00
Valentin Kipyatkov db40f1ee5a More reliable testing of keyword completion (introduced directive "NOTHING_ELSE" instead of "NUMBER") 2015-05-16 17:15:10 +03:00
Valentin Kipyatkov 5807d03a52 Keyword completion: "reified" keyword is now supported 2015-05-16 17:15:09 +03:00
Valentin Kipyatkov 5ecf33c88e KT-6330 When completion for boolean method/property is finished by typing '!' symbol it should insert selected item with negation
#KT-6330 Fixed
2015-05-16 17:15:09 +03:00
Valentin Kipyatkov 892b2b0f83 KT-7195 Smart completion after "return ": the function itself should get smaller priority + declarations in the same file to have higher priority than default-imported
#KT-7195 Fixed
2015-05-16 17:15:08 +03:00
Valentin Kipyatkov 09f478fc0f Fixed duplication of some generic functions in code completion 2015-05-16 17:15:08 +03:00
Valentin Kipyatkov ce3492f270 KT-6393 Smart completion of anonymous object inserts type with "!" for type parameter
#KT-6393 Fixed
2015-05-16 17:09:51 +03:00
Valentin Kipyatkov 833d474876 Smart completion when only named argument possible 2015-05-16 17:09:51 +03:00
Valentin Kipyatkov 67cfd9d516 KT-4909 Smart completion does not work for named arguments
KT-7668 Named argument completion does not work after vararg

 #KT-4909 Fixed
 #KT-7668 Fixed
2015-05-16 17:09:51 +03:00
Valentin Kipyatkov 58ac497bd7 KT-5041 Smart completion for last argument lambda outside parenthesis
#KT-5041 Fixed
2015-05-16 17:09:51 +03:00
Valentin Kipyatkov 023c5eabf4 KT-6780 Completion inserts incorrect comma in end of parameter list when lambda parameter exists
#KT-6780 Fixed
2015-05-16 17:09:51 +03:00
Valentin Kipyatkov a036a6435b Fixed not working item in completion list for infix call 2015-05-16 17:09:51 +03:00
Valentin Kipyatkov 2adf0a3e9a KT-4908 Smart completion does not work for arguments of function with vararg
#KT-4908 Fixed
2015-05-16 17:09:50 +03:00
Valentin Kipyatkov 4c315b6219 KT-7452 Code completion does not honor smart casts for 'this'
#KT-7452 Fixed
2015-05-16 17:09:50 +03:00
Valentin Kipyatkov a3bd6ca017 Introduced shortcut properties + getArrowNode -> getArrow 2015-05-14 01:10:00 +03:00
Valentin Kipyatkov 00dcbd4d93 Initial implementation of KT-4046 Support 'Create constructor matching superclass'
#KT-4046 Fixed
2015-05-14 01:09:21 +03:00
Nikolay Krasko 9d986d077c Move kotlin runtime library to end of classpath and remove duplicates with 'util' package 2015-05-06 14:18:24 +03:00
Denis Zharkov 02659ca22d Adjust project code to new labels syntax 2015-04-30 10:16:42 +03:00
Dmitry Jemerov b7b5333cb9 keyword completion test: trait -> interface 2015-04-29 16:50:21 +02:00