133 lines
3.8 KiB
JSON
133 lines
3.8 KiB
JSON
{
|
|
"name": "resx-designer-auto-generator",
|
|
"displayName": "RESX Designer Auto-Generator",
|
|
"description": "Automatically regenerates Designer.cs files when RESX files are saved",
|
|
"version": "1.0.2",
|
|
"publisher": "thakhisis",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.delphas.dk/daniels/resx-generator.git"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.101.0"
|
|
},
|
|
"categories": [
|
|
"Other",
|
|
"Programming Languages"
|
|
],
|
|
"keywords": [
|
|
"resx",
|
|
"designer",
|
|
"resources",
|
|
"csharp",
|
|
"dotnet",
|
|
"auto-generation"
|
|
],
|
|
"activationEvents": [
|
|
"onStartupFinished"
|
|
],
|
|
"main": "./dist/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "resxDesignerAutoGenerator.regenerate",
|
|
"title": "Regenerate Designer.cs",
|
|
"category": "RESX Designer"
|
|
},
|
|
{
|
|
"command": "resxDesignerAutoGenerator.showOutput",
|
|
"title": "Show Output",
|
|
"category": "RESX Designer"
|
|
},
|
|
{
|
|
"command": "resxDesignerAutoGenerator.reload",
|
|
"title": "Reload Configuration",
|
|
"category": "RESX Designer"
|
|
}
|
|
],
|
|
"menus": {
|
|
"explorer/context": [
|
|
{
|
|
"command": "resxDesignerAutoGenerator.regenerate",
|
|
"when": "resourceExtname == .resx",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"commandPalette": [
|
|
{
|
|
"command": "resxDesignerAutoGenerator.regenerate",
|
|
"when": "resourceExtname == .resx"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"title": "RESX Designer Auto-Generator",
|
|
"properties": {
|
|
"resxDesignerAutoGenerator.enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Enable automatic regeneration of Designer.cs files"
|
|
},
|
|
"resxDesignerAutoGenerator.showNotifications": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Show notifications when Designer.cs files are regenerated"
|
|
},
|
|
"resxDesignerAutoGenerator.debounceDelay": {
|
|
"type": "number",
|
|
"default": 2000,
|
|
"minimum": 500,
|
|
"maximum": 10000,
|
|
"description": "Delay in milliseconds before regenerating after a file change"
|
|
},
|
|
"resxDesignerAutoGenerator.resGenPaths": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"default": [],
|
|
"description": "Custom paths to ResGen.exe. The extension will auto-detect if empty."
|
|
},
|
|
"resxDesignerAutoGenerator.watchPatterns": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"default": [
|
|
"**/*.resx"
|
|
],
|
|
"description": "Glob patterns for watching .resx files"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run package",
|
|
"compile": "npm run check-types && npm run lint && node esbuild.js",
|
|
"watch": "npm-run-all -p watch:*",
|
|
"watch:esbuild": "node esbuild.js --watch",
|
|
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
"package": "npm run check-types && npm run lint && node esbuild.js --production",
|
|
"compile-tests": "tsc -p . --outDir out",
|
|
"watch-tests": "tsc -p . -w --outDir out",
|
|
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
|
"check-types": "tsc --noEmit",
|
|
"lint": "eslint src",
|
|
"test": "vscode-test"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.101.0",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "20.x",
|
|
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
"@typescript-eslint/parser": "^8.31.1",
|
|
"eslint": "^9.25.1",
|
|
"esbuild": "^0.25.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"typescript": "^5.8.3",
|
|
"@vscode/test-cli": "^0.0.11",
|
|
"@vscode/test-electron": "^2.5.2"
|
|
}
|
|
}
|