# Language Server Protocol for Salt States --- # What is LSP? ![](https://miro.medium.com/max/2324/0*Q0-K49R8qk870n7q.png) --- # Demo - state name completion - documentation of completion - jump to state ids --- # Challenges - Parsing potentially invalid YAML - Interpreting YAML + Jinja to provide better completion --- # Future - Finish the AST construction - More features: - show documentation - salt-lint integration - autocomplete in more places - ... --- # Links - [salt-lsp source code](https://github.com/dcermak/salt-lsp) - [LSP specifications](https://microsoft.github.io/language-server-protocol/) - [LSP image](https://medium.datadriveninvestor.com/quick-start-to-vscode-plug-ins-language-server-protocol-lsp-a1faf5a355f4)
{"metaMigratedAt":"2023-06-15T21:52:15.166Z","metaMigratedFrom":"YAML","title":"Language Server Protocol for Salt States","breaks":true,"slideOptions":"{\"theme\":\"white\"}","contributors":"[{\"id\":\"53f102b3-0857-4848-91ae-cb69b3a60601\",\"add\":899,\"del\":678},{\"id\":\"739d721c-686b-4eb5-bc58-677e9361290f\",\"add\":328,\"del\":2043}]"}
    259 views