Toshiaki Kameyama
cbbdec5898
Change Signature: enable on primary constructor keyword ( #2482 )
...
#KT-19744 Fixed
2020-06-11 12:10:12 +03:00
Nikita Bobko
a94d2211e4
Cleanup getLineCount
2020-06-04 14:56:23 +03:00
Toshiaki Kameyama
82d81d5223
Change Signature: move lambda outside of parentheses if the arguments are reordered so that the lambda goes last
...
#KT-30128 Fixed
2020-05-15 17:58:33 +02:00
Dmitry Gridin
50506658c0
fix some tests for as36
2020-05-08 19:13:28 +07:00
Dmitry Gridin
11a3482970
tests: apply official code style
...
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00
Dmitry Gridin
ccfea97390
CopyKotlinDeclarationsHandler: fix for package with backticks
...
#KT-38543 Fixed
2020-05-04 03:49:30 +00:00
Dmitry Gridin
8e35b7a29c
KotlinIntroduceVariableHandler: fix for declarations with expression body
...
#KT-38449 Fixed
2020-05-04 03:49:28 +00:00
Dmitry Gridin
2f015b4c7a
Fix testKotlin_moveTopLevelDeclarations_movePrivatePropertyWithDefaultAccessors_MovePrivatePropertyWithDefaultAccessors test
2020-04-29 13:05:36 +07:00
Dmitry Gridin
a11e6b2eed
KotlinChangePackageRefactoring: fix formatting for long qualifier names
...
#KT-38627 Fixed
2020-04-28 12:37:18 +00:00
Dmitry Gridin
db5751616a
MoveKotlinDeclarationsProcessor: fix formatting for long qualifier names
...
#KT-35338 Fixed
2020-04-28 12:37:17 +00:00
Dmitry Gridin
585177bcf7
Formatter: fix indent for multiline expression in string template
...
#KT-35359 Fixed
2020-04-14 13:54:12 +00:00
Vladimir Dolzhenko
b51ae78b84
Do not resolve alias imported references on rename
...
#KT-38096 Fixed
2020-04-09 20:38:01 +00:00
Valentin Kipyatkov
88cd129549
Fixed other parameter references broken in new parameter values in conventional Change Signature
2020-04-07 22:17:04 +03:00
Dmitry Gridin
de1fa40c7e
CodeInliner: fix KNPE
...
#KT-22733 Fixed
#KT-36225 Fixed
#EA-206694 Fixed
2020-04-04 00:46:15 +07:00
Igor Yakovlev
b205b017fe
Fixed references move refactoring for NonCode usages
...
We need to try correctly refactor NonCode usages of Java-like facade FQ names
i.e. if we have file A.kt with method foo we need to check AKt.foo and foo entries for non-code text search
Fixed #KT-36382
2020-03-30 13:51:27 +03:00
Toshiaki Kameyama
a96cafe066
Extract property: do not suggest duplicate property name
...
#KT-36504 Fixed
2020-03-25 22:19:26 +01:00
Vladimir Dolzhenko
e951f1a43a
Find Usages and Go to declaration of element used via import alias
...
#KT-18619 Fixed
2020-03-20 14:59:24 +00:00
Toshiaki Kameyama
f487118be5
Change signature: fix it works correctly when call site function has no value argument list
...
#KT-23510 Fixed
2020-02-22 09:07:34 +01:00
Toshiaki Kameyama
e56abcbb85
Inline variable: fix it works correctly for 'when' subject variable
...
#KT-29870 Fixed
2020-02-21 17:30:13 +01:00
Roman Golyshev
3461effd47
KT-33372 Remove renaming file reference to the contents of the file
...
- There is still a hack with returning null from `getLastFileReference`,
it is here to keep KT-25674 issue fixed
- Overrides of `bindToElement` are removed, they caused renames of the
file references to their contents
- Code of `KotlinFilePathReferenceContributor.kt` is refactored
- ^KT-33372 ^KT-32514 ^KT-36306 Fixed
2020-02-16 17:08:11 +03:00
Toshiaki Kameyama
cb1c0344b8
Rename: add test for overridden method renaming in generic class
...
#KT-26047 Fixed
2020-02-11 17:25:12 +03:00
Toshiaki Kameyama
ff76ba52d8
Inline Function: fix false positive with inner function with 'return'
...
#KT-34190 Fixed
2020-02-11 16:23:57 +03:00
Toshiaki Kameyama
4b5f3b7a94
Extract property: do not add unnecessary extension receiver
...
#KT-24615 Fixed
2020-02-11 15:52:47 +03:00
Ilya Kirillov
4df8744b34
Rename by-name parameter usage in function calls when renaming function's parameter
...
#KT-32999 fixed
2020-02-11 13:48:56 +03:00
Dmitry Gridin
c34b417d0c
Fix tests after disabling trailing comma
...
#KT-34744
2020-02-04 21:34:53 +07:00
Dmitry Gridin
d06787886a
Fix tests after implementing trailing comma in formatter
...
#KT-34744
2020-01-17 21:02:54 +07:00
Toshiaki Kameyama
6b2e58cc0b
Inline function: fix it works correctly for callable reference receiver
...
#KT-26248 Fixed
2020-01-13 11:59:42 +03:00
Igor Yakovlev
e2bb602271
Fix invalid test data file names
2020-01-11 00:03:48 +03:00
Igor Yakovlev
0c4134470d
Fix exception of rename readonly overridden methods
2020-01-10 21:37:12 +03:00
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
Nikolay Krasko
e49d7c86ff
Re-mute move refactoring tests (KT-34106)
2019-11-22 22:12:38 +03:00
Igor Yakovlev
aba5ff0c1e
Fix copy refactoring for multiply kotlin files
...
Fixed #KT-34971
2019-11-21 19:19:15 +03:00
Alexander Podkhalyuzin
ddd25c703a
SmartPointers in Introduce Variable refactoring
...
It's often case, when psi can die after reparse, especially after
reformatting cases, SmartPointers are opposite to it, can survive
#KT-32601 Fixed
2019-10-30 18:08:14 +03:00
Igor Yakovlev
2dfe3c568d
Copy refactoring update kotlin packages on target files
...
Fix #KT-18191
2019-10-23 16:44:18 +03:00
Igor Yakovlev
a19c5f944e
Mute tests with new tickets to resolve it later
...
Muted test with next tickets:
https://youtrack.jetbrains.com/issue/KT-34105
https://youtrack.jetbrains.com/issue/KT-34106
https://youtrack.jetbrains.com/issue/KT-34107
2019-10-01 13:53:21 +03:00
Toshiaki Kameyama
729ed1a44e
Pull Members Up: fix invalid code format on function with comment and another indent
...
#KT-32426 Fixed
2019-08-23 14:25:49 +07:00
Burak Eregar
d1cbee44f1
Move refactoring: suggest file name starting with an uppercase letter
...
Fixed #KT-30342
2019-08-21 00:58:59 +03:00
Vadim Brilyantov
60e3787800
Tests for Sealed Class move + Fix invalid move declaration test
...
MoveDeclarationToSeparateFile.testSealed test was threated to check that the intention is not applicable but it currently is.
2019-07-17 15:53:58 +03:00
Mikhail Glukhikh
ee37a0aa9f
Inline callable: keep all usages inside annotation entries
...
#KT-24596 Fixed
2019-07-10 15:10:52 +03:00
Mikhail Glukhikh
eb00af6b96
CFG: mark annotation arguments as "used as expressions" #KT-24596 Fixed
...
NB: only classes / function / properties annotations are considered here,
not including local declarations and other annotations
2019-07-10 15:10:52 +03:00
Mikhail Glukhikh
615aa265f5
Inline: do more precise check before adding this@Labeled #KT-30762 Fixed
2019-07-10 15:10:51 +03:00
Dmitry Gridin
6605e0dfc0
Update test 'moveMultipleFIlesWithImplicitPrefix'
2019-07-10 14:09:37 +03:00
Dmitry Gridin
d2b8535548
Move/copy refactoring: add base support of implicit package prefix
...
#KT-29720 Fixed
2019-07-10 14:09:37 +03:00
Dmitry Gridin
96ed33e357
Optimize Imports should remove unused import alias
...
#KT-17375 Fixed
2019-05-06 18:10:52 +07:00
Mikhail Zarechenskiy
c95eddbbbe
[IDE-NI-MIGRATE] Migrate few tests for new inference
2019-05-06 13:59:28 +03:00
Dmitriy Novozhilov
a79030aa0f
[IDE-NI-MIGRATE] [BAD] Migrate testdata of MultiModuleSafeDelete tests
...
Bad tests in `MultiModuleSafeDeleteTestGenerated`:
- testByActualClassSecondaryConstructorParameterLiftingToExpect_ExpectsAndActualsByActualClassSecondaryConstructorParameter
- testByExpectClassSecondaryConstructorParameter_ExpectsAndActualsByExpectClassSecondaryConstructorParameter
- testByActualClassPrimaryConstructorPropertyLiftingToExpect_ExpectsAndActualsByActualClassPrimaryConstructorProperty
- testByActualClassPrimaryConstructorParameterLiftingToExpect_ExpectsAndActualsByActualClassPrimaryConstructorParameter
- testByExpectClassPrimaryConstructorParameter_ExpectsAndActualsByExpectClassPrimaryConstructorParameter
2019-05-06 11:36:30 +03:00
Dmitriy Novozhilov
b66bbdf7a6
[IDE-NI-MIGRATE] [BAD] Migrate testdata of Extraction tests
...
Bad tests:
- IntroduceTypeParameter.testDuplicates
- IntroduceTypeParameter.testNullableType
- IntroduceTypeParameter.testUserType
- IntroduceTypeParameter.testFunctionType
- IntroduceTypeParameter.testInClass
- ExtractFunction.TypeParameters.testNoVarianceInFun
- ExtractFunction.Parameters.CandidateTypes.testNonNullableTypes
- ExtractFunction.Parameters.CandidateTypes.testMultipleTypes
- ExtractFunction.ControlFlow.OutputValues.testGenericPair
- IntroduceVariable.ExplicateTypeArguments.testDeeperNestedCall
2019-05-06 11:36:28 +03:00
Dmitry Gridin
ce1ec49625
Add case for private nested class/object in KotlinSafeDeleteProcessor
2019-03-27 11:46:30 +07:00
Nikolay Krasko
213b98fefe
Review changes: revert compiler behaviour, add test, remove inner classes
2019-03-12 14:28:31 +03:00
Yan Zhulanow
6cb2146d31
Remove 'allowSpecialClassNames' extraction option
2019-02-25 14:43:58 +03:00