Skip to content

Commit d15b65a

Browse files
Fix imports
1 parent 56e7920 commit d15b65a

43 files changed

Lines changed: 124 additions & 137 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/common/src/scopeVisualizerUtil/generateDecorationsForLineRange.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Range } from "../types/Range";
2-
import { BorderStyle, type StyledRange } from "./decorationStyle.types";
2+
import type { StyledRange } from "./decorationStyle.types";
3+
import { BorderStyle } from "./decorationStyle.types";
34

45
export function* generateDecorationsForLineRange(
56
startLine: number,

packages/cursorless-engine/src/actions/CopyToClipboard.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { FlashStyle, type IDE } from "@cursorless/common";
1+
import type { IDE } from "@cursorless/common";
2+
import { FlashStyle } from "@cursorless/common";
23
import type { RangeUpdater } from "../core/updateSelections/RangeUpdater";
34
import { CopyToClipboardSimple } from "./SimpleIdeCommandActions";
45
import type { Target } from "../typings/target.types";

packages/cursorless-engine/src/actions/Find.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { showWarning, type IDE } from "@cursorless/common";
1+
import type { IDE } from "@cursorless/common";
2+
import { showWarning } from "@cursorless/common";
23
import type { Target } from "../typings/target.types";
34
import { ensureSingleTarget } from "../util/targetUtils";
45
import type { Actions } from "./Actions";

packages/cursorless-engine/src/actions/FlashTargets.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { FlashStyle, type IDE } from "@cursorless/common";
1+
import type { IDE } from "@cursorless/common";
2+
import { FlashStyle } from "@cursorless/common";
23
import type { Target } from "../typings/target.types";
34
import { flashTargets } from "../util/targetUtils";
45
import type { ActionReturnValue, SimpleAction } from "./actions.types";

packages/cursorless-engine/src/actions/GenerateSnippet/GenerateSnippet.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import {
2-
FlashStyle,
3-
Range,
4-
matchAll,
5-
type IDE,
6-
type EditableTextEditor,
7-
type Selection,
8-
type TextEditor,
1+
import type {
2+
EditableTextEditor,
3+
IDE,
4+
Selection,
5+
TextEditor,
96
} from "@cursorless/common";
7+
import { FlashStyle, Range, matchAll } from "@cursorless/common";
8+
import type {
9+
Snippet,
10+
SnippetFile,
11+
SnippetHeader,
12+
SnippetVariable,
13+
} from "@cursorless/talon-tools";
1014
import {
1115
parseSnippetFile,
1216
serializeSnippetFile,
13-
type Snippet,
14-
type SnippetFile,
15-
type SnippetHeader,
16-
type SnippetVariable,
1717
} from "@cursorless/talon-tools";
1818
import type { Snippets } from "../../core/Snippets";
1919
import type { Target } from "../../typings/target.types";

packages/cursorless-engine/src/actions/IndentLine.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import {
2-
FlashStyle,
3-
Range,
4-
type IDE,
5-
type TextEditor,
6-
} from "@cursorless/common";
1+
import type { IDE, TextEditor } from "@cursorless/common";
2+
import { FlashStyle, Range } from "@cursorless/common";
73
import { flatten, zip } from "lodash-es";
84
import { selectionToStoredTarget } from "../core/commandRunner/selectionToStoredTarget";
95
import type { RangeUpdater } from "../core/updateSelections/RangeUpdater";

packages/cursorless-engine/src/actions/InsertEmptyLines.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
import type { IDE, InsertionMode } from "@cursorless/common";
12
import {
23
FlashStyle,
34
RangeExpansionBehavior,
4-
type IDE,
55
toCharacterRange,
66
toLineRange,
77
zipStrict,
8-
type InsertionMode,
98
} from "@cursorless/common";
109
import type { RangeUpdater } from "../core/updateSelections/RangeUpdater";
1110
import { performEditsAndUpdateSelections } from "../core/updateSelections/updateSelections";

packages/cursorless-engine/src/actions/PasteFromClipboardDirectly.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
import type { IDE, TextEditor } from "@cursorless/common";
12
import {
23
FlashStyle,
34
RangeExpansionBehavior,
45
toCharacterRange,
56
zipStrict,
6-
type IDE,
7-
type TextEditor,
87
} from "@cursorless/common";
98
import { flatten } from "lodash-es";
109
import type { RangeUpdater } from "../core/updateSelections/RangeUpdater";

packages/cursorless-engine/src/actions/Scroll.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import type { IDE } from "@cursorless/common";
12
import {
23
FlashStyle,
3-
type IDE,
44
groupBy,
55
RevealLineAt,
66
toLineRange,

packages/cursorless-engine/src/actions/SetSelection.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { Selection, type IDE } from "@cursorless/common";
1+
import type { IDE } from "@cursorless/common";
2+
import { Selection } from "@cursorless/common";
23
import type { Target } from "../typings/target.types";
34
import { ensureSingleEditor } from "../util/targetUtils";
45
import type { SimpleAction, ActionReturnValue } from "./actions.types";

0 commit comments

Comments
 (0)