mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user