typescript.nvim icon indicating copy to clipboard operation
typescript.nvim copied to clipboard

Update imports on file move

Open jose-elias-alvarez opened this issue 2 years ago • 0 comments

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).

jose-elias-alvarez avatar Mar 05 '23 21:03 jose-elias-alvarez