Commit Graph

39533 Commits

Author SHA1 Message Date
Nikolay Krasko a4f6b17559 Invalidate debugger tests caches on dist compiler updates 2017-06-13 19:14:49 +03:00
Nikolay Krasko 6d22e06359 Move all test data for single test to one directory 2017-06-13 19:14:48 +03:00
Simon Ogorodnik 75e5dca735 KT-18051: Allow copy-pasting from IDEA java to kotlin conversion
#KT-18051 fixed
2017-06-13 15:32:21 +03:00
Simon Ogorodnik fa3f87492c KT-12104: Fix smart completion for argument of implicit invoke
#KT-12104 fixed
2017-06-13 15:32:09 +03:00
Dmitry Jemerov 8077a71aec Show more correct type hints
- Don't show hints containing error type as type parameter
 - Do not expand type aliases
 - Show base type for types of anonymous objects

 #KT-18369 Fixed
 #KT-18341 Fixed
 #KT-18343 Fixed
2017-06-13 14:26:56 +02:00
Mikhail Glukhikh c6578384fb Minor: remove unused functions 2017-06-13 15:18:16 +03:00
Mikhail Glukhikh ada697c6b0 Highlighting visitor: make holder immutable 2017-06-13 15:18:10 +03:00
Mikhail Glukhikh 945859ae4d Remove non-actual suppress 2017-06-13 15:18:05 +03:00
Mikhail Glukhikh d5e605d5cc Distinguish captured highlighting from local variable / parameter
So #KT-14271 Fixed
2017-06-13 15:17:59 +03:00
Mikhail Glukhikh aa3589004e Highlighting visitor: refactoring
Do not call AnnotationHolder functions directly,
only via HighlightingVisitor
2017-06-13 15:17:53 +03:00
Mikhail Glukhikh f225d8dea5 J2K: HighlightingVisitor, AfterAnalysisHighlightingVisitor 2017-06-13 15:17:48 +03:00
Mikhail Glukhikh 44e727b75c Redundant toString() in string template: highlight selector only
And not the receiver. So #KT-18253 Fixed
2017-06-13 15:17:42 +03:00
Toshiaki Kameyama 2afe8989df Make <modifier> intention handle sealed correctly #KT-18425 Fixed 2017-06-13 15:02:36 +03:00
Dmitry Jemerov a6d80b78de Fix tests 2017-06-13 13:04:11 +02:00
Vasily Kirichenko 6829c5ef8f add a test 2017-06-13 13:04:10 +02:00
Vasily Kirichenko 0381018d00 add the check into CanBePrimaryConstructorPropertyInspection as well 2017-06-13 13:04:10 +02:00
Vasily Kirichenko c0ee50a693 do not show "Move to constructor" intention for properties declared in interfaces 2017-06-13 13:04:09 +02:00
Dmitry Jemerov b9cfb6b59b typo 2017-06-12 19:20:12 +02:00
Dmitry Jemerov 2d9bf73049 Sort plugins before uploading 2017-06-12 19:02:20 +02:00
Toshiaki Kameyama ac03c91dcc Make <modifier> intention inserts modifier between annotation and class keywords #KT-14092 Fixed 2017-06-12 18:32:35 +02:00
Alexey Sedunov 79493985be Kotlin Facet: Fix facet existence check during Gradle import
EA-101476 Fixed
2017-06-12 16:37:41 +03:00
Simon Ogorodnik a371bcb624 Fix flaky kdoc lexer test
Normalize line separators
2017-06-11 18:13:49 +03:00
Ilya Gorbunov 4798c029de Limit visibility of sublists, make them implement RandomAccess 2017-06-10 10:00:15 +03:00
Ilya Gorbunov d7ad1f3950 Explicitly disable ArrayLiteralsInAnnotations feature in test which validates it's unsupported 2017-06-10 10:00:15 +03:00
Anton Bannykh 46d9d296ca JS: use '/' as separator on all platforms to prevent sourcemap parse errors 2017-06-09 20:32:22 +03:00
Alexey Sedunov 3b15285a0c Analyze Data Flow: Add usage context panels 2017-06-09 17:19:23 +03:00
Alexey Sedunov ff5a52b445 Analyze Data Flow: Respect member hierarchies
#KT-11994 In Progress
2017-06-09 17:19:22 +03:00
Alexey Sedunov 49da81f681 Analyze Data Flow: Support val/var parameters
#KT-11994 In Progress
2017-06-09 17:19:20 +03:00
Alexey Sedunov ea7d535ae7 Analyze Data Flow: Support properties with custom accessors
#KT-11994 In Progress
2017-06-09 17:19:20 +03:00
Alexey Sedunov d61ddaccb6 Analyze Data Flow: Support callable references
#KT-11994 In Progress
2017-06-09 17:19:18 +03:00
Alexey Sedunov 3f411fc93b Analyze Data Flow: Support lambdas/anonymous functions
#KT-11994 In Progress
2017-06-09 17:19:18 +03:00
Alexey Sedunov 0f44dd6ab0 Analyze Data Flow: Support dereference processing
#KT-11994 In Progress
2017-06-09 17:19:16 +03:00
Alexey Sedunov 858b454138 Analyze Data Flow: Initial implementation
#KT-11994 In Progress
2017-06-09 17:19:15 +03:00
Dmitry Neverov 3f104833ba Handle multi-line spaces and leading asterisks more correctly 2017-06-09 17:14:28 +03:00
Sergey Igushkin 0453c4a7bf Fix Android SDK licenses not being accepted in Kapt3AndroidIT
(cherry picked from commit 8084ac6)
2017-06-09 16:38:09 +03:00
Mikhail Glukhikh 630af6a9c6 Correct 1.1-specific test to fix 1.2-M1 build 2017-06-09 13:10:37 +03:00
Valentin Kipyatkov ca7a0da10f Fixed one more case of redundant type arguments 2017-06-08 23:26:39 +03:00
Valentin Kipyatkov 4b0cbc61d1 More correct 2017-06-08 23:26:38 +03:00
Valentin Kipyatkov c08d862e9e More correct algorithm for redundant type arguments detection 2017-06-08 23:26:38 +03:00
Valentin Kipyatkov cfa442a42a Move refactoring available on cut/paste declarations from an object to top-level 2017-06-08 23:26:12 +03:00
Dmitry Jemerov b143b1be42 Revert tesdata changes to match changed code behavior 2017-06-08 19:48:12 +02:00
fitermay 4fab29b648 KT-18006 Don't cut off trailing new lines. Make behavior consistent with Java literal copy/paste 2017-06-08 19:48:12 +02:00
fitermay a63d631435 KT-18006 Bring behavior of Kotlin literal copy/paste inline with Java's after IDEA-172984 2017-06-08 19:48:12 +02:00
Nikolay Krasko ba34ed89d3 Allow to report exceptions in internal mode when updates are available 2017-06-08 17:21:13 +03:00
Toshiaki Kameyama c149e956cc Replace explicit parameter isn't shown on destructuring declaration
So #KT-17026 Fixed
2017-06-08 16:32:54 +03:00
Alexey Sedunov e5717d3e96 Copy: Enable file copy for mixed Java-Kotlin case
Also merge CopyKotlinFileHandler with CopyKotlinDeclarationsHandler
as it currently can't be invoked for such cases

 #KT-18200 Fixed
2017-06-08 14:37:37 +03:00
Alexey Sedunov 13212f06b4 Copy/Move: Fix processing of imported Java static members
#KT-18098 Fixed
2017-06-08 14:37:37 +03:00
Alexey Sedunov a0629bfc58 Rename: Fix rename of import alias referring to object member
#KT-18096 Fixed
2017-06-08 14:37:35 +03:00
Alexey Sedunov 1ded171720 Rename: Disable member inplace when variable inplace is available 2017-06-08 14:37:34 +03:00
Alexey Sedunov 69c315443a Rename: Disable label rename outside of reference range
#KT-17128 Fixed
2017-06-08 14:37:34 +03:00