bufbuild / vscode-buf

Visual Studio Code integration for Buf.
Apache License 2.0
60 stars 13 forks source link

Support a protobuf language server #343

Open ryanberckmans opened 2 months ago

ryanberckmans commented 2 months ago

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?

scbizu commented 2 months ago

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

scbizu commented 2 months ago

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.