mirror of
https://github.com/coder3101/protols.git
synced 2025-12-23 05:36:51 +00:00
Language Server for protocol buffers
| .github | ||
| assets | ||
| sample | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
protols
A Language Server for proto3 files. It uses tree-sitter parser for all operations.
Features
- Completion (keywords, enums and messages of the package)
- Diagnostics - based on sytax errors
- Document Symbols
- Go to definition
- Hover
- Rename
Installation
Neovim
Run cargo install protols to install and add below to setup using nvim-lspconfig
require'lspconfig'.protols.setup{}
Visual Studio Code
You can install an extension called Protobuf Language Support which uses this LSP under the hood.
NOTE: It is open-sourced but do not own or maintain it.