Skip to content

525. OSC2 syntax highlighting in Visual Studio Code

The following procedure enables syntax highlighting of OSC2 code in the Visual Studio Code IDE.

  1. In Visual Studio Code, open File > Preferences > Extensions (Ctrl-Shift-x).
  2. Open the ... menu on top.
  3. Select Install from VSIX... and select the file with the .vsix extension in the directory:

    $FTX/tools/vscode-extensions/ocs2_syntax_support/

Once installed, any file with the extension .osc displays syntax highlighting according to this extension.

Files with the extension .tosc also display highlighting of the special FRun template plugins. (See Using FRun.)

The colors used depend on the selected color scheme.