+
Skip to content

TomChv/cuelsp

 
 

Repository files navigation

Dagger LSP

Language Server implementation for Dagger.

Install

Releases

Get the latest released version and put it in your $PATH

Linux

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/

Latest from source

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

Use in your IDE

vim

Documentation

Development & CI

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 support darwin/arm64 platform.

Capabilities

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 🚫

Release

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

Maintainers


Vasek

Guillaume de Rouville

Tanguy ⧓ Herrmann

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.0%
  • CUE 2.0%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载