Merge commit 'refs/pull/60051/head' of github.com:Microsoft/vscode into pr/60051

This commit is contained in:
Joao Moreno
2018-10-23 16:18:51 -07:00
6 changed files with 70 additions and 44 deletions

View File

@@ -439,6 +439,17 @@ class ExtHostSourceControl implements vscode.SourceControl {
return this._selected;
}
private _hideInputBox: boolean = false;
get hideInputBox(): boolean {
return this._hideInputBox;
}
set hideInputBox(hideInputBox: boolean | undefined) {
this._hideInputBox = hideInputBox;
this._proxy.$updateSourceControl(this.handle, { hideInputBox: !!hideInputBox });
}
private _onDidChangeSelection = new Emitter<boolean>();
readonly onDidChangeSelection = this._onDidChangeSelection.event;