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
This project is part of:
Hack Week 20
Activity
Comments
-
-
-
over 4 years ago by pagarcia | Reply
Lovely. You should get in touch with Dan Cermak.
Also, are you aware of this? VS Code SaltStack Extension Pack
-
over 4 years 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
-
-
Similar Projects
Bring to Cockpit + System Roles capabilities from YAST by miguelpc
Bring to Cockpit + System Roles features from YAST
Cockpit and System Roles have been added to SLES 16 There are several capabilities in YAST that are not yet present in Cockpit and System Roles We will follow the principle of "automate first, UI later" being System Roles the automation component and Cockpit the UI one.
Goals
The idea is to implement service configuration in System Roles and then add an UI to manage these in Cockpit. For some capabilities it will be required to have an specific Cockpit Module as they will interact with a reasource already configured.
Resources
A plan on capabilities missing and suggested implementation is available here: https://docs.google.com/spreadsheets/d/1ZhX-Ip9MKJNeKSYV3bSZG4Qc5giuY7XSV0U61Ecu9lo/edit
Linux System Roles: https://linux-system-roles.github.io/