Language Server implementation for Dagger.
Get the latest released version and put it in your $PATH
curl -L https://github.com/dagger/daggerlsp/releases/download/v0.1.0/daggerlsp_0.1.0_linux_amd64.tar.gz | tar -xzC .
sudo install daggerlsp /usr/local/bin/
You need to have Go installed, and your $(go env GOPATH)/bin
path should be in your $PATH
.
go install github.com/dagger/daggerlsp@latest
Current CI is using Dagger to lint, test and build the LSP. Using Dagger, commands running in the CI behave the same as on your local system 🚀
Action | Command |
---|---|
Run linter | dagger do lint |
Run test | dagger do test |
Build binary | dagger do build |
If you are on Mac M1, you should build binary using
go build -o daggerlsp
because Buildkit does not supportdarwin/arm64
platform.
Feature | Supported | Link to documentation |
---|---|---|
Load cue plan | ✅ | how daggerlsp load CUE |
Load multiples files | ✅ | how daggerlsp load CUE |
Jump to CUE definition | ✅ | manage jump-to |
Syntax highlighting | ⌛ | |
Doc Hover | 🚫 | |
Auto completion | 🚫 | |
Jump to CUE keys | 🚫 | |
Error highlighting | 🚫 | |
Code snippet | 🚫 | |
Optimization suggestion | 🚫 |
Dagger LSP is versioned through tagged release.
There is a complete release workflow to populate Dagger LSP binary in multiple platforms.
To publish a new release, just create a new tag
# Tag current commit
git tag vX.X.X
# Push tag to repository
git push origin vX.X.X
Vasek |
Guillaume de Rouville |
Tanguy ⧓ Herrmann |
---|