Repository navigation
Refactor move file #6487
Description
Activity
mhegazy commented
on Jan 14, 2016 ContributorAuthorMore actionsFrom Csaba Tamás (@tamascsaba) on January 8, 2016 9:8
???
- addedSuggestionAn idea for TypeScriptAn idea for TypeScriptDomain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptNeeds ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.This issue needs a plan that clarifies the finer details of how it could be implemented.
on Jan 14, 2016 RyanCavanaugh commented
on Jan 14, 2016 MemberMore actionsWhat's going on here?
mhegazy commented
on Jan 14, 2016 ContributorAuthorMore actionsAPI support for a new LS operation to move a file. the new operation would result in , similar to rename, a set of changes to be applied to the project.
for instance, if you more a module, all imports will be adjusted to reflect the new name/path. similarly /// references would be rewritten as well. possiblly tsconfig.json references.
Reacted by Lucas Basquerotto, Rolf Schäuble, Michael Ovchinnikov, Eugene Lubarsky, vitalysoftech and DT+1
mhegazy commented
on Sep 29, 2016 ContributorAuthorMore actionsA better explanation can be found in #10218 (comment)
Reacted by normalser👍
Reacted by Chris- addedDomain: LS: Refactoringse.g. extract to constant or function, rename symbole.g. extract to constant or function, rename symbol
on Nov 21, 2016 👍
+1
+1
I think this is a MUST. Very useful.
remojansen commented
on Mar 22, 2017 ContributorMore actionsDo you guys have any updates about this issue? It is not in the Roadmap.
Reacted by Darius H, Quentin, nexus, Dang, Minh Tran, Eugene Lubarsky, Caelan, Raman Viarbitski and Kris Kaczor5 remaining items
I have been using this Move TS extension with good results.
Reacted by colin-dev, Daniel Perez, Ryan Stringham, Kat Busch, moonforeshot, Daniel Kim, Julio Cezar Silva, Benny739, Sean Newell, Michael Ovchinnikov and 23 moreReacted by Sean Newell, Pavel Tretyakov, Caelan, Kris Meister, Michał Pietraszko and Anthony RotaReacted by Павел Богатырёв, Rob Yoder, Kris Meister, Michał Pietraszko and Anthony RotaWould the changes be on vscode or typescript api providing vscode that ability to rename/move files?
A definite must. If you don't plan a months-ahead architecture for any big project you get in, the final structure will either be a complete mess or organized at the cost of many head-scratching hours.
Reacted by Dang, Maxime, Hernán Montes, Michael Ovchinnikov, Shobhit Gupta, Ivan, Kris Kaczor, James Carlson and Kris MeisterRenato Orgito (@orgito) damn that plugin should have been built into vscode itself! a real gem
Reacted by Michael Ovchinnikov, Ryan Stringham and Kris MeisterAgreed that this is vital. Without that plugin it would have pushed me over the edge to Webstorm. The only weakness with the plugin is that it saves automatically; to be compatible with "rename symbol" in VSCode it should make the changes in all dependent files but not save them.
Reacted by Michael Ovchinnikov and Lucas BasquerottoAny news here?
Reacted by Michael Ovchinnikov, Martin Eckardt, Aryan J, Saad Anjum, Paul Robert W., Christian Speckner, Lucas Basquerotto, Eugene Lubarsky, Emil Heskey Staurset, shooterbret and 1 moreNo news?
Reacted by Jordane, shooterbret and Naum Fidanovski+1
Reacted by Johannes Harestad, Martin Stålberg, Marc McIntyre, Ted Driggs and insidewhyHi David Schkalee (@misantronic), @sergeu90, tinee and Bas Zalmstra (@baszalmstra)
Have you ever seen that you could use emoji reaction instead of posting
+1?Every time we post comments on GitHub, all the subscribers of the topic receive notifications and some users, receive emails too. It's kind of frustrated reading an email written:
+1The community appreciates if we all start using the reactions instead:
github.com/blog/2119-add-reactions-to-pull-requests-issues-and-commentsI apologise for any offence it may cause and for the others getting this notification.
Reacted by Bas Zalmstra, Quintin Knudsen, sballew-insteon, Shobhit Gupta, Aluan Haddad, David Schkalee, Ger, itsMapleLeaf, Merott Movahedi, Martin Stålberg and 31 moreReacted by uglycoyoteSo, is this not gonna be implemented?
Reacted by Simeon Vincent, Marc McIntyre, Aluan Haddad, Ted Driggs and Mario LamontagneReacted by Damian Bachórz and RzvnBmhegazy commented
on May 3, 2018 ContributorAuthorMore actionsShould be covered by:
- New rename command: Add 'renameFile' command to services #23573
Triggered by IDE to update the project after a file rename event - Refactor - Move to a new file: Add 'move to new file' refactor #23726
Triggered manually by selecting a declaration(s) and moving them to a new file
Reacted by Maxime, Kris Kaczor, Jari Pennanen and Yann Leflour- New rename command: Add 'renameFile' command to services #23573
- addedFixedA PR has been merged for this issueA PR has been merged for this issue
on May 3, 2018 - locked and limited conversation to collaborators
on Jul 31, 2018
From Csaba Tamás (@tamascsaba) on December 7, 2015 15:15
I want to move file to another location but there is no way :(
like: https://www.jetbrains.com/idea/help/move-refactorings.html
Copied from original issue: microsoft/TypeScript-Sublime-Plugin#416