clarify default CompletionItem-behaviour

This commit is contained in:
Johannes Rieken
2016-04-06 16:15:13 +02:00
parent af85d2cc87
commit 451ea466fa
+6
View File
@@ -2017,6 +2017,12 @@ declare namespace vscode {
* A completion item represents a text snippet that is
* proposed to complete text that is being typed.
*
* It is suffient to create a completion item from just
* a [label](#CompletionItem.label). In that case the completion
* item will replace the [word](#TextDocument.getWordRangeAtPosition)
* until the cursor with the given label.
*
*
* @see [CompletionItemProvider.provideCompletionItems](#CompletionItemProvider.provideCompletionItems)
* @see [CompletionItemProvider.resolveCompletionItem](#CompletionItemProvider.resolveCompletionItem)
*/