Commit Graph

39543 Commits

Author SHA1 Message Date
Mikhael Bogdanov c8d3553a31 Rename InlineCodegenUtil.kt to inlineCodegenUtils.kt 2017-06-14 10:34:23 +02:00
Mikhael Bogdanov bbb2b36794 Merge InlineCodegeUtil and InlineCodegeUtils 2017-06-14 10:34:22 +02:00
Mikhael Bogdanov 172a9c7e1e Code clean after convertion 2017-06-14 10:34:21 +02:00
Mikhael Bogdanov 51d494a271 Convert InlineCodegenUtil to Kotlin 2017-06-14 10:34:21 +02:00
Mikhael Bogdanov b7b3b3a19c Rename InlineCodegenUtil.java to InlineCodegenUtil.kt 2017-06-14 10:34:20 +02:00
Mikhael Bogdanov 63c4794c30 Clean code after convertion 2017-06-14 10:34:19 +02:00
Mikhael Bogdanov e6dbe87ee2 Convert InlineCodegen to Kotlin 2017-06-14 10:34:18 +02:00
Mikhael Bogdanov 7ce980815c Rename InlineCodegen.java to InlineCodegen.kt 2017-06-14 10:34:18 +02:00
Dmitry Jemerov 52cfec5bc1 Add actions for toggling type hints to list of irrelevant actions
They are available in many tests and only starting with  the 172 branch,
 so we ignore them to reduce clutter and branch divergence.
2017-06-13 19:45:39 +02:00
Nikolay Krasko b0c82aac6a Minor: remove warnings and reformat KotlinDebuggerTestCase.java 2017-06-13 19:14:50 +03:00
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