bufbuild / buf-language-server Goto Github PK
View Code? Open in Web Editor NEWPrototype for a Protobuf language server compatible with Buf.
License: Apache License 2.0
Prototype for a Protobuf language server compatible with Buf.
License: Apache License 2.0
Currently buf
support format but bufls
does not.
Is there roadmap to support in the future?
I've been giving buf-language-server
a try.
I added it to my ~/.config/helix/languages.toml
:
[[language]]
name = "protobuf"
scope = "source.proto"
injection-regex = "protobuf"
file-types = ["proto"]
roots = []
comment-token = "//"
language-server = { command = "bufls", args = [ "serve" ] }
indent = { tab-width = 2, unit = " " }
I typed gd
on a symbol. For some reason, it takes 3-5 seconds for it to jump, even if the symbol is in the same file?
Being able to rename symbols would help a lot with my workflow of working with proto files.
I love the idea of a proper buf ls! I was wondering if it also would include diagnostics and formatting? It would make bufbuild/buf#1035 probably obsolete.
EDIT:
I just saw bufbuild/buf#1345 which fixes the mentioned issue. So oh well, not that relevant for the beginning then. If it gets merged then it should be possible to run the bufcli and bufls in parallel.
one project may import from third part project via --proto_path
Is there a way to specify the protobuf import paths, similar to the -I
or --proto_path
flag to protoc
? I work in a project where protobuf files are split across separate folders, and the build process joins them together using --proto_path
. For example, a file might import "Networking.proto", which is located in a different directory. bufls
shows an error when using goto definition:
Blah.proto:8:8:Networking.proto: does not exist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.