Language Server Protocol (LSP for friends) is used in a number of code editors these days. There are implementations for various languages, but none for Salt States.

The idea is to leverage Salt state module to parse edited files to provide completion of the state ids or paths.

Blog post about the state after HackWeek 20: bosdonnat.fr/hackweek-lsp.html

Source code on GitHub

Looking for hackers with the skills:

salt saltstack language-server-protocol vim emacs vscode python

This project is part of:

Hack Week 20

Activity

  • over 1 year ago: ybonatakis liked this project.
  • over 1 year ago: dancermak joined this project.
  • over 1 year ago: ccalancha liked this project.
  • over 1 year ago: cbosdonnat started this project.
  • over 1 year ago: cbosdonnat added keyword "salt" to this project.
  • over 1 year ago: cbosdonnat added keyword "saltstack" to this project.
  • over 1 year ago: cbosdonnat added keyword "language-server-protocol" to this project.
  • over 1 year ago: cbosdonnat added keyword "vim" to this project.
  • over 1 year ago: cbosdonnat added keyword "emacs" to this project.
  • over 1 year ago: cbosdonnat added keyword "vscode" to this project.
  • over 1 year ago: cbosdonnat added keyword "python" to this project.
  • over 1 year ago: dancermak liked this project.
  • over 1 year ago: RDiasMateus liked this project.
  • over 1 year ago: j_renner liked this project.
  • over 1 year ago: pagarcia liked this project.
  • over 1 year ago: agraul liked this project.
  • over 1 year ago: cbosdonnat originated this project.

  • Comments

    • cbosdonnat
      over 1 year ago by cbosdonnat | Reply

      baredoc module may also be helpful

    • agraul
      over 1 year ago by agraul | Reply

      The discussion at https://github.com/glynnforrest/salt-mode/issues/17 (which is about adding auto-completion to Emacs' Salt plugin) has some interesting ideas and also mentions the rather new baredoc module.

    • pagarcia
      over 1 year ago by pagarcia | Reply

      Lovely. You should get in touch with Dan Cermak.

      Also, are you aware of this? VS Code SaltStack Extension Pack

      • cbosdonnat
        over 1 year ago by cbosdonnat | Reply

        Yes, I'm aware of this extension pack, but FWICT it doesn't offer real completely based on state ids for instance

    • dancermak
      over 1 year ago by dancermak | Reply

      Given that salt is written in Python, I would suggest to look into pygls.

      • cbosdonnat
        over 1 year ago by cbosdonnat | Reply

        You made my day! now it seems a more accessible idea :)

    Similar Projects

    Saline: Salt state appliement monitoring by vzhestkov

    Project Description

    In case of applying s...


    osc Porcelain inside Emacs by agraul

    Project Description

    Emacs A [Magit](htt...


    Video For Linux 2 Camera monitor, frame capture, day/night exposure control and timelapse generator in python by dmair

    Use the V4L2 API in a PySide qt6.3 application ...


    OMEMO Hexchat plugin by dknorr

    [comment]: # (Please use the project descriptio...


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

    Join the Gitter channel! [https://gitter.im/uy...


    Rewrite libkdumpfile Python binding using CFFI by ptesarik

    Project Description

    The [libkdumpfile](ht...


    web-based testing tracker for aquarist-labs's s3gw by jluis

    [comment]: # (Please use the project descriptio...