Commit Graph

5807 Commits

Author SHA1 Message Date
Valentin Kipyatkov 762dc31e98 More consistent API in psi 2014-10-22 15:49:13 +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 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 af883d9165 Ordering items in smart completion for 'it' 2014-10-22 15:47:47 +04:00
Valentin Kipyatkov f5f5b514d4 Ordering items in smart completion for nullable 2014-10-22 15:47:33 +04:00
Valentin Kipyatkov 4068879d84 Ordering items in smart completion for boolean 2014-10-22 15:47:17 +04:00
Valentin Kipyatkov 9cf50154d2 Ordering items in smart completion for function type 2014-10-22 15:46:56 +04:00
Valentin Kipyatkov 65c30902e7 KT-6028 Smart completion items priority
#KT-6028 Fixed
2014-10-22 15:45:16 +04:00
Valentin Kipyatkov e6dbfac232 Fixed smart completion of functions with "::"
#KT-6073 Fixed
2014-10-22 15:42:36 +04:00
Valentin Kipyatkov f2a83cdf29 No need to filter by visibility in LookupElementsCollector anymore 2014-10-22 15:40:21 +04:00
Valentin Kipyatkov 042e446694 Refactored TipsManager to filter by visibility 2014-10-22 15:40:21 +04:00
Valentin Kipyatkov 13d9fd083c Auto-import fix also honors visibility 2014-10-22 15:40:20 +04:00
Valentin Kipyatkov 0a24dca821 Minor refactoring of KotlinIndicesHelper 2014-10-22 15:40:20 +04:00
Valentin Kipyatkov 1f632daf85 Code completion to filter out non-imported declarations by visibility 2014-10-22 15:40:20 +04:00
Valentin Kipyatkov b6d4de7046 Optimization in smart completion 2014-10-22 15:40:20 +04:00
Valentin Kipyatkov 86a9f47f6c Fixed KT-6056 Smart completion does not filter out inaccessible declarations
#KT-6056
2014-10-22 15:40:20 +04:00
Alexander Udalov 07374b5638 Drop temporary hack, enums are comparable now 2014-10-22 10:49:33 +04:00
Andrey Breslav d28c96837e Compilation errors fixed 2014-10-22 00:41:20 +04:00
Andrey Breslav a14eefcea3 KT-6077 Compiler does not issue error on unsafe access to ArrayList with nullable values
#KT-6077 Fixed
2014-10-22 00:41:20 +04:00
Andrey Breslav d9f5bd013b Clean up declarations of runReadAction() etc 2014-10-22 00:41:19 +04:00
Alexander Udalov f8be39b26b Regenerate tests
After recent changes to Printer and TestGenerator
2014-10-21 00:16:08 +04:00
Alexander Udalov ae401cac0f Prohibit type parameters for enum classes
#KT-5696 Fixed
2014-10-21 00:16:07 +04:00
Valentin Kipyatkov f00823c7bf Fixed NPE 2014-10-20 18:50:37 +04:00
Valentin Kipyatkov cb00e729ad Optimization to not optimize imports on completion of class name if we do not insert any import 2014-10-20 14:49:49 +04:00
Svetlana Isakova 4a1a95ea36 Rename: casted -> cast 2014-10-18 11:06:53 +04:00
Svetlana Isakova 595b3ffe23 KT-6026 Exception on instantiating a nested class in an anonymous object
#KT-6026 Fixed
2014-10-18 11:06:53 +04:00
Alexander Udalov 6ddc063a76 Regenerate test data on enums
Now they have final equals, hashCode and compareTo
2014-10-17 21:27:24 +04:00
Alexander Udalov 624e507ec2 Make enum classes comparable
#KT-3727 Fixed
2014-10-17 21:27:23 +04:00
Alexey Sedunov 0def7d4b4e JetFileReferenceResolver: Stabilize reference order 2014-10-17 17:34:04 +04:00
Alexey Sedunov 80321b610a Use QUALIFIER info in JetFileReferenceResolver 2014-10-17 17:34:02 +04:00
Alexey Sedunov f3a219f062 Shorten References: Extract common superclass for type- and expression-processing visitors 2014-10-17 17:33:48 +04:00
Alexey Sedunov f7e947e912 Shorten References: Simplify shortening of qualified expressions 2014-10-17 13:30:19 +04:00
Natalia Ukhorskaya be73ec2cc9 KotlinEvaluateExpressionTestGenerated:testSimple: add comment 2014-10-17 11:46:25 +04:00
Natalia Ukhorskaya 6bf0152f6d Fix KotlinEvaluateExpressionTestGenerated:testSimple 2014-10-17 10:37:54 +04:00
Evgeny Gerashchenko f63f1274cd Changed shortcuts for "Show expression type".
Using same shortcuts as in Scala.
2014-10-16 19:17:09 +04:00
Alexander Udalov f0169f4181 Regenerate tests 2014-10-16 17:10:33 +04:00
Valentin Kipyatkov 79123d6bb6 Minor 2014-10-16 15:14:23 +04:00
Valentin Kipyatkov 6b163bca8a Keyword completion uses simple prefix matching only 2014-10-16 15:14:23 +04:00
Valentin Kipyatkov 1e5ea703b5 Added a test 2014-10-16 15:14:23 +04:00
Valentin Kipyatkov 0da62a8815 Keyword completion: added missing 'out' keyword 2014-10-16 15:14:23 +04:00
Valentin Kipyatkov 6dc17e5a03 Minor refactoring in keyword completion 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov 96a5e573c3 Fix in keyword completion 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov 8e1a89230e Keyword correction: smaller file text 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov f7dc0fca74 Keyword correction: more correct behavior + smaller file text 2014-10-16 15:14:22 +04:00
Valentin Kipyatkov 525a1cc3c6 Fixed tests 2014-10-16 15:14:22 +04:00