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

Method definition

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

Source from the content-addressed store, hash-verified

263 }
264
265 async definition(filePath: string, position: Position) {
266 const uri = await toUri(filePath);
267 return this.connection.sendRequest<Location | Location[] | LocationLink[] | null>(
268 'textDocument/definition',
269 {
270 textDocument: {uri},
271 position,
272 },
273 );
274 }
275
276 async completion(filePath: string, position: Position) {
277 const uri = await toUri(filePath);

Callers

nothing calls this directly

Calls 1

toUriFunction · 0.70

Tested by

no test coverage detected