Skip to content

Mithnar/intellij-asar

Repository files navigation

Asar ASM Plugin for IntelliJ IDEA

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).

Installation

  1. You can Download IntelliJ Community Edition for free
  2. Download the latest plugin .zip from Releases
  3. Open IntelliJ IDEA (only tested with IntelliJ IDEA, but should work with others)
  4. Go to Settings -> Plugins -> Cogwheel (next to marketplace and installed)→ Install Plugin from Disk...
  5. Select the downloaded .zip file
  6. Restart the IDE

Getting Started

  1. Open a Project/File with ASAR asm (Or create it from scratch!)
  2. .asm files should now get syntax highlighting and syntax checking
  3. The plugin can conflict with other plugins dealing with .asm files, please check that this is the only plugin for .asm files active

Features

  1. Syntax Highlighting
  2. Syntax Checking
  3. Go-To-Definition (wip)
  4. Find Usages (very wip)
  5. And probably more in the future.

Release History

For the detailed release history, head over to the Changelog

Recent Releases:

0.6.0 - 2026-05-30

Added

  • Macro labels
  • Label assignments
  • Struct extensions

Fixed

  • 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

Added

  • New directive: struct
  • New directive: pushns
  • New directive: pullns
  • New operators: +=, :=, ?=
  • Global labels
  • Namespaced labels

Changed

  • Parser improvements for the handling of labels with namespaces

Fixed

  • Fixed an issue with unquoted file paths

Meta

Distributed under the GPL-3.0 license. See LICENSE for more information.

Feedback & Issues

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

Contributing

  1. Fork it (https://github.com/Mithnar/intellij-asar/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors