mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 17:22:55 -05:00
removes unused vscode changes (#5533)
This commit is contained in:
@@ -122,11 +122,6 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
|
||||
this._register(this._onAddConnectionProfile);
|
||||
this._register(this._onDeleteConnectionProfile);
|
||||
|
||||
// Refresh editor titles when connections start/end/change to ensure tabs are colored correctly
|
||||
this.onConnectionChanged(() => this.refreshEditorTitles());
|
||||
this.onConnect(() => this.refreshEditorTitles());
|
||||
this.onDisconnect(() => this.refreshEditorTitles());
|
||||
}
|
||||
|
||||
public providerRegistered(providerId: string): boolean {
|
||||
@@ -1219,7 +1214,6 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
public editGroup(group: ConnectionProfileGroup): Promise<any> {
|
||||
return new Promise<string>((resolve, reject) => {
|
||||
this._connectionStore.editGroup(group).then(groupId => {
|
||||
this.refreshEditorTitles();
|
||||
this._onAddConnectionProfile.fire(undefined);
|
||||
resolve(null);
|
||||
}).catch(err => {
|
||||
@@ -1339,12 +1333,6 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
return matchingGroup.color;
|
||||
}
|
||||
|
||||
private refreshEditorTitles(): void {
|
||||
if (this._editorGroupService instanceof EditorPart) {
|
||||
this._editorGroupService.refreshEditorTitles();
|
||||
}
|
||||
}
|
||||
|
||||
public removeConnectionProfileCredentials(originalProfile: IConnectionProfile): IConnectionProfile {
|
||||
return this._connectionStore.getProfileWithoutPassword(originalProfile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user