-
Notifications
You must be signed in to change notification settings - Fork 20
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
How to use this extension? #12
Comments
Once you have the RedHat YAML Language Server installed you can add the following to your user I think since v3 of this extension it uses the RedHat Language Server anyways and not its own schema. "files.associations": {
// GitHub Actions
"action.yaml": "yaml",
"**/.github/workflows/*.yaml": "yaml",
"**/.github/workflows/*.yml": "yaml"
}
"yaml.schemas": {
"http://json.schemastore.org/github-workflow": [
"**/.github/workflows/*.yaml",
"**/.github/workflows/*.yml"
],
"http://json.schemastore.org/github-action": [
"action.yaml",
"action.yml"
]
} As for for other features, 🤷 I'm still trying to figure that out. |
You do not need this extension - YAML by Red Hat does all things for syntax highlighting and autocomplete in |
I still need {
"yaml.schemas": {
"http://json.schemastore.org/github-workflow": [
"**/.github/workflows/*.yaml",
"**/.github/workflows/*.yml"
],
"http://json.schemastore.org/github-action": [
"action.yaml",
"action.yml"
]
},
} in That is, neither this extension nor Red Hat YAML seems to be enabling GitHub Actions YAML schema by default |
Thanks for the extension. Seems very useful.
I can't find any documentation on how to use it yet.
The text was updated successfully, but these errors were encountered: