Provides basic syntax highlighting and snippets to:
- OMSI configuration files (
.cfg
,.bus
,.ovh
,.cti
,.sco
,.hum
) - OMSI scripts (
.osc
)
The syntax highlighting for configuration files is very basic and only includes the tags (e.g. [mesh]
), whilst for the scripting language it is much richer.
The snippets for the configuration files are provided for almost all the known tags and consist in the tag with a list of parameters that can be completed. The goal is to speed up common tasks.
The snippets for the scripts are provided for macro and trigger definitions
and for all the operations like L.L. L.$. ...
, for which the snippet can
be recalled with its non-dotted counterpart (i.e. ll ls ...
).
No additional settings are provided.
- VSCode suggests folding for single-line comments in scripts
New snippets and syntax highlighting (thanks to jem-suu)
Add new snippets and fix existing ones (thanks to zheka20012)
Code cleanup and fixes (thanks to Road-hog123)
Add code folding support and fix highlighting (thanks to sjain)
Fix typos and bugs with OMSI script language (thanks to Road-hog123)
Fix parameters for money point tags and remove auto-closing single quotes
Initial release