ts-type-explorer icon indicating copy to clipboard operation
ts-type-explorer copied to clipboard

[Feature] Neovim support

Open b0o opened this issue 1 year ago • 4 comments

Just want to say a big thanks for your extension - it's been a real life-saver while debugging complex types!

I'm a Neovim user, but I've got a VSCode instance running in the background just for your extension and a small handful of others. It would be amazing to see your extension as a Neovim plugin. I see from your dotfiles that you're a Neovim user as well, so I thought you might also be interested.

Considering the way you've modularized the extension, it seems creating a Neovim front-end should be pretty straightforward. What do you think? Perhaps using sidebar.nvim could make the process a bit easier?

Really looking forward to what comes next.

b0o avatar May 18 '23 22:05 b0o

Hi! Thanks so much for reaching out :)

I was originally planning a neovim extension, but never got around to it since I didn't know if it would be of use to anyone. In my experience there were not many web developers using neovim, it was predominantly systems programmers. Things move fast though so maybe that's changed? I also had to switch to VSCode for my job, so that didn't help either haha.

I have implemented nested/folding sidebars in neovim plugins so I feel comfortable enough with the UI side of things.

The main challenge I foresaw is figuring out how to interface with lspconfig in such a way as to (1) enable custom global compiler plugins and (2) send custom lsp requests. The api is probably mostly undocumented, so it would just be time consuming.

Your kind words are very motivating, though, so I'll take another look for sure!

mxsdev avatar May 19 '23 06:05 mxsdev

There are dozens of us!

For (2), I know of client.request(method, params, [handler], bufnr), as well as a lower-level interface via client.rpc.request({method}, {params}, {callback}, {notify_reply_callback}), those might help? I am personally not sure about (1).

b0o avatar May 19 '23 07:05 b0o

I have a need for this, along with some of my other friends who use neovim :)

xlboy avatar Aug 27 '23 14:08 xlboy

I would love this in Neovim ❤️

net avatar Apr 26 '24 16:04 net