A language server implementation for Google Protocol Buffers
- build the target
pls
, addpls
toPATH
- for
coc.nvim
,:CocConfig
like this
"languageserver": {
"proto" :{
"command": "pls",
"filetypes": ["proto", "cpp"]
}
}
if you use vscode, see vscode-extension/README.md
- documentSymbol
- jump to defines
- format file with clang-format
- code completion
- jump from protobuf's cpp header to proto define (only global message and enum)