mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
Data explorer/context menu initial (#6264)
* fixed context for data explorer * added more files * initial servers and database context menu actions finished * added all actions for servers and databases with correct conditions * added nodetype and nodelabel for subtype actions * added nodeinfo logic to oe shim * fixed context for cms * added all scripting actions to data explorer * review comments * fix import * fix correct context key * removed unused import * separate PR for commands and menus added * rename mssql context menu nodes * remove command id constants
This commit is contained in:
@@ -21,7 +21,9 @@ export class ExtHostConnectionManagement extends ExtHostConnectionManagementShap
|
||||
public $getCurrentConnection(): Thenable<azdata.connection.ConnectionProfile> {
|
||||
let connection: any = this._proxy.$getCurrentConnection();
|
||||
connection.then((conn) => {
|
||||
conn.providerId = conn.providerName;
|
||||
if (conn && conn.providerId) {
|
||||
conn.providerId = conn.providerName;
|
||||
}
|
||||
});
|
||||
return connection;
|
||||
}
|
||||
|
||||
@@ -552,7 +552,8 @@ export function createApiFactory(
|
||||
ColumnType: sqlExtHostTypes.ColumnType,
|
||||
ActionOnCellCheckboxCheck: sqlExtHostTypes.ActionOnCellCheckboxCheck,
|
||||
StepCompletionAction: sqlExtHostTypes.StepCompletionAction,
|
||||
AgentSubSystem: sqlExtHostTypes.AgentSubSystem
|
||||
AgentSubSystem: sqlExtHostTypes.AgentSubSystem,
|
||||
ExtensionNodeType: sqlExtHostTypes.ExtensionNodeType
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user