MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / select

Function select

src/test/helpers.ts:698–700  ·  view source on GitHub ↗
(...ranges: vs.Range[])

Source from the content-addressed store, hash-verified

696}
697
698export function select(...ranges: vs.Range[]) {
699 currentEditor().selections = ranges.map((range) => new vs.Selection(range.start, range.end));
700}
701
702export async function executeOrganizeImportsCodeAction() {
703 return executeCodeAction({ kind: vs.CodeActionKind.SourceOrganizeImports }, startOfDocument);

Calls 1

currentEditorFunction · 0.85

Tested by

no test coverage detected