-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Add .sls to supported formats #4
Comments
So I see two actual requests in this issue.
Visual Studio Code has issues with mixing languages, especially if you are mixing with a language that ships embedded with Code. See microsoft/vscode#1751 for more information on what I mean. This makes the second request harder to achieve without rewriting the YAML syntax, which I have thought about doing but have no time to do. I can add the file extension in the next minor update (0.7), but full support of the syntax won't be there until I can find a way around the issue I just referenced. |
ad.1 that'd be great. How long till you release 0.7 ? (btw, can I set this locally until then? I'm unable to find the extension's file that contains the supported formats list) |
I just pushed 0.0.7 up to the marketplace for the .sls file format, so it's available now. 😄 All Code extensions will define their file extensions in the |
As I mentioned over in #3 , I don't see myself being able to rewrite the YAML language to make this work and this is technically not a bug with the plugin, but a limitation of Code. As such, there is nothing I can really do about this until I get time or they fix language overrides in Code. I'm closing as Won't Fix for now. |
Despite running the latest version of the plugin, highlighting doesn't work for my state files. In my settings.json I added this to get sls files highlighted as yaml:
|
This would provide support for SaltStack's state files using Jinja templates :)
The text was updated successfully, but these errors were encountered: