6502-assembly-intellij

An Intellij plugin for 6502 assembly projects (ca65 syntax)

MIT License

Stars
15
6502-assembly-intellij - v1.7 Latest Release

Published by mike42 over 2 years ago

This version adds a code formatter for 6502 assembly files.

This release also corrects an issue where square brackets, as used in some 65C816 long addressing modes, were being treated as a syntax error.

Line markers for branch instructions have been improved. 65C186 branch instructions are now recognised, and the plugin can now identify branches to unnamed labels, which are indicated with a different icon. Lastly, this version corrects a bug which prevented these line markers from appearing.

6502-assembly-intellij - v1.6

Published by mike42 over 2 years ago

This change adds warnings for unresolved references within the same assembly file, and also highlights unused declarations. The result is not correct for projects which include symbols from other files (as opposed to importing them), so this feature may be disabled per-project via an intention action.

A new weak warning has been added to suggest padding hex and binary numbers to a whole byte, since eg. 7 digit binary numbers often indicate a problem.

6502-assembly-intellij - v1.5

Published by mike42 over 2 years ago

This change adds intention actions for converting numeric literals between hexadecimal, decimal and binary representations.

It also adds a completion helper for assembly language mnemonics, an inspection to indicate when unsupported mnemonics are used, and a quick-fix for switching the CPU target to one which includes the unsupported mnemonic.

The 'Generic 6502 Project' template has also been improved.

6502-assembly-intellij - v1.4

Published by mike42 over 2 years ago

This change adds 'Go to definition' and 'Find usages' support for constants and imports, and allows for labels to be auto-completed when entering text after an assembly mnemonic.

Code folding has also been overhauled, and now supports macro definitions, conditional blocks, and a number of other constructs. A code folding bug has also been corrected, where keywords such as .proc and .scope were incorrectly interpreted as case sensitive.

The "6502 Assembly" file type now includes files with the .mac extension, which is used by ca65 macro definitions.

6502-assembly-intellij - v1.3

Published by mike42 almost 3 years ago

This change adds compatibility with 2021.3 IDE releases.

6502-assembly-intellij - v1.2

Published by mike42 about 3 years ago

This change adds a project template for generic 6502 projects, plus compatibility with 2021.2 IDE releases.

6502-assembly-intellij - v1.1

Published by mike42 over 3 years ago

This change improves the refactor/rename feature for labels.