clarity when completions are requested, #10098

This commit is contained in:
Johannes Rieken 2016-08-08 10:35:56 +02:00
parent 11fa14a6d0
commit d9b4047d54

5
src/vs/vscode.d.ts vendored
View file

@ -2304,7 +2304,7 @@ declare namespace vscode {
/**
* The completion item provider interface defines the contract between extensions and
* the [IntelliSense](https://code.visualstudio.com/docs/editor/editingevolved#_intellisense).
* [IntelliSense](https://code.visualstudio.com/docs/editor/editingevolved#_intellisense).
*
* When computing *complete* completion items is expensive, providers can optionally implement
* the `resolveCompletionItem`-function. In that case it is enough to return completion
@ -2312,6 +2312,9 @@ declare namespace vscode {
* [provideCompletionItems](#CompletionItemProvider.provideCompletionItems)-function. Subsequently,
* when a completion item is shown in the UI and gains focus this provider is asked to resolve
* the item, like adding [doc-comment](#CompletionItem.documentation) or [details](#CompletionItem.detail).
*
* Providers are asked for completions either explicitly by a user gesture or -depending on the configuration-
* implicitly when typing words or trigger characters.
*/
export interface CompletionItemProvider {