Move rest of DE actions into package contributions (#11755)

* Move rest of DE actions into package contributions

* Add sql-database-projects import
This commit is contained in:
Charles Gagnon
2020-08-11 15:37:03 -07:00
committed by GitHub
parent acd9fc8fd6
commit 6e26261149
9 changed files with 69 additions and 215 deletions

View File

@@ -48,6 +48,23 @@
"when": "connectionProvider == MSSQL && nodeType && nodeType == Folder && nodeLabel == 'Databases' && mssql:engineedition != 11",
"group": "export"
}
],
"dataExplorer/context": [
{
"command": "dacFx.start",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11",
"group": "export"
},
{
"command": "dacFx.start",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server && mssql:engineedition != 11",
"group": "export"
},
{
"command": "dacFx.start",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Folder && nodeLabel == 'Databases' && mssql:engineedition != 11",
"group": "export"
}
]
}
},

View File

@@ -13,7 +13,7 @@
"icon": "images/extension.png",
"aiKey": "AIF-37eefaf0-8022-4671-a3fb-64752724682e",
"activationEvents": [
"onCommand:flatFileImport.start"
"onCommand:flatFileImport.start"
],
"main": "./out/main",
"repository": {
@@ -49,6 +49,13 @@
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11",
"group": "import"
}
],
"dataExplorer/context": [
{
"command": "flatFileImport.start",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11",
"group": "import"
}
]
},
"configuration": {
@@ -68,19 +75,19 @@
"htmlparser2": "^3.10.1",
"service-downloader": "0.2.1",
"vscode-extension-telemetry": "0.0.18",
"vscode-nls": "^3.2.1"
"vscode-nls": "^3.2.1"
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^12.11.7",
"@types/sinon": "^9.0.4",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.17.0",
"mocha-multi-reporters": "^1.1.7",
"should": "^13.2.1",
"sinon": "^9.0.2",
"typemoq": "^2.1.0",
"vscodetestcover": "^1.0.9"
"@types/mocha": "^5.2.5",
"@types/node": "^12.11.7",
"@types/sinon": "^9.0.4",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.17.0",
"mocha-multi-reporters": "^1.1.7",
"should": "^13.2.1",
"sinon": "^9.0.2",
"typemoq": "^2.1.0",
"vscodetestcover": "^1.0.9"
},
"__metadata": {
"id": "23",

View File

@@ -69,6 +69,13 @@
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server && mssql:engineedition != 11",
"group": "profiler"
}
],
"dataExplorer/context": [
{
"command": "profiler.newProfiler",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server && mssql:engineedition != 11",
"group": "profiler"
}
]
},
"outputChannels": [

View File

@@ -60,6 +60,18 @@
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server && mssql:engineedition != 11",
"group": "export"
}
],
"dataExplorer/context": [
{
"command": "schemaCompare.start",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11",
"group": "export"
},
{
"command": "schemaCompare.start",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server && mssql:engineedition != 11",
"group": "export"
}
]
}
},

View File

@@ -282,6 +282,14 @@
"group": "export"
}
],
"dataExplorer/context": [
{
"command": "sqlDatabaseProjects.importDatabase",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11",
"group": "export"
}
],
"dashboard/toolbar": [
{
"command": "sqlDatabaseProjects.importDatabase",