zed
zed copied to clipboard
When renaming folders, update module name in code as well
Check for existing issues
- [X] Completed
Is your feature request related to a problem?
When changing the name of a folder or file, I have to go through and manually rename all my mod
statements.
Describe the solution you'd like
It would be nice if Zed could be tightly integrated with languages which care about file names and would automatically update back and forth.
Note that this is already implemented if using the rename dialog in code. This is about the reverse direction, a file rename action causing a code rename action.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
Strongly agree, this is what holds me back to use Zed full-time.
Bumping this as it's one of the reasons holding my team back from adopting zed
also came here looking for this as this is a necessary feature for refactoring
Same, I need this. Right now I have to jump back to vscode
if I want to do a Typescript refactor.
I agree with @huypham50 . I love Zed but whenever I move files I have to manually fix the imports and forces me to back to vs code.
Updating global import is also important for me, as this is a feature that only Jetbrains provides now. VSCode can only auto update imports if they are imported using relative path, but can't pick up all the changes if global import alias "@" is used in NextJS project.
This is one of these not so frequently used tools that remind me of VS Code or Webstorm when using Zed. This would be really nice to have indeed.
Still, Zed is such a breath of fresh air, thank you making it!
Also wanted to put my two cents on this feature: would be really helpful for refactoring projects.
I ❤️ Zed so far, but I really miss this feature.
Any update on this? This is the only thing that's holding me back from switching fully.