-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor move file #6487
Comments
From @tamascsaba on January 8, 2016 9:8 ??? |
What's going on here? |
API 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. |
+1 |
A better explanation can be found in #10218 (comment) |
👍 |
👍 |
2 similar comments
+1 |
+1 |
I think this is a MUST. Very useful. |
Do you guys have any updates about this issue? It is not in the Roadmap. |
The reason i code with webstorm open, side by side with vscode, to rename/move files/folders and update all imports automatically. |
Aggregate 👍 on the OP 😀 |
@aluanhaddad, no, it's good that he posted this. He provided valuable information that Webstorm has an implementation of this. |
This would be very valuable and actually, must. When this can be expected? Another feature, not sure mentioned anywhere or not, is ability to move TS export (interface/function/const../whatever) into another file, so that it would find all the import references in other files and changed them to a new location. Also, would add import in the original file if moved object was used there. |
+1 |
I have been using this Move TS extension with good results. |
Would 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. |
@orgito damn that plugin should have been built into vscode itself! a real gem |
Agreed 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. |
Any news here? |
No news? |
+1 |
Hi @misantronic, @sergeu90, @tinee and @baszalmstra Have you ever seen that you could use emoji reaction instead of posting 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: The community appreciates if we all start using the reactions instead: I apologise for any offence it may cause and for the others getting this notification. |
So, is this not gonna be implemented? |
Should be covered by:
|
From @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
The text was updated successfully, but these errors were encountered: