QueScript / How to setup Visual Studio Code¶
This steps describe how to setup Visual Studio Code to use as a code completion editor for Quescript:
- Go to Extensions search for and install the "
XML Language Support by Red Hat" - Go to Manage (cog in the lower left corner) > Settings > search for "
xml.fileAssociations" - press 'edit in settings.json'
-
copy paste the following snippet into:
"xml.fileAssociations": [{ "systemId": "https://github.com/immersive-arts/Sparck2/raw/refs/heads/master/source/java/extra/queListSchema.xsd", "pattern": "**/*.que", }] -
Now open a quescript inside Visual Studio Code.
-
When you start editing and enter a '<' the code completion will show you which commands are allowed, and - when you choose it - which attributes it needs to have set.
