Update the code with a tree action #1336
-
Is it possible update the code if the tree made a update on the tree directory? For example if I have something like
And I rename one of them for example main.js. Is it possible that the code where main.js is imported be updated to the new name? or if I change the position of a file in the directory tree something like
Is it possible to update the code where the image is imported? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
That's well outside the scope of nvim-tree. You might be able to use an LSP plugin to achieve this functionality: refactor / rename the usage of anotherFile.jpg in your code and have it move the file. |
Beta Was this translation helpful? Give feedback.
-
@alex-courtis |
Beta Was this translation helpful? Give feedback.
That's well outside the scope of nvim-tree.
You might be able to use an LSP plugin to achieve this functionality: refactor / rename the usage of anotherFile.jpg in your code and have it move the file.