vscode-pbkit
vscode-pbkit copied to clipboard
Support protobuf files import path and auto completion
pbkit lsp supports buf workspace https://docs.buf.build/reference/workspaces#configuration
try creating a buf.work.yaml file
I tried using the pbkit lsp with buf and I can't seem to get it to support auto-completion or "Go To Definition" for imports. I tried looking for pbkit logs, but couldn't find anything meaningful.
Update: Got it to work by placing the buf.work.yaml at the root of the workspace.
It would be great if a buf.work.yaml wasn't strictly required (i.e. detect buf.yaml too) and it didn't have to be at the workspace root.
What doesn't work though is:
- auto-completion using a package prefix (e.g.
foo.v1. ...) - auto-completion of buf-imports deps