1+ [ ![ VSCode extensions marketplace] [ vscode-shield ]] [ vscode-url ]
2+
13# ARM Syntax README
24
35## Author
@@ -10,7 +12,7 @@ Javier Mejias Reverté
1012## Features
1113
1214Color Syntax Highlighting for ARM Assembly (keywords from ** The ARM Instruction Set - ARM University Program - V1.0</** )
13- Instruction Set is adapted for ** URV - ETSE - DEIM - Computadors**
15+ Instruction Set is adapted for ** URV - ETSE - DEIM - Fonaments de Computadors - Computadors - Estructura de Sistemes Operatius **
1416
1517Color Syntax Highlighting is applied to the following file extensions:
1618- .s
@@ -24,18 +26,64 @@ Configurable color, bold, italic for each keyword type.
2426
2527## Installing
2628
29+ ### Requirements
30+
31+ None required.
32+
2733### From VSCode
2834
29351 . Open ** Extensions** in VSCode
30362 . Click the ** "..."** button at the top right of the Extensions window
31373 . Select ** Install from VSIX**
32384 . Choose your ** .vsix file**
3339
40+ ### From shell
41+
42+ 1 . Open terminal with ` Ctrl ` + ` Alt ` + ` T ` or by opening the Terminal application.
43+ 2 . Type the following commands:
44+ ``` shell
45+ LATEST_VERSION=$( curl -s https://api.github.com/repos/ininavicode/arm-syntax-vscode-extension/releases/latest | grep " tag_name" | cut -d ' "' -f 4)
46+ LATEST_VERSION=${VERSION: 1}
47+ wget -O arm-syntax-vscode-extension.vsix \
48+ https://github.com/ininavicode/arm-syntax-vscode-extension/releases/download/v${LATEST_VERSION} /arm-syntax-vscode-extension-${LATEST_VERSION} .vsix # Download latest release
49+ code --install-extension arm-syntax-vscode-extension.vsix # Install extension
50+ ```
51+
3452---
3553
36- ## Requirements
54+ ## Building
3755
38- None required.
56+ ### Requirements
57+
58+ * [ ![ nodejs] [ nodejs-shield ]] [ nodejs-url ]
59+ * [ ![ vsce] [ vsce-shield ]] [ vsce-url ]
60+
61+ ### Install build requirements
62+
63+ ``` shell
64+ # Install node version manager
65+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
66+
67+ # Set up nvm to use nodeJS 20.x.x
68+ nvm install 20
69+ nvm use 20
70+
71+ # Install vsce
72+ npm install -g @vscode/vsce
73+ ```
74+
75+ ### Build instructions
76+
77+ ``` shell
78+ # Clone repo
79+ git clone https://github.com/ininavicode/arm-syntax-vscode-extension
80+
81+ # Navigate inside the folder
82+ cd arm-syntax-vscode-extension
83+
84+ # Build extension
85+ vsce package --out arm-syntax-vscode-extension.vsix
86+ ```
3987
4088---
4189
@@ -76,3 +124,13 @@ Changed default colors
76124
77125### V0.0.5
78126Fixed error detecting inmediate values.
127+
128+
129+
130+ [ nodejs-shield ] : https://img.shields.io/badge/nodeJS-20.x.x-orange?style=for-the-badge&logo=nodedotjs&logoColor=white
131+ [ nodejs-url ] : https://nodejs.org/en
132+ [ vsce-shield ] : https://img.shields.io/badge/vsce-3.2.1-white?style=for-the-badge&logo=vscodium&logoColor=black
133+ [ vsce-url ] : https://github.com/microsoft/vscode-vsce
134+ [ vscode-shield ] : https://img.shields.io/visual-studio-marketplace/i/ininavicode.arm-syntax?label=VSCode%20marketplace%20installations
135+ [ vscode-url ] : https://marketplace.visualstudio.com/items?itemName=ininavicode.arm-syntax
136+
0 commit comments