mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 09:35:37 -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);
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@ import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
|
||||
import { CustomTreeViewPanel } from 'vs/workbench/browser/parts/views/customView';
|
||||
import { coalesce } from 'vs/base/common/arrays';
|
||||
import { LifecyclePhase } from 'vs/platform/lifecycle/common/lifecycle';
|
||||
import { viewsContainersExtensionPoint } from 'vs/workbench/api/browser/viewsExtensionPoint';
|
||||
|
||||
import { CustomTreeView } from 'sql/workbench/browser/parts/views/customView';
|
||||
|
||||
@@ -66,7 +65,7 @@ const dataExplorerContribution: IJSONSchema = {
|
||||
};
|
||||
|
||||
|
||||
const dataExplorerExtensionPoint: IExtensionPoint<{ [loc: string]: IUserFriendlyViewDescriptor[] }> = ExtensionsRegistry.registerExtensionPoint<{ [loc: string]: IUserFriendlyViewDescriptor[] }>({ extensionPoint: 'dataExplorer', deps: [viewsContainersExtensionPoint], jsonSchema: dataExplorerContribution });
|
||||
const dataExplorerExtensionPoint: IExtensionPoint<{ [loc: string]: IUserFriendlyViewDescriptor[] }> = ExtensionsRegistry.registerExtensionPoint<{ [loc: string]: IUserFriendlyViewDescriptor[] }>({ extensionPoint: 'dataExplorer', jsonSchema: dataExplorerContribution });
|
||||
|
||||
class DataExplorerContainerExtensionHandler implements IWorkbenchContribution {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user