neovim / nvim-lspconfig

Quickstart configs for Nvim LSP
Apache License 2.0
10.29k stars 2.04k forks source link

update imports typescirpt #1099

Closed JS-junky closed 3 years ago

JS-junky commented 3 years ago

Hi there, i just switched from coc to lsp and everything has been working perfectly until i tried to change a filename... what i was expecting was to see all my imports being updated but nothing happened.

I used the config provided in the repo README and used the typesricpt-language-server installed from npm

David-Else commented 3 years ago

You might need to look into https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils

justinmk commented 3 years ago

Thanks for your report. The configs in nvim-lspconfig are best-effort:

It is hoped that these configurations serve as a "source of truth", but they are strictly best effort. If something doesn't work, these configs are useful as a starting point, which you can adjust to fit your environment.