jose-elias-alvarez / nvim-lsp-ts-utils

Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
The Unlicense
438 stars 18 forks source link

Implement `:TSLspFixBrokenImports` #46

Closed jose-elias-alvarez closed 2 years ago

jose-elias-alvarez commented 3 years ago

The tentative idea is to create a wrapper around :TSLspImportAll to detect broken imports from buffer diagnostics, then run :TSLspImportAll afterwards, to speed up refactoring. I could also just add this as a config option for :TSLspImportAll, but I wouldn't want to enable it by default, since it's too far from expected behavior.

jose-elias-alvarez commented 2 years ago

In the end, I like this idea, but I think it should be implemented upstream first.