Dmitry Gridin
db5751616a
MoveKotlinDeclarationsProcessor: fix formatting for long qualifier names
...
#KT-35338 Fixed
2020-04-28 12:37:17 +00: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
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
Alexey Sedunov
bdfc814389
Move: Fix scope of internal reference recovery in the case of file move
...
#KT-22282 Fixed
2018-02-21 13:21:19 +03:00
Alexey Sedunov
27d4593fc4
Move: Fix lengthening of qualified type references
...
KT-14519 Fixed
2018-02-21 13:21:18 +03:00
Alexey Sedunov
c690761715
Move: Do not process imported references when moving entire file
...
#KT-17538 Fixed
2017-04-24 20:52:10 +03:00
Alexey Sedunov
358b5fe548
Move: Force package name change when moving Java files
...
Package statement in Java file is updated too late
when moving the entire containing directory, so we force it
with intercepting MoveFileHandler implementation
2017-04-11 11:45:08 +03:00
Alexey Sedunov
746ec48176
Move: Fix internal reference processing on moving multiple files
...
#KT-17211 Fixed
2017-04-04 14:35:10 +03:00
Alexey Sedunov
bab762b761
Implement post-refactoring optimization of unused imports
...
#KT-15822 Fixed
#KT-13755 Fixed
2017-03-22 13:36:11 +03:00
Alexey Sedunov
61210d6ba2
Move: Fix callable reference processing when moving to another package
...
#KT-14197 Fixed
2016-12-02 14:14:03 +03:00
Alexey Sedunov
140d0b61f1
Move: Fix exception on moving Kotlin file without declarations
...
#KT-14114 Fixed
2016-10-07 20:20:32 +03:00
Alexey Sedunov
542f8d9fd2
Move: Support quoted package names
...
#KT-12411 Fixed
(cherry picked from commit 95239e5)
2016-06-28 15:07:30 +03:00
Dmitry Jemerov
8fdd8179b9
Workaround for KtEnumEntrySuperclassReferenceExpression which implements KtSimpleNameExpression in a weird way and can break Move refactoring (EA-75268 - assert: TextRange.<init>)
2016-01-13 20:28:39 +01:00
Alexey Sedunov
ca87e7933f
Move: Drop Java on-demand static imports of facade class members when original facade is eliminated due to Move refactoring
...
#KT-9624 Fixed
2015-10-24 19:50:48 +03:00
Dmitry Petrov
a76fb328cb
Dropping package facades:
...
- fix testData for 'move' tests
(NB regression in **/onDemandStaticImport.java, see: https://youtrack.jetbrains.com/issue/KT-9624 )
2015-10-19 16:03:20 +03:00
Pavel V. Talanov
e578caaed2
Fix test data for move test
...
Tests do not pass after this change
(cherry picked from commit d4437d7)
2015-10-19 16:03:18 +03:00
Stanislav Erokhin
8a0f175135
Minor. Suppressed test for KT-9204.
2015-09-18 21:00:23 +03:00
Alexey Sedunov
b2eb53e4b2
Move/Change Package: Package name validation
...
#EA-70631 Fixed
2015-09-03 22:06:06 +03:00
Alexey Sedunov
da6b8b75ea
Move File/Change Package: Change package directive prior to processing of internal usages (otherwise some necessary imports are not added)
2015-05-18 21:18:51 +03:00
Evgeny Gerashchenko
83f2a08708
Added test with moving file used in Java to other package.
2015-03-31 18:14:00 +03:00
Evgeny Gerashchenko
f789933683
Fixed updating Java references on moved Kotlin top-level callables.
2015-03-31 18:13:20 +03:00
Valentin Kipyatkov
0a363fc371
Import is placed in some specific order on adding
2015-02-19 11:07:02 +03:00
Valentin Kipyatkov
20cf100714
Shorten references inserts imports for global functions and properties too
2015-02-19 11:07:01 +03:00
Alexey Sedunov
ff082be524
File Move: Fix update of extension references. Reuse MoveKotlinTopLevelDeclarationsProcessor
2014-10-14 01:59:53 +04:00
Alexey Sedunov
735fd6c626
Move: Fix detection of imported declarations and processing of extension usages
...
#KT-5787 Fixed
#KT-4959 Fixed
2014-09-23 12:50:46 +04:00
Alexey Sedunov
5327031300
Update references when moving Kotlin file
...
#KT-1696 Fixed
2014-03-07 19:24:33 +04:00
Alexey Sedunov
3729966270
Forbid moving file to another file
...
#KT-4069 Fixed
2014-03-04 19:45:34 +04:00