Mipsy Support adds language support for MIPS assembly language, specifically as implemented by mipsy.
Semantic syntax highlighting only colourizes labels and constants that are defined elsewhere in the document.
Context-aware code completion for instructions, directives, instructions, labels, and constants.
Snippets with configurable comment indentation for all mipsy-supported syscalls.
Support for navigating definitions and usages of labels and constants through visual studio code's UI.
MIPS displays best with 8-space tab indentation, and several features in this extension assume the following settings:
{
"[mips]": {
"editor.tabSize": 8,
"editor.insertSpaces": false
}
}
- No support for multi-file projects
- Keybind to automatically indent to comment column
To contribute to or modify the extension, first clone the repository, install dependencies, and open in vscode:
git clone https://github.com/Bahnschrift/vscode-mipsy-support
cd vscode-mipsy-support
npm i
code .
Then, inside the vscode editor, press F5
. This will compile and run the extension in a new Extension Devlopment Host window.
For information on packaging and distributing the extension, see the vscode docs.