Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Update imports on file move #64

Open
jose-elias-alvarez opened this issue Mar 5, 2023 · 0 comments
Open

Update imports on file move #64

jose-elias-alvarez opened this issue Mar 5, 2023 · 0 comments

Comments

@jose-elias-alvarez
Copy link
Owner

Neovim just merged support for workspace/didChangeWatchedFiles. The method is not currently supported by typescript-language-server, and based on this issue, it seems that adding support upstream is unlikely.

We could add an option to register the client and use our existing rename file functionality to automatically update imports when files are moved (nvim-lsp-ts-utils had a primitive and unreliable version of this).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant