Merge vscode source through 1.62 release (#19981)

* Build breaks 1

* Build breaks

* Build breaks

* Build breaks

* More build breaks

* Build breaks (#2512)

* Runtime breaks

* Build breaks

* Fix dialog location break

* Update typescript

* Fix ASAR break issue

* Unit test breaks

* Update distro

* Fix breaks in ADO builds (#2513)

* Bump to node 16

* Fix hygiene errors

* Bump distro

* Remove reference to node type

* Delete vscode specific extension

* Bump to node 16 in CI yaml

* Skip integration tests in CI builds (while fixing)

* yarn.lock update

* Bump moment dependency in remote yarn

* Fix drop-down chevron style

* Bump to node 16

* Remove playwrite from ci.yaml

* Skip building build scripts in hygine check
This commit is contained in:
Karl Burtram
2022-07-11 14:09:32 -07:00
committed by GitHub
parent fa0fcef303
commit 26455e9113
1876 changed files with 72050 additions and 37997 deletions

View File

@@ -34,7 +34,7 @@ export interface IEditorModel {
dispose(): void;
}
export interface IBaseResourceEditorInput {
export interface IBaseUntypedEditorInput {
/**
* Optional options to use when opening the input.
@@ -50,15 +50,9 @@ export interface IBaseResourceEditorInput {
* Description to show for the input.
*/
readonly description?: string;
}
/**
* Hint to indicate that this input should be treated as a file
* that opens in an editor capable of showing file content.
*
* Without this hint, the editor service will make a guess by
* looking at the scheme of the resource(s).
*/
readonly forceFile?: boolean;
export interface IBaseResourceEditorInput extends IBaseUntypedEditorInput {
/**
* Hint to indicate that this input should be treated as a
@@ -66,6 +60,10 @@ export interface IBaseResourceEditorInput {
*
* Without this hint, the editor service will make a guess by
* looking at the scheme of the resource(s).
*
* Use `forceUntitled: true` when you pass in a `resource` that
* does not use the `untitled` scheme. The `resource` will then
* be used as associated path when saving the untitled file.
*/
readonly forceUntitled?: boolean;
}
@@ -288,6 +286,12 @@ export interface IEditorOptions {
* not as a modal dialog.
*/
context?: EditorOpenContext;
/**
* An optional property to signal that certain view state should be
* applied when opening the editor.
*/
viewState?: object;
}
export interface ITextEditorSelection {
@@ -327,11 +331,6 @@ export interface ITextEditorOptions extends IEditorOptions {
*/
selection?: ITextEditorSelection;
/**
* Text editor view state.
*/
viewState?: object;
/**
* Option to control the text editor selection reveal type.
* Defaults to TextEditorSelectionRevealType.Center