-
Notifications
You must be signed in to change notification settings - Fork 144
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
Update imports when filename changes #410
Update imports when filename changes #410
Comments
hi, this issue was around ~2y, and i wonder if this issue could be given a higher priority. as OP mentioned, being able to update imports out of the box is a huge DX improvement. for example, changing location of a single file could involve updating import path for tens of files. it'd be great to know if
thanks in advance. EDIT:
|
Closes denoland/vscode_deno#797 Closes #11190 Closes denoland/vscode_deno#811 Closes denoland/vscode_deno#761 Closes denoland/vscode_deno#585 Closes denoland/vscode_deno#561 Closes denoland/vscode_deno#410
Hey! This issue has been closed by this PR, which is already part of the latest release, but imports are still not updated when a filename or directory name is changed - or am I missing something? |
This appears to be the same issue as #692 |
Is your feature request related to a problem? Please describe.
Using the TypeScript server when I rename a file all the imports in different files update to reflect the change. There is no need for a `.tsconfig', it just works out of the box.
Describe the solution you'd like
It should happen when using deno LSP.
It does not work in VS Code or Neovim LSP. I know there is a problem making it work in Neovim with the standard TypeScript server as someone has written this workaround: https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils
I hope the Deno solution will work in both editors. Neovim has deno LSP additional functions added here: https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md#denols
The text was updated successfully, but these errors were encountered: