MCPcopy Create free account
hub / github.com/cursorless-dev/cursorless / createPosition

Function createPosition

src/test/suite/recorded.test.ts:26–28  ·  view source on GitHub ↗
(position: PositionPlainObject)

Source from the content-addressed store, hash-verified

24import getRecordedTestPaths from "./getRecordedTestPaths";
25
26function createPosition(position: PositionPlainObject) {
27 return new vscode.Position(position.line, position.character);
28}
29
30function createSelection(selection: SelectionPlainObject): vscode.Selection {
31 const active = createPosition(selection.active);

Callers 1

createSelectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected