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

  • 7 months ago: ybonatakis liked this project.
  • 7 months ago: dancermak joined this project.
  • 8 months ago: ccalancha liked this project.
  • 8 months ago: cbosdonnat started this project.
  • 8 months ago: cbosdonnat added keyword "salt" to this project.
  • 8 months ago: cbosdonnat added keyword "saltstack" to this project.
  • 8 months ago: cbosdonnat added keyword "language-server-protocol" to this project.
  • 8 months ago: cbosdonnat added keyword "vim" to this project.
  • 8 months ago: cbosdonnat added keyword "emacs" to this project.
  • 8 months ago: cbosdonnat added keyword "vscode" to this project.
  • All Activity

    Comments

    • cbosdonnat
      8 months ago by cbosdonnat | Reply

      baredoc module may also be helpful

    • agraul
      8 months 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
      8 months 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
        8 months 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
      8 months ago by dancermak | Reply

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

      • cbosdonnat
        8 months ago by cbosdonnat | Reply

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

    Similar Projects

    Unified Config Management Tool (UCMT) by jreidinger

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


    Uyuni/SUSE Manager: build Python APE and a Salt+Python bundle to support ANY client operating system by pagarcia

    Uyuni/SUSE Manager build client tools for each ...


    Create short "videos/screencasts" demoing cool stuff in 5 minutes by PSuarezHernandez

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


    Uyuni/SUSE Manager: Windows client support by pagarcia

    I'll continue the effort I started at last Hack...


    One of couple of Python projects by mcepl

    There are couple of projects I work on, which n...


    osc Porcelain inside Emacs by agraul

    Project Description

    Emacs A [Magit](htt...


    Script that loads dummy data into HANA database for testing purposes. by rangelino

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


    Phoebe - where AI meets Linux by mvarlese

    Project Description

    Phoeβe (/ˈfiːbi/) wan...


    Create short "videos/screencasts" demoing cool stuff in 5 minutes by PSuarezHernandez

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


    Develop a monitoring system with web frontend for virtualization servers by nzhang

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


    Learn python, python-gtk3, play with orangepi zero, experiment ili9341 and 20x4 LCD screen by aginies

    Project Description

    Learn python: get dat...