SII/SUI Syntax Highlighting for Intellij IDEA

Forum rules
SCS as a company do not wish to have paid mods on this forum. While we understand that not all paid mods use the Intellectual Property of other companies/people, it is very hard to moderate what is and isn't acceptable when money is involved. There are also concerns that it could look unfavorable to potential work partners going forward if SCS allow mods that may potentially use unlicensed branding.
Posting in the Mods forum (ATS and ETS2) is restricted to sharing free-to-the-public mods and providing support for mods. For more details, please check the Forum Rules.
oscu0
Posts: 189
Joined: 13 Jun 2020 17:41

SII/SUI Syntax Highlighting for Intellij IDEA

#1 Post by oscu0 » 22 Jun 2024 12:29

Since the performance of the Mac version has improved so much in 1.50, I've started using my Mac to edit engine/transmission defs and test them, freeing myself of Notepad++ and backslashes in file paths :) I've set up syntax highlighting in Intellij IDEA for files relevant to SCS files. You can import it to your IDEA instance; it should use the syntax colors defined in your color scheme. You can download it here: https://github.com/oscu0/orpheus/tree/master/scs

Note 1: that most mods use tabs for indentation for some reason. If your IDE is configured to use spaces, you can make an exception for SCS files by enabling editorconfig support in IDEA and putting the editorconfig file into your mod folder, to avoid mixing tabs and spaces.

Note 2: it is impossible to define two kinds of line comments with these ad-hoc syntax settings. There are two archives, one that uses the more common # and one that uses //. Either supports block comments.

License: property is theft, intellectual property doubly so. This work is released into public domain. Specifically, you do not need to ask me for permission to update it, re-post an edit of it on SCS forums, etc.

Return to “Modding Guides”

Who is online

Users browsing this forum: CCBot [Bot]