Skip to main content

A Language Server Protocol implementation for *craft files.

Project description

craft-ls

craft-ls is a Language Server Protocol implementation for *craft[^1] tools.

craft-ls enables editors that support the LSP to get quality of life improvements while working on *craft configuration files.

Features

  • Diagnostics

Usage

Installation

Using uv or pipx

uv tool install craft-ls

pipx install craft-ls

Setup

Helix

# languages.toml
[[language]]
name = "yaml"
language-servers = ["craft-ls"]

[language-server.craft-ls]
command = "craft-ls"

TBD: neovim, VSCode

Roadmap

Project availability:

  • Python package
  • Snap
  • Nix flake
  • VSCode extension

Features:

  • Autocompletion on typing
  • Symbol documentation

Ecosystem:

  • Encourage *craft tools to refine their JSONSchemas even further

Contributing

TBD

# .envrc
use flake  # if you are using nix
source .venv/bin/activate
export CRAFT_LS_DEV=true

[^1]: only snapcraft and rockcraft so far

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

craft_ls-0.1.0.tar.gz (43.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

craft_ls-0.1.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file craft_ls-0.1.0.tar.gz.

File metadata

  • Download URL: craft_ls-0.1.0.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for craft_ls-0.1.0.tar.gz
Algorithm Hash digest
SHA256 79670e03f42dbfa4c704e7b52ae808a58e8445a0dd7eacea5289ce09f98c2901
MD5 22c87ab6ba01fcf7e47f440fe82ed9ca
BLAKE2b-256 370586d99d8941a8c600cb5da4e8955a46aeef45feeddbe272af6d0b2e7e1a54

See more details on using hashes here.

Provenance

The following attestation bundles were made for craft_ls-0.1.0.tar.gz:

Publisher: release.yaml on Batalex/craft-ls

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file craft_ls-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: craft_ls-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for craft_ls-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e9d65fe4dd2d43ee0febe6ad207752a3f96c8234e355723c2e5e9f13ad187ec
MD5 b17f7d97cce950350307ce8dcb888e09
BLAKE2b-256 1ec74cfb208fff555ccd51cd101c2df436db6b71d31daa95e736c8145dc408e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for craft_ls-0.1.0-py3-none-any.whl:

Publisher: release.yaml on Batalex/craft-ls

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page