Dmitry Gridin
bfd539d5d1
Formatter: fix line break between declarations with comment
...
#KT-12490 Fixed
#KT-35088 Fixed
2019-11-26 19:40:51 +07:00
Dmitry Gridin
b6b755506c
Formatter: support Chop down if long for Chained method calls
...
#KT-23929 Fixed
#KT-33553 Fixed
2019-11-26 19:40:51 +07:00
Toshiaki Kameyama
251899c31a
Fix bad indentation when copy-paste to trimIndent()
...
#KT-33888 Fixed
2019-11-26 18:00:38 +07:00
Vladimir Dolzhenko
c7c512d55e
Merge pull request #2815 from t-kameyama/KT-35022
...
Remove `const` modifier on "change to var" quickfix
#KT-35022 Fixed
2019-11-23 13:42:00 +01:00
Nikolay Krasko
73a152ccc7
Re-mute inspection tests in AS34 (KT-32856)
2019-11-22 22:12:39 +03:00
Nikolay Krasko
e49d7c86ff
Re-mute move refactoring tests (KT-34106)
2019-11-22 22:12:38 +03:00
Nikolay Krasko
0ae677e945
Re-mute checker tests (KT-34105)
2019-11-22 22:12:38 +03:00
Toshiaki Kameyama
f6059c3eb5
"Change to var": remove const modifier
...
#KT-35022 Fixed
2019-11-23 01:17:38 +09:00
Sergey Rostov
75a23b4bc4
Minor: changes after review
2019-11-22 11:43:35 +03:00
Sergey Rostov
0fb58ed94c
Scripting loading tests and extension points
2019-11-22 11:43:34 +03:00
Natalia Selezneva
ca71b2fe90
Add script configuration dependencies to script classpath
...
It was missing during configuration refinement thought new scripting API and during loading script configuration on Gradle project import
Do not pass additional classpath to configuration classpath: this may only affects Gradle with New scripting API (because it isn't used from other places)
In additional classpath kotlin-compiler and kotlin-stdlib was passed and there is no needs for this during loading Script Definitions through new scripting API
^KT-34626 Fixed
2019-11-22 11:43:34 +03:00
Roman Golyshev
28e2d2faf2
KT-34740 Make getImplicitReceiversWithInstanceToExpression keep script implicit receivers
...
- This makes completion aware of scripts implicit receivers (it matters in .gradle.kts files, for example)
- ^KT-34740 Fixed
2019-11-22 11:22:46 +03:00
Igor Yakovlev
aba5ff0c1e
Fix copy refactoring for multiply kotlin files
...
Fixed #KT-34971
2019-11-21 19:19:15 +03:00
Andrey Uskov
937cffd273
Support Gradle 5.x in GradleInspectionTest
2019-11-20 13:53:58 +03:00
Andrey Uskov
968ccf667a
Fix GradleNativeLibrariesPropagationTest
...
Dev plugin in tests were replaced with release version
2019-11-20 13:53:52 +03:00
Andrey Uskov
8a3dfe93f2
Fixed GradleFacetImportTests for gradle 5.x
2019-11-20 13:53:50 +03:00
Andrey Uskov
9e7eff7e72
Enable ImportCompilerArgumentsWithInvalidDependencies test
2019-11-20 13:53:48 +03:00
Mikhail Glukhikh
1e548e3f21
FIR substitution: use intersection of bounds for * projection
2019-11-19 13:07:46 +03:00
Aleksandr Prokopyev
5975251a32
Debugger: Coroutines stack frames with variables & coroutine dumps
2019-11-19 12:29:06 +03:00
Dmitriy Novozhilov
950d1f4fe4
[FIR] Fix enhancement of java array type
2019-11-19 10:43:46 +03:00
victor.petukhov
cf161f8234
Rework notForIncompletionCall test
2019-11-17 15:19:28 +03:00
victor.petukhov
25f3de2085
Use more stable kotlin dependency in tests for enabling inline classes flag
2019-11-15 16:13:44 +03:00
Andrey Uskov
e963b71921
Tests of import with latest gradle plugin are implemented
2019-11-14 21:13:19 +03:00
Andrey Uskov
51590ef1b7
Migrate import tests to annotation-driven determination of target
...
kotlin plugin versions
2019-11-14 21:13:16 +03:00
Vladimir Ilmov
ab3f9586b3
Suspend function calls highlighting added.
...
'If' highlighting fixed at settings sample area.
#KT-27496 Fixed
2019-11-14 08:07:56 +03:00
Vladimir Ilmov
46423443e9
'it' parameter highlighting fixed for chain usage.
...
#KT-31037 Fixed
2019-11-14 08:07:56 +03:00
igoriakovlev
cb11282183
Merge pull request #2516 from t-kameyama/KT-18539
...
KT-18539 Default implement fun/property text shouldn't contain scary comment
2019-11-13 19:33:44 +03:00
Igor Yakovlev
1ccda6a8d4
Add fast find usages for data class components
...
This commit add feature for disabling searching for data class ComponentN method and destruction declarations that could encrease usages search.
See KT-23278
2019-11-13 17:38:35 +03:00
Pavel Kirpichenkov
9a231bbbfa
Update trailing lambda quickfix, add tests
...
Case of incorrect call expression as the receiver of dot-qualified expression
was not handled properly.
Now the following order is used:
- If parent is a call expression or if this call is a receiver of parent
dot-qualified expression, parent must get last lambda as a new receiver;
- Otherwise, if parent is a dot-qualified expression, this call is in selector position.
Then grandparent is checked for being call or dot-qualified expression. If so, trailing
lambda must become grandparent's new receiver. If not, trailing nodes become standalone
epressions after parent.
- Otherwise, incorrect call expression is a standalone expression, so trailing nodes
may be lifted and put after it.
2019-11-13 11:00:01 +03:00
Pavel Kirpichenkov
f1934fa49d
Amend "Terminate preceding call with semicolon" quickfix
...
Quickfix wasn't aware of cases, when expression to be fixed
is a part of parent call expression or dot-qualified expression.
Incorrect position for extracting trailing lambdas led to broken
formatting.
#KT-34694 Fixed
2019-11-13 11:00:01 +03:00
Toshiaki Kameyama
4d9b19da82
Remove comments from function/property implementation template
...
#KT-18539 Fixed
2019-11-13 08:37:25 +09:00
igoriakovlev
633d1c9ea3
Merge pull request #2773 from t-kameyama/KT-28607
...
KT-28607 Extract/Introduce variable fails if caret is just after expression
2019-11-12 19:13:56 +03:00
Toshiaki Kameyama
e81fbe0a05
Folding: fold function with expression body (KT-6316)
...
#KT-6316 Fixed
2019-11-12 16:07:52 +03:00
Toshiaki Kameyama
58fb1dede3
Multiline string enter handler: do not insert 'trimIndent()' in const (KT-34785)
...
#KT-34785 Fixed
2019-11-12 16:07:52 +03:00
Toshiaki Kameyama
d04f88ff66
Extract/Introduce variable: fix to work correctly if caret is before right parenthesis or comment
...
#KT-28607 Fixed
2019-11-12 12:03:16 +09:00
Yan Zhulanow
ef8b3cb72a
Prefer Kotlin Junit test run configurations when possible (KT-33787)
2019-11-11 17:13:58 +09:00
Yan Zhulanow
987307cf92
Prefer Kotlin Gradle test run configurations when possible (KT-33787)
2019-11-11 17:13:58 +09:00
Vladimir Ilmov
214810ca01
Suspend test removed. Will be added later as part of appropriate ticket.
2019-11-11 00:57:52 +03:00
Dmitriy Novozhilov
be4ae5d7ba
Upgrade kotlin version in gradle configuration testdata
2019-11-10 11:46:22 +03:00
Vladimir Ilmov
e2b91cfec7
Properties with custom property declarations highlighting rule.
...
Added support for package and class-level properties with custom PD.
Java syntethic extensions are ignored from this rule.
#KT-30806 Fixed
2019-11-08 17:58:49 +03:00
Toshiaki Kameyama
39db76b2ab
"Indent raw string" intention: do not suggest in const
...
#KT-34784 Fixed
2019-11-07 14:57:56 +03:00
Leonid Startsev
24688f3503
Do not disable 'redundant visibility modifier' inspection completely in Explicit API mode.
...
Instead, disable it only for effectively public declarations.
Add tests for this IDE inspection.
2019-11-06 19:54:00 +03:00
Nikolay Krasko
5ca3698d13
Remute JoinLinesTestGenerated tests in 193 (KT-34408)
2019-11-05 20:13:30 +03:00
Nikolay Krasko
651a70ae54
Remute MultiLineStringIndentTestGenerated tests in 193 (KT-34566)
2019-11-05 20:13:30 +03:00
Dmitry Gridin
d321f4626f
Formatter: fix line break before OperationReference in elvis
...
#KT-22362 Fixed
2019-11-05 20:13:11 +07:00
Dmitry Gridin
247619c565
Formatter: fix line break between label and property
...
#KT-22273 Fixed
2019-11-05 20:13:11 +07:00
victor.petukhov
62d204f4d6
Support trailing comma
...
^KT-34743 Fixed
2019-11-01 19:40:20 +03:00
Nikolay Krasko
ffafd96f1b
Fix url for developers builds (KT-34246)
...
#KT-34246 Fixed
2019-11-01 12:25:44 +03:00
Andrey Uskov
fd2b75e39b
Fixed import of MPP project with single Android target
...
#KT-34639 Fixed
2019-10-31 21:39:18 +03:00
Dmitry Gridin
f641e2a139
RedundantRequireNotNullCallInspection: should use BodyResolveMode.PARTIAL_WITH_CFA instead of BodyResolveMode.PARTIAL
...
#KT-34672 Fixed
2019-10-31 19:24:37 +07:00