We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40318d4 commit 8657bc0Copy full SHA for 8657bc0
src/content/docs/reference/services.mdx
@@ -81,16 +81,21 @@ export const service = {
81
create(context): ServicePluginInstance {
82
return {
83
provideCompletionItems(document, position, token) {
84
- return [
85
- {
86
- label: 'Hello',
87
- kind: CompletionItemKind.Text,
88
- },
89
90
- label: 'World',
91
92
93
- ];
+ return {
+ isIncomplete: true,
+ items: [
+ {
+ label: 'Hello',
+ kind: CompletionItemKind.Text,
+ isIncomplete: false
+ },
+ label: 'World',
94
95
96
97
+ ]
98
+ }
99
},
100
};
101
0 commit comments