Skip to content

Using Assets from other Extensions #101

Discussion options

You must be logged in to vote

I think there's two approaches you can do here:

  1. Add your schema to https://www.schemastore.org/json (via a PR here); I think these are automatically picked up by the YAML extension
  2. Use the yaml.schemas setting provided by the YAML extension. Admittedly, I can't find documentation about how this setting works, but based on the description it sounds like it's for associating schemas to glob file patterns. Your extension could supply a configuration default for yaml.schemas that includes your schema and the pattern for Sigma files

Most likely you'll also want to list the YAML extension as an extension dependency of yours (via the extensionDependencies property in the extension manifest), u…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@humpalum
Comment options

@gjsjohnmurray
Comment options

@humpalum
Comment options

@bwateratmsft
Comment options

Answer selected by isidorn
Comment options

You must be logged in to vote
2 replies
@humpalum
Comment options

@bwateratmsft
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants