Merge from vscode 011858832762aaff245b2336fb1c38166e7a10fb (#4663)

This commit is contained in:
Anthony Dresser
2019-03-22 13:07:54 -07:00
committed by GitHub
parent f5c9174c2f
commit 4a87a24235
296 changed files with 2531 additions and 2472 deletions

View File

@@ -929,6 +929,8 @@ export interface DocumentFormattingEditProvider {
*/
readonly extensionId?: ExtensionIdentifier;
readonly displayName?: string;
/**
* Provide formatting edits for a whole document.
*/
@@ -939,13 +941,13 @@ export interface DocumentFormattingEditProvider {
* the formatting-feature.
*/
export interface DocumentRangeFormattingEditProvider {
/**
* @internal
*/
readonly extensionId?: ExtensionIdentifier;
readonly displayName?: string;
/**
* Provide formatting edits for a range in a document.
*
@@ -1396,6 +1398,24 @@ export interface WorkspaceCommentProvider {
onDidChangeCommentThreads(): Event<CommentThreadChangedEvent>;
}
/**
* @internal
*/
export interface IWebviewOptions {
readonly enableScripts?: boolean;
readonly enableCommandUris?: boolean;
readonly localResourceRoots?: ReadonlyArray<URI>;
readonly portMapping?: ReadonlyArray<{ port: number, resolvedPort: number }>;
}
/**
* @internal
*/
export interface IWebviewPanelOptions {
readonly enableFindWidget?: boolean;
readonly retainContextWhenHidden?: boolean;
}
export interface ICodeLensSymbol {
range: IRange;
id?: string;