mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 09:35:39 -05:00
Merge from vscode 2c306f762bf9c3db82dc06c7afaa56ef46d72f79 (#14050)
* Merge from vscode 2c306f762bf9c3db82dc06c7afaa56ef46d72f79 * Fix breaks * Extension management fixes * Fix breaks in windows bundling * Fix/skip failing tests * Update distro * Add clear to nuget.config * Add hygiene task * Bump distro * Fix hygiene issue * Add build to hygiene exclusion * Update distro * Update hygiene * Hygiene exclusions * Update tsconfig * Bump distro for server breaks * Update build config * Update darwin path * Add done calls to notebook tests * Skip failing tests * Disable smoke tests
This commit is contained in:
@@ -29,6 +29,8 @@ import { IComponent, IComponentDescriptor, IModelStore } from 'sql/platform/dash
|
||||
import { convertSizeToNumber } from 'sql/base/browser/dom';
|
||||
import { onUnexpectedError } from 'vs/base/common/errors';
|
||||
import { ILogService } from 'vs/platform/log/common/log';
|
||||
import { ILabelService } from 'vs/platform/label/common/label';
|
||||
import { IFileService } from 'vs/platform/files/common/files';
|
||||
|
||||
@Component({
|
||||
template: `
|
||||
@@ -59,7 +61,9 @@ export default class DiffEditorComponent extends ComponentBase<azdata.DiffEditor
|
||||
@Inject(IModelService) private _modelService: IModelService,
|
||||
@Inject(IModeService) private _modeService: IModeService,
|
||||
@Inject(ITextModelService) private _textModelService: ITextModelService,
|
||||
@Inject(ILogService) logService: ILogService
|
||||
@Inject(ILogService) logService: ILogService,
|
||||
@Inject(ILabelService) private labelService: ILabelService,
|
||||
@Inject(IFileService) private fileService: IFileService
|
||||
) {
|
||||
super(changeRef, el, logService);
|
||||
}
|
||||
@@ -94,7 +98,8 @@ export default class DiffEditorComponent extends ComponentBase<azdata.DiffEditor
|
||||
|
||||
let editorinput1 = this._instantiationService.createInstance(ResourceEditorInput, uri1, 'source', undefined, undefined);
|
||||
let editorinput2 = this._instantiationService.createInstance(ResourceEditorInput, uri2, 'target', undefined, undefined);
|
||||
this._editorInput = new DiffEditorInput('DiffEditor', undefined, editorinput1, editorinput2, true);
|
||||
this._editorInput = new DiffEditorInput('DiffEditor', undefined, editorinput1, editorinput2, true,
|
||||
this.labelService, this.fileService);
|
||||
this._editor.setInput(this._editorInput, undefined, undefined, cancellationTokenSource.token);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user