neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

is `from "x" import {y}` syntax supported #353

Closed davidsu closed 2 years ago

davidsu commented 2 years ago

Thanks a lot for all your work, this is truly an amazing tool.

I'd really like to use this https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html#import-statement-completions

is it possible?

chemzqm commented 2 years ago

Sure, it just works by confirm completion https://github.com/neoclide/coc.nvim/wiki/Completion-with-sources, make sure your typescript version >= 4.3