MCPcopy Create free account
hub / github.com/angular/angular / completion

Method completion

ngp-vscode-ng-language-service/tests/test_helpers.ts:276–285  ·  view source on GitHub ↗
(filePath: string, position: Position)

Source from the content-addressed store, hash-verified

274 }
275
276 async completion(filePath: string, position: Position) {
277 const uri = await toUri(filePath);
278 return this.connection.sendRequest<CompletionList | CompletionItem[] | null>(
279 'textDocument/completion',
280 {
281 textDocument: {uri},
282 position,
283 },
284 );
285 }
286
287 async completionResolve(item: CompletionItem) {
288 return this.connection.sendRequest<CompletionItem>('completionItem/resolve', item);

Callers 1

Calls 1

toUriFunction · 0.70

Tested by

no test coverage detected