Inform 6 extension for VS Code

Version 0.5.0 of Inform 6 for VS Code has been released!

Some snippets are now available when editing Inform 6 source, for routines and most statements. See the README for the full list. And tell if you want other snippets to be included.

(For those who don’t know what snippets are: you start typing a snippet’s name, say for, select it in the suggestion list, and a prefilled for loop is inserted. You can then navigate between each “fields” of the loop with tab to complete it with your variable name and so on.)

Also, correct indentation is automatically added when inserting a new line while the cursor is inside the head of a routine. Say, if you have

[ Main;_]

(with the underscore denoting the cursor’s position) then press enter, you’ll get

[ Main;
    _
]

Finally, new settings have been added so that a compiled story can be automatically opened with VS code. (The IF Player extension is recommended in that case).

2 Likes