Inform 7 extension for VS Code
This extension adds support for Inform 7 in VS Code.
The extension adds syntax highlighting to Inform 7 source (
.ni file extension) and extensions (
.i7x file extension).
It is recommended to also download the Inform 6 extension, so that Inform 6 inclusions in Inform 7 source are coloured.
Additionally, texts used in Vorple's
The JS instruction is a text that varies.
The JS instruction is [js]"window.alert('Hello!')".
This is useful for texts that varies or properties.
The extension also colour Preform (
.preform file extension), but this is likely only of interest to those writing language extensions for Inform 7. Since the syntax for including Inform 6 and Preform in Inform 7 is the same (
-)), we should, similarly than for JS commands, add the comment
[preform] right before the opening parenthesis, so that Preform is highlighted correctly.
Not doing this may cause the colouring of the inclusion to leak outside of the parentheses. (This may be a temporary solution, if something better is found in the future.)