Support a protobuf language server
Hi, it would be terrific if this package could bundle in a protobuf language server that, for example, supports jumping to a symbol definition in an import file.
Currently, I am using this package for linting and pbkit.vscode-pbkit for the language server. However the pbkit language server isn't working for me, and I'd prefer to remove pbkit and run everything through buf.
How do you jump to proto symbol definition in your editors?
I am doing the same things but migrate vscode-proto3 to buf , there is a (currently not active) lsp server for buf supporting symbol definition , but currently have no integration in vscode-buf
You can try my fork , I impl the vscode definition provider via bufls , but it is based on the unstable feature , I prefer not to PR to upstream.
fyi. https://github.com/pbkit/vscode-pbkit/issues/25#issuecomment-2384698361
We don't support the above library - we're working on adding LSP support to VSCode here, we'll keep you updated.
@bufdev The LSP server implementation is better , there are other editors like Zed could integrate it as well , they are also looking for the solutions for protobuf lsp
We just merged an experimental LSP server via "buf beta lsp", we'll have more details soon, it's still a work in progress.
@ryanberckmans
I've released vscode-pbkit v0.0.8.
While you may use vscode-buf later, for now, you can use 'Go to Definition' in vscode-pbkit with the buf v2 configuration.
If you were already using v1 or v1beta1 config, it should have been working well.
Very excited about this feature! Are there any updated? :)
Thank you!
We now have a new version of the extension available through pre-release that uses our LSP, and it will be available on general release soon! Closing this issue, thank you!