-
-
Notifications
You must be signed in to change notification settings - Fork 892
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
LSP Javascript rename folder #4104
Comments
Is this supported by the server? |
I'm not too sure... But VSCode can do it. And technically if you can do it one file we can do it recursively for every JS files under a directory? |
VScode is using tsserver, not typescript-language-server. Technically, I can implement the whole JS support in elisp but the overall idea is to have a thin client and the server to provide functionality like this. |
Oh I didn't even know that VSCode use tsserver which isn't a LSP? Seeing that LSP was developed for/by VSCode, learning something new everyday :) But yeah, would make sense to have this functionality provided by the server I guess. This would be huge though, pretty much the only major missing functionality compared to VSCode. Can pretty much switch my workflow to emacs entirely if this is available. |
that can be implemented in lsp-mode |
Awesome, wonder if this could be implemented as a language agnostic function |
Currently you can rename individual Javascript file with
lsp-javascript-rename-file
and have imports automatically updated. The same can't be done for folder. Would be nice to have that option for working with large projects.The text was updated successfully, but these errors were encountered: