MCPcopy
hub / github.com/foambubble/foam / toVsCodeRange

Function toVsCodeRange

packages/foam-vscode/src/vscode/utils/vsc-utils.ts:28–29  ·  view source on GitHub ↗
(r: FoamRange)

Source from the content-addressed store, hash-verified

26 new Position(p.line, p.character);
27
28export const toVsCodeRange = (r: FoamRange): Range =>
29 new Range(r.start.line, r.start.character, r.end.line, r.end.character);
30
31export const toVsCodeUri = (u: FoamURI): Uri => Uri.from(u);
32

Callers 15

runLintFunction · 0.90
createNoteFunction · 0.90
provideHoverMethod · 0.90
provideReferencesMethod · 0.90
getTagReferencesMethod · 0.90
provideDefinitionMethod · 0.90
provideDocumentLinksMethod · 0.90
provideHoverMethod · 0.90
prepareRenameMethod · 0.90
updateDecorationsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected