2022-03-15 01:36:32 -04:00
|
|
|
{
|
|
|
|
"name": "opengoal",
|
|
|
|
"displayName": "OpenGOAL",
|
|
|
|
"description": "OpenGOAL Support for VSCode",
|
2022-03-16 23:31:45 -04:00
|
|
|
"publisher": "opengoal",
|
2022-03-16 23:34:26 -04:00
|
|
|
"version": "0.0.2",
|
2022-03-15 01:36:32 -04:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.65.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Programming Languages"
|
|
|
|
],
|
2022-03-16 23:31:45 -04:00
|
|
|
"icon": "img/logo.png",
|
|
|
|
"license": "ISC",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/open-goal/opengoal-vscode"
|
|
|
|
},
|
2022-04-15 15:41:27 -04:00
|
|
|
"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"
|
|
|
|
],
|
2022-03-15 01:36:32 -04:00
|
|
|
"contributes": {
|
2022-04-15 15:41:27 -04:00
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "opengoal.switchFile",
|
|
|
|
"title": "OpenGOAL - Switch File"
|
2022-04-15 19:42:15 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "opengoal.decomp.openMostRecentIRFile",
|
|
|
|
"title": "OpenGOAL - Decomp - Open Recent IR2 File"
|
2022-04-15 15:41:27 -04:00
|
|
|
}
|
|
|
|
],
|
2022-03-16 20:43:17 -04:00
|
|
|
"configurationDefaults": {
|
|
|
|
"[opengoal-ir]": {
|
|
|
|
"editor.bracketPairColorization.enabled": false
|
|
|
|
},
|
|
|
|
"editor.tokenColorCustomizations": {
|
|
|
|
"textMateRules": [
|
2022-03-16 22:48:42 -04:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
2022-03-16 20:43:17 -04:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-03-15 01:36:32 -04:00
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "opengoal",
|
|
|
|
"aliases": [
|
|
|
|
"OpenGOAL",
|
|
|
|
"opengoal"
|
|
|
|
],
|
|
|
|
"extensions": [
|
|
|
|
".gc",
|
|
|
|
".gd"
|
|
|
|
],
|
2022-03-16 20:43:17 -04:00
|
|
|
"icon": {
|
|
|
|
"light": "./icons/opengoal.png",
|
|
|
|
"dark": "./icons/opengoal.png"
|
|
|
|
},
|
|
|
|
"configuration": "./syntaxes/configs/opengoal.jsonc"
|
2022-03-15 01:36:32 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "opengoal-goos",
|
|
|
|
"aliases": [
|
|
|
|
"OpenGOAL-GOOS",
|
|
|
|
"opengoal-goos"
|
|
|
|
],
|
|
|
|
"extensions": [
|
2022-04-14 22:57:52 -04:00
|
|
|
".gs",
|
|
|
|
".gp"
|
2022-03-15 01:36:32 -04:00
|
|
|
],
|
2022-03-16 20:43:17 -04:00
|
|
|
"icon": {
|
|
|
|
"light": "./icons/opengoal-goos.png",
|
|
|
|
"dark": "./icons/opengoal-goos.png"
|
|
|
|
},
|
2022-03-15 01:36:32 -04:00
|
|
|
"configuration": "./language-configuration.json"
|
2022-03-16 20:43:17 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "opengoal-ir",
|
|
|
|
"aliases": [
|
|
|
|
"OpenGOAL-IR",
|
|
|
|
"opengoal-ir"
|
|
|
|
],
|
|
|
|
"filenamePatterns": [
|
2022-03-16 23:31:45 -04:00
|
|
|
"*_ir2.asm"
|
2022-03-16 20:43:17 -04:00
|
|
|
],
|
|
|
|
"icon": {
|
|
|
|
"light": "./icons/opengoal-ir.png",
|
|
|
|
"dark": "./icons/opengoal-ir.png"
|
|
|
|
},
|
|
|
|
"configuration": "./syntaxes/configs/ir.jsonc"
|
2022-03-15 01:36:32 -04:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "opengoal",
|
|
|
|
"scopeName": "source.opengoal",
|
|
|
|
"path": "./syntaxes/opengoal.tmLanguage.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "opengoal-goos",
|
|
|
|
"scopeName": "source.opengoal-goos",
|
|
|
|
"path": "./syntaxes/opengoal-goos.tmLanguage.json"
|
2022-03-16 20:43:17 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "opengoal-ir",
|
|
|
|
"scopeName": "source.opengoal-ir",
|
|
|
|
"path": "./syntaxes/opengoal-ir.tmLanguage.json",
|
|
|
|
"embeddedLanguages": {
|
|
|
|
"meta.embedded.block.opengoal": "opengoal"
|
|
|
|
}
|
2022-03-15 01:36:32 -04:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"snippets": [
|
|
|
|
{
|
2022-03-15 01:48:03 -04:00
|
|
|
"language": "opengoal",
|
|
|
|
"path": "./snippets/opengoal.json"
|
2022-03-15 01:36:32 -04:00
|
|
|
}
|
|
|
|
]
|
2022-04-15 15:41:27 -04:00
|
|
|
},
|
|
|
|
"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"
|
2022-03-15 01:36:32 -04:00
|
|
|
}
|
|
|
|
}
|