{ "name": "opengoal", "displayName": "OpenGOAL", "description": "OpenGOAL Support for VSCode", "publisher": "opengoal", "version": "0.0.2", "engines": { "vscode": "^1.65.0" }, "categories": [ "Programming Languages" ], "icon": "img/logo.png", "license": "ISC", "repository": { "type": "git", "url": "https://github.com/open-goal/opengoal-vscode" }, "main": "./out/extension.js", "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "lint": "eslint . --ext .ts,.tsx", "watch": "tsc -watch -p ./" }, "activationEvents": [ "onLanguage:opengoal", "onLanguage:opengoal-goos", "onLanguage:opengoal-ir", "onCommand:extension.helloWorld" ], "contributes": { "commands": [ { "command": "opengoal.switchFile", "title": "OpenGOAL - Switch File" }, { "command": "opengoal.decomp.openMostRecentIRFile", "title": "OpenGOAL - Decomp - Open Recent IR2 File" } ], "configurationDefaults": { "[opengoal-ir]": { "editor.bracketPairColorization.enabled": false }, "editor.tokenColorCustomizations": { "textMateRules": [ { "name": "OpenGOAL Globals", "scope": [ "entity.global.opengoal" ], "settings": { "foreground": "#36f9f6", "fontStyle": "bold" } }, { "name": "OpenGOAL Storage", "scope": [ "storage.control.opengoal" ], "settings": { "foreground": "#36f9f6", "fontStyle": "italic" } }, { "name": "OpenGOAL Macros, Quoted", "scope": [ "meta.quoted-expression.opengoal" ], "settings": { "fontStyle": "italic" } }, { "name": "OpenGOAL Symbols", "scope": [ "meta.symbol.opengoal" ], "settings": { "foreground": "#ff7edbff" } }, { "scope": "opengoal.ir.typeanalysis", "settings": { "foreground": "#fe4450E6" } }, { "scope": "opengoal.ir.error", "settings": { "foreground": "#fe4450E6" } }, { "scope": "opengoal.ir.warn", "settings": { "foreground": "#feeb44e6" } }, { "scope": "opengoal.ir.op-num", "settings": { "foreground": "#EC407A", "fontStyle": "bold" } }, { "scope": "variable.language.opengoal.ir.regs.a0", "settings": { "foreground": "#EF9A9A" } }, { "scope": "variable.language.opengoal.ir.regs.a1", "settings": { "foreground": "#F48FB1" } }, { "scope": "variable.language.opengoal.ir.regs.a2", "settings": { "foreground": "#CE93D8" } }, { "scope": "variable.language.opengoal.ir.regs.a3", "settings": { "foreground": "#90CAF9" } }, { "scope": "variable.language.opengoal.ir.regs.t0", "settings": { "foreground": "#80DEEA" } }, { "scope": "variable.language.opengoal.ir.regs.t1", "settings": { "foreground": "#80CBC4" } }, { "scope": "variable.language.opengoal.ir.regs.t2", "settings": { "foreground": "#A5D6A7" } }, { "scope": "variable.language.opengoal.ir.regs.t3", "settings": { "foreground": "#E6EE9C" } }, { "scope": "variable.language.opengoal.ir.regs.float", "settings": { "foreground": "#BCAAA4" } }, { "scope": "variable.language.opengoal.ir.regs.return", "settings": { "foreground": "#FF9100" } }, { "scope": "variable.language.opengoal.ir.regs.stack", "settings": { "foreground": "#76FF03" } }, { "scope": "variable.language.opengoal.ir.regs", "settings": { "foreground": "#B0BEC5" } }, { "scope": "entity.name.function.opengoal.ir.regs.function", "settings": { "fontStyle": "bold" } }, { "scope": "entity.name.function.opengoal.ir.regs.symbol-table", "settings": { "fontStyle": "bold" } }, { "scope": "entity.name.function.opengoal.ir.function.call", "settings": { "fontStyle": "bold" } } ] } }, "languages": [ { "id": "opengoal", "aliases": [ "OpenGOAL", "opengoal" ], "extensions": [ ".gc", ".gd" ], "icon": { "light": "./icons/opengoal.png", "dark": "./icons/opengoal.png" }, "configuration": "./syntaxes/configs/opengoal.jsonc" }, { "id": "opengoal-goos", "aliases": [ "OpenGOAL-GOOS", "opengoal-goos" ], "extensions": [ ".gs", ".gp" ], "icon": { "light": "./icons/opengoal-goos.png", "dark": "./icons/opengoal-goos.png" }, "configuration": "./language-configuration.json" }, { "id": "opengoal-ir", "aliases": [ "OpenGOAL-IR", "opengoal-ir" ], "filenamePatterns": [ "*_ir2.asm" ], "icon": { "light": "./icons/opengoal-ir.png", "dark": "./icons/opengoal-ir.png" }, "configuration": "./syntaxes/configs/ir.jsonc" } ], "grammars": [ { "language": "opengoal", "scopeName": "source.opengoal", "path": "./syntaxes/opengoal.tmLanguage.json" }, { "language": "opengoal-goos", "scopeName": "source.opengoal-goos", "path": "./syntaxes/opengoal-goos.tmLanguage.json" }, { "language": "opengoal-ir", "scopeName": "source.opengoal-ir", "path": "./syntaxes/opengoal-ir.tmLanguage.json", "embeddedLanguages": { "meta.embedded.block.opengoal": "opengoal" } } ], "snippets": [ { "language": "opengoal", "path": "./snippets/opengoal.json" } ] }, "devDependencies": { "@types/node": "^12.12.0", "@types/vscode": "^1.34.0", "@typescript-eslint/eslint-plugin": "^5.19.0", "@typescript-eslint/parser": "^5.19.0", "eslint": "^8.13.0", "typescript": "^4.6.3" } }