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

Method hover

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

Source from the content-addressed store, hash-verified

255 }
256
257 async hover(filePath: string, position: Position) {
258 const uri = await toUri(filePath);
259 return this.connection.sendRequest<Hover | null>('textDocument/hover', {
260 textDocument: {uri},
261 position,
262 });
263 }
264
265 async definition(filePath: string, position: Position) {
266 const uri = await toUri(filePath);

Callers 1

expectHoverAtCursorMethod · 0.80

Calls 1

toUriFunction · 0.70

Tested by

no test coverage detected