Introduction
What SCS IntelliSense is and what it does for your mods.
SCS IntelliSense is a Visual Studio Code extension for modding American Truck
Simulator and Euro Truck Simulator 2. It understands the game's definition
files (.sii and .sui) and helps you write them the way you would write code
in any modern editor: with colors, error checks, suggestions and navigation.
What it does
- Colors by meaning. Class names, unit names, attribute keys, values and comments each get their own color, so a file is easier to read. See Highlighting and icons.
- Finds mistakes while you type. A missing
:or}, an invalid unit name, two units with the same name, a misspelled attribute such asprcieinstead ofprice, or a value its type can't hold, such asprice: abc. Most problems come with a one-click fix. See Diagnostics and quick fixes. - Suggests what comes next. Class names, attribute keys, the values an attribute accepts, units to point to, the files of your mod, and the events of your sound banks. See Completion and hover.
- Lets you jump around your mod. Ctrl+click a unit name to open where it's defined, list everything that uses it, or rename it everywhere at once. Ctrl+click a path to open that file. See Navigation.
- Keeps paths working. Rename or move a file in VS Code and every path that points to it is updated for you. See Moving and renaming files.
- Formats your files. Consistent indentation, braces and spacing, without ever changing a value. See Formatter.
Tested on the game's own files
Every check is tested against files the game itself ships with: 73,224 .sii/.sui
files of American Truck Simulator 1.61, from the base game and 56 DLCs. None of
them is reported as broken, so when the extension tells you
something is wrong in your mod, it's worth a look.
Euro Truck Simulator 2 uses the same engine and the same file format, but it hasn't been tested on its files yet. If you mod ETS2 and something looks wrong, please report it.
Next step
Install the extension and open your mod.