diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-04-11 17:30:08 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-04-11 18:41:56 +0300 |
| commit | a38b64e1a1bf14dd9c42629f219b0e422aebe52a (patch) | |
| tree | 8cc08f712ddd3f8573d2b7c8aa243fcd1b6e52df /atk16-syntax-highlighting | |
| parent | e240ef3e9a2854cfe390b47fb0b3d519c095193b (diff) | |
Add hover and go to definition to extension
Diffstat (limited to 'atk16-syntax-highlighting')
| -rw-r--r-- | atk16-syntax-highlighting/README.md | 9 | ||||
| -rw-r--r-- | atk16-syntax-highlighting/atk16-syntax-highlighting-0.0.1.vsix | bin | 2321 -> 0 bytes | |||
| -rw-r--r-- | atk16-syntax-highlighting/language-configuration.json | 41 | ||||
| -rw-r--r-- | atk16-syntax-highlighting/package.json | 28 | ||||
| -rw-r--r-- | atk16-syntax-highlighting/syntaxes/atk16.tmLanguage.json | 48 |
5 files changed, 0 insertions, 126 deletions
diff --git a/atk16-syntax-highlighting/README.md b/atk16-syntax-highlighting/README.md deleted file mode 100644 index da81144..0000000 --- a/atk16-syntax-highlighting/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# VSCode syntax highlighting extension for ATK16 assembly - -## Installation - -In `atk16-syntax-highlighting` directory, run: - - npx @vscode/vsce package - -Then go to VSCode > Command Palette > Extensions: Install from VSIX and select the generated `.vsix` file. diff --git a/atk16-syntax-highlighting/atk16-syntax-highlighting-0.0.1.vsix b/atk16-syntax-highlighting/atk16-syntax-highlighting-0.0.1.vsix Binary files differdeleted file mode 100644 index 5d4a42d..0000000 --- a/atk16-syntax-highlighting/atk16-syntax-highlighting-0.0.1.vsix +++ /dev/null diff --git a/atk16-syntax-highlighting/language-configuration.json b/atk16-syntax-highlighting/language-configuration.json deleted file mode 100644 index c186b1b..0000000 --- a/atk16-syntax-highlighting/language-configuration.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "comments": { - "lineComment": ";" - }, - "brackets": [ - [ - "{", - "}" - ], - [ - "[", - "]" - ], - [ - "(", - ")" - ] - ], - "autoClosingPairs": [ - [ - "{", - "}" - ], - [ - "[", - "]" - ], - [ - "(", - ")" - ], - [ - "\"", - "\"" - ], - [ - "'", - "'" - ] - ] -}
\ No newline at end of file diff --git a/atk16-syntax-highlighting/package.json b/atk16-syntax-highlighting/package.json deleted file mode 100644 index ff6be2b..0000000 --- a/atk16-syntax-highlighting/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "atk16-syntax-highlighting", - "displayName": "ATK16 Syntax Highlighting", - "description": "Syntax highlighting for ATK16 assembly language", - "version": "0.0.1", - "publisher": "Jan Tuomi", - "engines": { - "vscode": "^1.60.0" - }, - "categories": ["Programming Languages"], - "contributes": { - "languages": [ - { - "id": "atk16", - "aliases": ["ATK16 Assembly", "atk16"], - "extensions": [".atk16"], - "configuration": "./language-configuration.json" - } - ], - "grammars": [ - { - "language": "atk16", - "scopeName": "source.atk16", - "path": "./syntaxes/atk16.tmLanguage.json" - } - ] - } -} diff --git a/atk16-syntax-highlighting/syntaxes/atk16.tmLanguage.json b/atk16-syntax-highlighting/syntaxes/atk16.tmLanguage.json deleted file mode 100644 index 6028be3..0000000 --- a/atk16-syntax-highlighting/syntaxes/atk16.tmLanguage.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", - "name": "ATK16", - "patterns": [ - { - "name": "comment.line.semicolon.atk16", - "match": ";.*" - }, - { - "name": "keyword.control.directive.atk16", - "match": "@\\w+" - }, - { - "name": "variable.other.register.atk16", - "match": "R\\w+" - }, - { - "name": "constant.numeric.hex.atk16", - "match": "0x[0-9a-fA-F]+" - }, - { - "name": "constant.numeric.binary.atk16", - "match": "0b[01]+" - }, - { - "name": "constant.numeric.decimal.atk16", - "match": "[0-9]+" - }, - { - "name": "entity.name.function.atk16", - "match": "\\w+(?=\\s*\\()" - }, - { - "name": "entity.name.label.atk16", - "match": "\\w+(?=\\s*:)" - }, - { - "name": "keyword.control.instruction.atk16", - "match": "^\\s+[a-zA-Z]+" - }, - { - "name": "constant.language.flag.atk16", - "match": "\\b(carry|overflow|zero|sign)\\b" - } - ], - "repository": {}, - "scopeName": "source.atk16" -} |
