An IntelliJ IDEA plugin for Asar the assembler used in Super Mario World hacking.
This plugin is WIP, highlighting and syntax checking should work for common asar, but some asar features might not work (yet).
- You can Download IntelliJ Community Edition for free
- Download the latest plugin
.zipfrom Releases - Open IntelliJ IDEA (only tested with IntelliJ IDEA, but should work with others)
- Go to Settings -> Plugins -> Cogwheel (next to marketplace and installed)→ Install Plugin from Disk...
- Select the downloaded
.zipfile - Restart the IDE
- Open a Project/File with ASAR asm (Or create it from scratch!)
- .asm files should now get syntax highlighting and syntax checking
- The plugin can conflict with other plugins dealing with .asm files, please check that this is the only plugin for .asm files active
- Syntax Highlighting
- Syntax Checking
- Go-To-Definition (wip)
- Find Usages (very wip)
- And probably more in the future.
For the detailed release history, head over to the Changelog
0.6.0 - 2026-05-30
- Macro labels
- Label assignments
- Struct extensions
- Corrected an issue with +/- labels not allowing a
:in the definition. - Improved error handling, so incorrect syntax doesn't break the parsing
0.5.0 - 2026-05-28
- New directive:
struct - New directive:
pushns - New directive:
pullns - New operators:
+=,:=,?= - Global labels
- Namespaced labels
- Parser improvements for the handling of labels with namespaces
- Fixed an issue with unquoted file paths
Distributed under the GPL-3.0 license. See LICENSE for more information.
Found a bug or missing syntax? Open an issue with:
- The code snippet that breaks (Red line for valid asm? Wrong highlighting color? Accepts invalid asm?)
- Contributions are welcome
- Fork it (https://github.com/Mithnar/intellij-asar/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request