Skip to content

URV-teacher/arm-syntax-vscode-extension

 
 

Repository files navigation

VSCode extensions marketplace

ARM Syntax README

Features

Color Syntax Highlighting for ARM Assembly (keywords from The ARM Instruction Set - ARM University Program - V1.0</) Instruction Set is adapted for URV - ETSE - DEIM - Fonaments de Computadors - Computadors - Estructura de Sistemes Operatius

Color Syntax Highlighting is applied to the following file extensions:

  • .s
  • .arm
  • .asm
  • .i

Configurable color, bold, italic for each keyword type.


Installing

Requirements

None required.

From VSCode

  1. Open Extensions in VSCode
  2. Click the "..." button at the top right of the Extensions window
  3. Select Install from VSIX
  4. Choose your .vsix file

From shell

  1. Open terminal with Ctrl + Alt + T or by opening the Terminal application.
  2. Type the following commands:
curl -o- https://raw.githubusercontent.com/URV-teacher/arm-syntax-vscode-extension/master/scripts/install_extension.sh | bash

Building

Requirements

  • nodejs
  • vsce

Install build requirements

# Install node version manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash  

# Set up nvm to use nodeJS 20.x.x
nvm install 20
nvm use 20

# Install vsce
npm install -g @vscode/vsce

Build instructions

# Clone repo
git clone https://github.com/aleixmt/arm-syntax-vscode-extension

# Navigate inside the folder
cd arm-syntax-vscode-extension

# Build extension
vsce package --out arm-syntax-vscode-extension.vsix

Extension Settings

  • Color
  • Bold (On/Off)
  • Italic (On/Off)

How to configure

  1. Press Ctrl + ,
  2. Search for ARM Syntax Settings

Known Issues

None known at this time.


Release Notes

V0.0.1

Extension release

V0.0.2

Corrected detection for comments

V0.0.3

Changed default colors

V0.0.4

swi keyword added to mnemonics

V0.0.5

Fixed error detecting inmediate values.

V0.0.6

's' postfix included in syntax analisys

Author

Javier Mejias Reverté GitHub Profile - Creator and maintainer of the extension

AleixMT - Automated processes in the repo for its incorporation into the BMDE tool


Packages

 
 
 

Contributors

Languages

  • JavaScript 69.7%
  • Makefile 20.3%
  • Shell 10.0%