vscode-languageclient
Advanced tools
Comparing version 1.2.0-prerelease.2 to 1.2.0-prerelease.3
@@ -857,11 +857,13 @@ import { RequestType, NotificationType } from 'vscode-jsonrpc'; | ||
/** | ||
* The CompletionItem namespace provides functions to deal with | ||
* completion items. | ||
* The CompletionList namespace provides functions to deal with | ||
* completion lists. | ||
*/ | ||
export declare namespace CompletionList { | ||
/** | ||
* Create a completion item and seed it with a label. | ||
* @param label The completion item's label | ||
* Creates a new completion list. | ||
* | ||
* @param items The completion items. | ||
* @param isIncomplete The list is not complete. | ||
*/ | ||
function create(items: CompletionItem[], isIncomplete: boolean): CompletionList; | ||
function create(items?: CompletionItem[], isIncomplete?: boolean): CompletionList; | ||
} | ||
@@ -871,6 +873,7 @@ /** | ||
* parameter is of type [TextDocumentPosition](#TextDocumentPosition) the response | ||
* is of type [CompletionItem[]](#CompletionItem) or a Thenable that resolves to such. | ||
* is of type [CompletionItem[]](#CompletionItem) or [CompletionList](#CompletionList) | ||
* or a Thenable that resolves to such. | ||
*/ | ||
export declare namespace CompletionRequest { | ||
const type: RequestType<TextDocumentPosition, CompletionItem[], void>; | ||
const type: RequestType<TextDocumentPosition, CompletionItem[] | CompletionList, void>; | ||
} | ||
@@ -877,0 +880,0 @@ /** |
@@ -528,4 +528,4 @@ /* -------------------------------------------------------------------------------------------- | ||
/** | ||
* The CompletionItem namespace provides functions to deal with | ||
* completion items. | ||
* The CompletionList namespace provides functions to deal with | ||
* completion lists. | ||
*/ | ||
@@ -535,4 +535,6 @@ var CompletionList; | ||
/** | ||
* Create a completion item and seed it with a label. | ||
* @param label The completion item's label | ||
* Creates a new completion list. | ||
* | ||
* @param items The completion items. | ||
* @param isIncomplete The list is not complete. | ||
*/ | ||
@@ -547,3 +549,4 @@ function create(items, isIncomplete) { | ||
* parameter is of type [TextDocumentPosition](#TextDocumentPosition) the response | ||
* is of type [CompletionItem[]](#CompletionItem) or a Thenable that resolves to such. | ||
* is of type [CompletionItem[]](#CompletionItem) or [CompletionList](#CompletionList) | ||
* or a Thenable that resolves to such. | ||
*/ | ||
@@ -550,0 +553,0 @@ var CompletionRequest; |
{ | ||
"name": "vscode-languageclient", | ||
"description": "VSCode Language client implementation", | ||
"version": "1.2.0-prerelease.2", | ||
"version": "1.2.0-prerelease.3", | ||
"author": "Microsoft Corporation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
159004
4121