276 lines
6.6 KiB
JSON
276 lines
6.6 KiB
JSON
{
|
|
"name": "vstuc",
|
|
"publisher": "visualstudiotoolsforunity",
|
|
"displayName": "%extension.displayName%",
|
|
"author": "Microsoft Corporation",
|
|
"description": "%extension.description%",
|
|
"version": "1.3.1",
|
|
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
"icon": "resources/unity-logo.png",
|
|
"preview": false,
|
|
"qna": "https://github.com/microsoft/vscode-dotnettools/issues",
|
|
"bugs": {
|
|
"url": "https://github.com/microsoft/vscode-dotnettools/issues"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.76.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages",
|
|
"Debuggers",
|
|
"Linters",
|
|
"Other"
|
|
],
|
|
"keywords": [
|
|
"gaming",
|
|
"unity",
|
|
"unity3d",
|
|
"debugger",
|
|
"C#",
|
|
"dotnet",
|
|
"scripting"
|
|
],
|
|
"capabilities": {
|
|
"virtualWorkspaces": false,
|
|
"untrustedWorkspaces": {
|
|
"supported": false
|
|
}
|
|
},
|
|
"activationEvents": [
|
|
"onDebugResolve:vstuc",
|
|
"onDebugDynamicConfigurations:vstuc",
|
|
"workspaceContains:**/Packages/manifest.json"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"csharpExtensionLoadPaths": [
|
|
"./CodeAnalysis/UnityCodeAnalysis.dll"
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "vstuc.attachUnityDebugger",
|
|
"title": "%commands.attachUnityDebugger.title%"
|
|
},
|
|
{
|
|
"command": "vstuc.showUnityAPIReference",
|
|
"title": "%commands.showUnityAPIReference.title%"
|
|
}
|
|
],
|
|
"breakpoints": [
|
|
{
|
|
"language": "csharp"
|
|
}
|
|
],
|
|
"debuggers": [
|
|
{
|
|
"type": "vstuc",
|
|
"languages": [
|
|
"csharp "
|
|
],
|
|
"label": "Unity",
|
|
"configurationAttributes": {
|
|
"attach": {
|
|
"required": [],
|
|
"properties": {
|
|
"projectPath": {
|
|
"type": "string",
|
|
"description": "%configuration.projectPath.description%",
|
|
"default": "${workspaceFolder}"
|
|
},
|
|
"logFile": {
|
|
"type": "string",
|
|
"description": "%configuration.logFile.description%"
|
|
},
|
|
"endPoint": {
|
|
"type": "string",
|
|
"description": "%configuration.endPoint.description%"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"initialConfigurations": [
|
|
{
|
|
"name": "Unity Debugger",
|
|
"type": "vstuc",
|
|
"request": "attach",
|
|
"projectPath": "${workspaceFolder}"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"jsonValidation": [
|
|
{
|
|
"fileMatch": "*.asmdef",
|
|
"url": "https://json.schemastore.org/asmdef"
|
|
}
|
|
],
|
|
"languages": [
|
|
{
|
|
"id": "json",
|
|
"extensions": [
|
|
".asmdef",
|
|
".asmref"
|
|
]
|
|
},
|
|
{
|
|
"id": "UnityShader",
|
|
"configuration": "./grammars/UnityShader.language-configuration.json",
|
|
"extensions": [
|
|
".shader",
|
|
".cginc",
|
|
".compute",
|
|
".hlsl",
|
|
".raytrace"
|
|
]
|
|
},
|
|
{
|
|
"id": "UnityUSS",
|
|
"configuration": "./grammars/UnityUSS.language-configuration.json",
|
|
"extensions": [
|
|
".uss"
|
|
]
|
|
},
|
|
{
|
|
"id": "UnityUXML",
|
|
"configuration": "./grammars/UnityUXML.language-configuration.json",
|
|
"extensions": [
|
|
".uxml"
|
|
]
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "UnityShader",
|
|
"scopeName": "source.shader.unity",
|
|
"path": "./grammars/UnityShader.json"
|
|
},
|
|
{
|
|
"language": "UnityUSS",
|
|
"scopeName": "source.uss.unity",
|
|
"path": "./grammars/UnityUSS.json"
|
|
},
|
|
{
|
|
"language": "UnityUXML",
|
|
"scopeName": "source.uxml.unity",
|
|
"path": "./grammars/UnityUXML.json"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "%extension.displayName%",
|
|
"properties": {
|
|
"vstuc.enableMessageCompletion": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%configuration.enableMessageCompletion.description%"
|
|
},
|
|
"vstuc.unityMessageScope": {
|
|
"type": "string",
|
|
"default": "Default",
|
|
"enum": [
|
|
"Public",
|
|
"Private",
|
|
"Protected",
|
|
"Default"
|
|
],
|
|
"markdownDescription": "%configuration.unityMessageScope.description%"
|
|
},
|
|
"vstuc.refreshOnSave": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%configuration.refreshOnSave.description%"
|
|
},
|
|
"vstuc.enableCodeModel": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "%configuration.enableCodeModel.description%"
|
|
},
|
|
"vstuc.displayBackgroundProcesses": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"markdownDescription": "%configuration.displayBackgroundProcesses.description%"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"package": "webpack --mode production --devtool hidden-source-map",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint src tests --fix",
|
|
"lint:check": "eslint src tests",
|
|
"localize": "npm run ci-prepareLoc && npm run ci-deployLoc",
|
|
"ci-localize": "gulp localizationBundle",
|
|
"ci-prepareLoc": "gulp prepare",
|
|
"ci-deployLoc": "copyfiles -u 2 .localization/out/**/* ./out",
|
|
"test:jsonrpcsharp": "dotnet run --project libs/JsonRpcSharp/harness/JsonRpcSharp.Harness --configuration Debug",
|
|
"test:contracts": "mocha --config tests/ts/.mocharc.yml",
|
|
"test:integration:compile": "tsc -p tests/integration/tsconfig.json && dotnet build tests/integration/fixtures/UnityProject/UnityProject.slnx",
|
|
"test:integration": "npm run compile && npm run test:integration:compile && node out/tests/integration/runTest.js"
|
|
},
|
|
"extensionDependencies": [
|
|
"ms-dotnettools.vscode-dotnet-runtime",
|
|
"ms-dotnettools.csdevkit"
|
|
],
|
|
"dependencies": {
|
|
"@vscode/extension-telemetry": "1.5.2",
|
|
"vscode-jsonrpc": "^8.2.1",
|
|
"vscode-nls": "5.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "16.x",
|
|
"@types/semver": "^7.7.1",
|
|
"@types/vscode": "^1.76.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.63.0",
|
|
"@typescript-eslint/parser": "^8.65.0",
|
|
"@vscode/test-electron": "^3.0.0",
|
|
"@vscode/vsce": "^3.9.2",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^10.7.0",
|
|
"glob": "^13.0.6",
|
|
"gulp": "^5.0.0",
|
|
"gulp-concat": "^2.6.1",
|
|
"gulp-filter": "^10.0.0",
|
|
"gulp-sourcemaps": "^3.0.0",
|
|
"gulp-typescript": "^6.0.0-alpha.1",
|
|
"mocha": "^11.7.6",
|
|
"mocha-junit-reporter": "^2.2.1",
|
|
"ts-loader": "^9.6.2",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^6.0.3",
|
|
"vscode-nls-dev": "^4.0.4",
|
|
"webpack": "^5.109.1",
|
|
"webpack-cli": "^7.2.1"
|
|
},
|
|
"overrides": {
|
|
"@gulp-sourcemaps/identity-map": {
|
|
"postcss": "^8.4.38"
|
|
},
|
|
"glob-stream": "^8.0.2",
|
|
"mocha": {
|
|
"diff": "^8.0.3",
|
|
"serialize-javascript": "^7.0.3",
|
|
"minimatch": "^10.2.5"
|
|
},
|
|
"copyfiles": {
|
|
"minimatch": "^10.2.5",
|
|
"glob": {
|
|
"minimatch": "^10.2.5"
|
|
}
|
|
},
|
|
"vscode-nls-dev": {
|
|
"glob": {
|
|
"minimatch": "^10.2.5"
|
|
}
|
|
}
|
|
},
|
|
"__metadata": {
|
|
"installedTimestamp": 1786455740474,
|
|
"targetPlatform": "undefined",
|
|
"size": 22885276
|
|
}
|
|
} |