Dmitry Jemerov
2e9a3e6d12
Option to use continuation indent in expression bodies (KT-9818)
2017-06-14 14:37:22 +02:00
Dmitry Jemerov
f4c75e61ad
Option to use continuation indent in parameter lists
2017-06-14 14:33:52 +02:00
Dmitry Jemerov
a4916a3c00
NodeIndentStrategy: J2K and cleanup
2017-06-14 14:33:51 +02:00
Dmitry Jemerov
14edd7e357
NodeIndentStrategy: rename to .kt
2017-06-14 14:33:51 +02:00
Dmitry Jemerov
6c954d7e04
Refactor custom options registration for more type-safe API
2017-06-14 14:33:44 +02:00
Dmitry Jemerov
fc2a1fce8b
Remove line break between ) and : if there's a line break before )
2017-06-14 14:33:42 +02:00
Dmitry Jemerov
2ce430d608
Refactor spacing rules representation for easier debugging
2017-06-14 14:33:41 +02:00
Dmitry Jemerov
a0b5a3a8a2
Implement parenthesis wrapping options
2017-06-14 14:33:41 +02:00
Dmitry Jemerov
487d948ad3
KotlinLanguageCodeStyleSettingsProvider: J2K and cleanup
2017-06-14 14:33:40 +02:00
Dmitry Jemerov
1da3c7f577
KotlinLanguageCodeStyleSettingsProvider: rename to .kt
2017-06-14 14:18:59 +02:00
Dmitry Jemerov
f32dc9e84e
Put lambda parameters on the same line as opening curly brace
2017-06-14 14:18:58 +02:00
Toshiaki Kameyama
af941bfdf5
KT-18158 Expand selection should select the comment after expression getter on the same line ( #1122 )
...
* Expand selection should select the comment after expression getter on the same line #KT-18158 Fixed
* Fixed expand selection behavior for the declaration with comment #KT-18158
* Remove redundant code #KT-18158
2017-06-14 12:28:56 +02:00
Dmitry Jemerov
b1f84676d1
Update tests according to new formatter behavior
2017-06-14 11:40:41 +02:00
Andrius Semionovas
8c6f93b899
Add tests for KEEP_LINE_BREAKS
2017-06-14 11:28:57 +02:00
Andrius Semionovas
839141e4f6
Stop formatting line breaks between keywords and parentheses
2017-06-14 11:28:57 +02:00
Andrius Semionovas
c6acc4c5be
KT-16558 Add space before parentheses config
2017-06-14 11:28:57 +02:00
Mikhael Bogdanov
c4fc0f3808
Review fixes
2017-06-14 10:34:25 +02:00
Mikhael Bogdanov
724ac3cf59
Convert text util methods to extension properties
2017-06-14 10:34:24 +02:00
Mikhael Bogdanov
e96d2212da
Workaround for LightClass generation problem KT-18419
2017-06-14 10:34:24 +02:00
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