[New Extension] Smart Duplicate File #2941
FreHu
started this conversation in
Extension Show and Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The extension is meant to help when you need to create a new file that is similar to another existing file you already have (new controller, domain model scaffolding, etc.). Based on the original filename, it will try to intelligently replace its occurrences inside the new one, and open a diff with the original.
For example, duplicating
FirstControllertoSecondControllerwill replace not just the class name, but also all occurrences ofFirsttoSecond. I did my best to make it handle as much as possible. The full features are documented in the readme.https://github.com/FreHu/vscode-smart-duplicate-file
https://marketplace.visualstudio.com/items?itemName=frehu.smart-duplicate-file
Beta Was this translation helpful? Give feedback.
All reactions