mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
228 lines
6.2 KiB
JSON
228 lines
6.2 KiB
JSON
{
|
|
"name": "query-history",
|
|
"displayName": "%queryHistory.displayName%",
|
|
"description": "%queryHistory.description%",
|
|
"version": "0.5.4",
|
|
"publisher": "Microsoft",
|
|
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
|
"icon": "images/extension.png",
|
|
"aiKey": "29a207bb14f84905966a8f22524cb730-25407f35-11b6-4d4e-8114-ab9e843cb52f-7380",
|
|
"engines": {
|
|
"vscode": "*",
|
|
"azdata": ">=1.40.0"
|
|
},
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./out/main",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/azuredatastudio.git"
|
|
},
|
|
"capabilities": {
|
|
"virtualWorkspaces": false,
|
|
"untrustedWorkspaces": {
|
|
"supported": true
|
|
}
|
|
},
|
|
"extensionDependencies": [],
|
|
"contributes": {
|
|
"configuration": [
|
|
{
|
|
"type": "object",
|
|
"title": "%queryHistory.displayName%",
|
|
"properties": {
|
|
"queryHistory.captureEnabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%queryHistory.captureEnabledDesc%"
|
|
},
|
|
"queryHistory.doubleClickAction": {
|
|
"type": "string",
|
|
"description": "%queryHistory.doubleClickAction%",
|
|
"default": "open",
|
|
"enum": [
|
|
"open",
|
|
"run"
|
|
],
|
|
"enumDescriptions": [
|
|
"%queryHistory.doubleClickAction.open%",
|
|
"%queryHistory.doubleClickAction.run%"
|
|
]
|
|
},
|
|
"queryHistory.persistHistory": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%queryHistory.persistHistory%"
|
|
},
|
|
"queryHistory.maxEntries": {
|
|
"type": "integer",
|
|
"default": 100,
|
|
"minimum": 0,
|
|
"description": "%queryHistory.maxEntries%"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "queryHistory.open",
|
|
"title": "%queryHistory.open%",
|
|
"category": "%queryHistory.displayName%"
|
|
},
|
|
{
|
|
"command": "queryHistory.run",
|
|
"title": "%queryHistory.run%",
|
|
"category": "%queryHistory.displayName%"
|
|
},
|
|
{
|
|
"command": "queryHistory.delete",
|
|
"title": "%queryHistory.delete%",
|
|
"category": "%queryHistory.displayName%"
|
|
},
|
|
{
|
|
"command": "queryHistory.clear",
|
|
"title": "%queryHistory.clear%",
|
|
"category": "%queryHistory.displayName%",
|
|
"icon": "$(clear-all)"
|
|
},
|
|
{
|
|
"command": "queryHistory.disableCapture",
|
|
"title": "%queryHistory.disableCapture%",
|
|
"category": "%queryHistory.displayName%",
|
|
"icon": "$(debug-pause)"
|
|
},
|
|
{
|
|
"command": "queryHistory.enableCapture",
|
|
"title": "%queryHistory.enableCapture%",
|
|
"category": "%queryHistory.displayName%",
|
|
"icon": "$(play)"
|
|
},
|
|
{
|
|
"command": "queryHistory.openStorageFolder",
|
|
"title": "%queryHistory.openStorageFolder%",
|
|
"category": "%queryHistory.displayName%"
|
|
}
|
|
],
|
|
"menus": {
|
|
"commandPalette": [
|
|
{
|
|
"command": "queryHistory.open",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "queryHistory.run",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "queryHistory.delete",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "queryHistory.disableCapture",
|
|
"when": "config.queryHistory.captureEnabled"
|
|
},
|
|
{
|
|
"command": "queryHistory.enableCapture",
|
|
"when": "!config.queryHistory.captureEnabled"
|
|
}
|
|
],
|
|
"view/title": [
|
|
{
|
|
"command": "queryHistory.clear",
|
|
"when": "view == queryHistory",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "queryHistory.disableCapture",
|
|
"when": "view == queryHistory && config.queryHistory.captureEnabled",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "queryHistory.enableCapture",
|
|
"when": "view == queryHistory && !config.queryHistory.captureEnabled",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"view/item/context": [
|
|
{
|
|
"command": "queryHistory.open",
|
|
"when": "view == queryHistory",
|
|
"group": "QueryHistory@1"
|
|
},
|
|
{
|
|
"command": "queryHistory.run",
|
|
"when": "view == queryHistory",
|
|
"group": "QueryHistory@2"
|
|
},
|
|
{
|
|
"command": "queryHistory.delete",
|
|
"when": "view == queryHistory",
|
|
"group": "QueryHistory@3"
|
|
},
|
|
{
|
|
"command": "queryHistory.clear",
|
|
"when": "view == queryHistory",
|
|
"group": "QueryHistory@4"
|
|
},
|
|
{
|
|
"command": "queryHistory.disableCapture",
|
|
"when": "view == queryHistory && config.queryHistory.captureEnabled",
|
|
"group": "QueryHistory@5"
|
|
},
|
|
{
|
|
"command": "queryHistory.enableCapture",
|
|
"when": "view == queryHistory && !config.queryHistory.captureEnabled",
|
|
"group": "QueryHistory@5"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"queryHistory": [
|
|
{
|
|
"id": "queryHistory",
|
|
"name": "%queryHistory.displayName%"
|
|
}
|
|
]
|
|
},
|
|
"viewsWelcome": [
|
|
{
|
|
"view": "queryHistory",
|
|
"when": "queryHistory.loading",
|
|
"contents": "%queryHistory.loading%"
|
|
},
|
|
{
|
|
"view": "queryHistory",
|
|
"when": "queryHistory.noEntries",
|
|
"contents": "%queryHistory.noEntries%"
|
|
}
|
|
],
|
|
"viewsContainers": {
|
|
"panel": [
|
|
{
|
|
"id": "queryHistory",
|
|
"title": "%queryHistory.displayName%",
|
|
"icon": "images/QueryHistoryIcon.svg"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@microsoft/ads-extension-telemetry": "^3.0.1",
|
|
"vscode-nls": "^4.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/vscodetestcover": "^1.2.2",
|
|
"@microsoft/azdata-test": "^3.0.3",
|
|
"@types/mocha": "^7.0.2",
|
|
"@types/node": "^12.11.7",
|
|
"should": "^13.2.3",
|
|
"typemoq": "^2.1.0"
|
|
},
|
|
"__metadata": {
|
|
"id": "55",
|
|
"publisherDisplayName": "Microsoft",
|
|
"publisherId": "Microsoft"
|
|
}
|
|
}
|