mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Refactor vscode-mssql sql bindings logic to sql bindings ext (#18725)
* wip for refactor of mssql to sql-bindings * remove STS dependency * work to bring function over and setup with vscodeMsql APIs * copy typings from vscode-mssql
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
"icon": "",
|
||||
"aiKey": "AIF-37eefaf0-8022-4671-a3fb-64752724682e",
|
||||
"activationEvents": [
|
||||
"onCommand:sqlBindings.addSqlBinding"
|
||||
"onCommand:sqlBindings.addSqlBinding",
|
||||
"onCommand:sqlBindings.createAzureFunction"
|
||||
],
|
||||
"main": "./out/extension",
|
||||
"repository": {
|
||||
@@ -35,6 +36,12 @@
|
||||
"command": "sqlBindings.addSqlBinding",
|
||||
"title": "%sqlBindings.addSqlBinding%",
|
||||
"category": "MS SQL"
|
||||
},
|
||||
{
|
||||
"command": "sqlBindings.createAzureFunction",
|
||||
"title": "%sqlBindings.createAzureFunction%",
|
||||
"category": "MS SQL",
|
||||
"when": "view == objectExplorer && viewItem == Table"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
@@ -43,19 +50,25 @@
|
||||
"command": "sqlBindings.addSqlBinding",
|
||||
"when": "editorLangId == csharp && !azdataAvailable && resourceScheme != untitled"
|
||||
}
|
||||
],
|
||||
"view/item/context": [
|
||||
{
|
||||
"command": "sqlBindings.createAzureFunction",
|
||||
"when": "view == objectExplorer && viewItem == Table",
|
||||
"group": "zAzure_Function@1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@microsoft/ads-extension-telemetry": "^1.1.5",
|
||||
"fast-glob": "^3.2.7",
|
||||
"fs-extra": "^5.0.0",
|
||||
"jsonc-parser": "^2.3.1",
|
||||
"promisify-child-process": "^3.1.1",
|
||||
"vscode-nls": "^4.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^5.0.0",
|
||||
"@types/node": "^14.14.16",
|
||||
"tslint": "^5.8.0",
|
||||
"should": "^13.2.1",
|
||||
"sinon": "^9.0.2",
|
||||
|
||||
Reference in New Issue
Block a user