We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45597c8 commit 4d08e4aCopy full SHA for 4d08e4a
packages/cursorless-vscode/src/extension.ts
@@ -44,13 +44,6 @@ export async function activate(
44
45
const { vscodeIDE, hats } = await createVscodeIde(context);
46
47
- const commandServerApi =
48
- vscodeIDE.runMode === "test"
49
- ? getFakeCommandServerApi()
50
- : await getCommandServerApi();
51
-
52
- const treeSitter: TreeSitter = createTreeSitter(parseTreeApi);
53
54
const normalizedIde =
55
vscodeIDE.runMode === "production"
56
? undefined
@@ -60,6 +53,13 @@ export async function activate(
60
vscodeIDE.runMode === "test",
61
);
62
+ const commandServerApi =
57
+ vscodeIDE.runMode === "test"
58
+ ? getFakeCommandServerApi()
59
+ : await getCommandServerApi();
+
+ const treeSitter: TreeSitter = createTreeSitter(parseTreeApi);
63
const {
64
commandRunner,
65
testCaseRecorder,
0 commit comments