Open li1234yun opened 2 years ago
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:
foo.v1. ...
)
vscode-proto3 support using the import protobuf files.