Files
2022-08-26 16:31:47 +09:30

163 lines
5.4 KiB
JSON

{
"name": "bdsp-evscript-language-support",
"displayName": "BDSP EvScript Language Support",
"description": "Language Suppport for Pokemon BDSP EvScript Files",
"icon": "evBall.png",
"version": "1.5.1",
"repository": {
"type": "git",
"url": "https://github.com/Heroj04/bdsp-evscript-language-support"
},
"homepage": "https://github.com/Heroj04/bdsp-evscript-language-support#readme",
"bugs": "https://github.com/Heroj04/bdsp-evscript-language-support/issues",
"publisher": "Heroj04",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Linters"
],
"activationEvents": [
"onCommand:evscript.parse",
"onCommand:evscript.assemble",
"onCommand:evscript.assemble.all",
"onLanguage:evscript"
],
"main": "./extension.js",
"contributes": {
"languages": [
{
"id": "evscript",
"aliases": [
"EvScript",
"evscript"
],
"extensions": [
".ev"
],
"configuration": "./languages/evscript.language-configuration.json"
}
],
"grammars": [
{
"language": "evscript",
"scopeName": "source.ev",
"path": "./grammars/evscript.tmLanguage.json"
}
],
"snippets": [
{
"language": "evscript",
"path": "./snippets/evscript.snippets.json"
}
],
"commands": [
{
"command": "evscript.parse",
"title": "EvScript Parse"
},
{
"command": "evscript.assemble",
"title": "EvScript Assemble"
},
{
"command": "evscript.assemble.all",
"title": "EvScript Assemble All"
},
{
"command": "evscript.convert.all.named",
"title": "EvScript Convert Work and Flags to Named"
},
{
"command": "evscript.convert.all.index",
"title": "EvScript Convert Work and Flags to Index"
}
],
"menus": {
"commandPalette": [
{
"command": "evscript.convert.all.named",
"when": "editorLangId == evscript && !editorReadonly"
},
{
"command": "evscript.convert.all.index",
"when": "editorLangId == evscript && !editorReadonly"
}
]
},
"configuration": {
"title": "EvScript",
"properties": {
"evscript.enableMessageValidation": {
"type": "boolean",
"default": true,
"description": "Enable validation of stored message values when assembling scripts."
},
"evscript.messageExportsFolder": {
"type": "string",
"default": "",
"description": "Specifies the folder path containing the exported message .json files to use. Requires a reload after changing."
},
"evscript.customEv_ScriptsPath": {
"type": "string",
"default": "",
"description": "Specifies a path to a custom ev_scripts.json file to use."
},
"evscript.hovers.enableHovers": {
"type": "boolean",
"default": true,
"description": "Enable information about EvCmds and Parameters to be displayed on hover."
},
"evscript.linter.enableLinting": {
"type": "boolean",
"default": false,
"description": "Enable warning/error message diagnostic linting."
},
"evscript.linter.filesToLint": {
"type": "string",
"default": "Editor",
"enum": [
"Editor",
"Workspace"
],
"enumDescriptions": [
"Only Lint files opened in the editor.",
"Lint all files in open workspace folders."
],
"description": "Which files are processed by the linter."
}
}
},
"capabilities": {
"hoverProvider": "true",
"signatureHelpProvider": {
"triggerCharacters": [
"(",
","
]
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.63.0",
"@vscode/test-electron": "^1.6.2",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.2.2",
"typescript": "^4.4.4"
},
"dependencies": {
"vscode-oniguruma": "^1.6.2",
"vscode-textmate": "^7.0.1"
}
}