rms-check For VS Coderms-check is a syntax checker and linter for Age of Empires 2 random map scripts.
Syntax HighlightingThe syntax highlighting was developed by Nikita Litvin (deltaidea) for the AoE2 Random Map Scripting extension, released under the MIT license, available here. Syntax Checkingrms-check will flag potential problems in the map script while you're editing. Currently, this cannot be disabled, and it can be a bit too strict at times! In the future, it will be possible to enable/disable individual lints as you like. By default, the extension will flag compatibility problems, like using the UserPatch 1.4 feature
For Definitive Edition maps, use:
If your map supports many different Age of Empires 2 versions, specify the oldest supported version in the
Supported compatibility settings are:
Semantic FoldingFold command groups, ZR@ (Zip-RMS) Editing (beta)Right-click a ZR@ map and click "Edit ZR@ (Zip-RMS) map" to open the rms script inside it for editing. When saving the file, it will update the ZR@ file. This has seen some testing, but not enough. Please make backups every now and then in case a save operation goes awry. Formatting (beta)The extension can format map scripts—it's quite good in some ways, and quite bad in other ways. I don't fully recommend using it yet. It aligns command arguments nicely but removes meaningful whitespace. Licenserms-check is available under the GPL-3.0 license, full text. |