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

feature: `switch` case completion

Open llllvvuu opened this issue 2 years ago • 1 comments

VSCode has this pretty cool feature: https://www.youtube.com/watch?v=wanoZEsYCYc

I'm not sure if it's from tsserver or from VSCode.

llllvvuu avatar Aug 21 '23 10:08 llllvvuu

I pretty sure its vscode feature and I also found this issue in typescript itself: https://github.com/microsoft/TypeScript/issues/35428. But it can be done using treesitter and injecting snippet into completions before sending it to nvim. Quite a nice feature to have.

pmizio avatar Aug 21 '23 11:08 pmizio