shifting towards manual symlinks for more complex setup than laptop, allows for GUI settings changes to actually apply, and is much easier than nix-ifying every config
148 lines
3.2 KiB
JSON
148 lines
3.2 KiB
JSON
{
|
|
"name": "patternstore",
|
|
"displayName": "PatternStore",
|
|
"description": "Save and recall reusable regex find/replace pairs in VS Code",
|
|
"version": "0.1.12",
|
|
"publisher": "jdunkel",
|
|
"engines": {
|
|
"vscode": "^1.85.0"
|
|
},
|
|
"icon": "assets/pattern-store-icon.png",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/JoachimDunkel/PatternStore"
|
|
},
|
|
"keywords": [
|
|
"search",
|
|
"replace",
|
|
"regex",
|
|
"find",
|
|
"pattern",
|
|
"snippet"
|
|
],
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"galleryBanner": {
|
|
"color": "#1e1e1e",
|
|
"theme": "dark"
|
|
},
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "patternStore.manage",
|
|
"title": "PatternStore: Manage Patterns",
|
|
"icon": "$(book)"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "PatternStore",
|
|
"properties": {
|
|
"patternStore.savedPatterns": {
|
|
"type": "array",
|
|
"default": [],
|
|
"description": "Global patterns available in all workspaces",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string"
|
|
},
|
|
"find": {
|
|
"type": "string"
|
|
},
|
|
"replace": {
|
|
"type": "string"
|
|
},
|
|
"flags": {
|
|
"type": "object"
|
|
},
|
|
"filesToInclude": {
|
|
"type": "string",
|
|
"description": "Files to include (glob pattern, e.g. '*.ts,*.js' or 'src/**')"
|
|
},
|
|
"filesToExclude": {
|
|
"type": "string",
|
|
"description": "Files to exclude (glob pattern, e.g. 'node_modules/**,dist/**')"
|
|
},
|
|
"scope": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patternStore.workspacePatterns": {
|
|
"type": "array",
|
|
"default": [],
|
|
"description": "Workspace-specific patterns",
|
|
"scope": "resource",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string"
|
|
},
|
|
"find": {
|
|
"type": "string"
|
|
},
|
|
"replace": {
|
|
"type": "string"
|
|
},
|
|
"flags": {
|
|
"type": "object"
|
|
},
|
|
"filesToInclude": {
|
|
"type": "string",
|
|
"description": "Files to include (glob pattern, e.g. '*.ts,*.js' or 'src/**')"
|
|
},
|
|
"filesToExclude": {
|
|
"type": "string",
|
|
"description": "Files to exclude (glob pattern, e.g. 'node_modules/**,dist/**')"
|
|
},
|
|
"scope": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"keybindings": [
|
|
{
|
|
"command": "patternStore.manage",
|
|
"key": "ctrl+alt+r",
|
|
"mac": "cmd+alt+r"
|
|
}
|
|
],
|
|
"menus": {
|
|
"view/title": [
|
|
{
|
|
"command": "patternStore.manage",
|
|
"when": "view == workbench.view.search",
|
|
"group": "navigation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint src --ext ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.x",
|
|
"@types/vscode": "^1.85.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.x",
|
|
"@typescript-eslint/parser": "^6.x",
|
|
"eslint": "^8.x",
|
|
"typescript": "^5.3.0"
|
|
},
|
|
"__metadata": {
|
|
"installedTimestamp": 1783822352061,
|
|
"targetPlatform": "undefined",
|
|
"size": 1218391
|
|
}
|
|
} |