Skip to content

Commit 81281d2

Browse files
committed
Fix package.json
1 parent d9d196f commit 81281d2

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

packages/common/src/cursorlessCommandIds.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ export const cursorlessCommandDescriptions: Record<
6969
"Resume test case recording",
7070
),
7171
["cursorless.showDocumentation"]: new VisibleCommand("Show documentation"),
72+
["cursorless.showScopeVisualizer"]: new VisibleCommand(
73+
"Show the scope visualizer",
74+
),
75+
["cursorless.hideScopeVisualizer"]: new VisibleCommand(
76+
"Hide the scope visualizer",
77+
),
7278

7379
["cursorless.command"]: new HiddenCommand("The core cursorless command"),
7480
["cursorless.showQuickPick"]: new HiddenCommand(
@@ -110,10 +116,4 @@ export const cursorlessCommandDescriptions: Record<
110116
["cursorless.keyboard.modal.modeToggle"]: new HiddenCommand(
111117
"Toggle the cursorless modal mode",
112118
),
113-
["cursorless.showScopeVisualizer"]: new VisibleCommand(
114-
"Show the scope visualizer",
115-
),
116-
["cursorless.hideScopeVisualizer"]: new VisibleCommand(
117-
"Hide the scope visualizer",
118-
),
119119
};

packages/cursorless-vscode/package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@
115115
"command": "cursorless.showDocumentation",
116116
"title": "Cursorless: Show documentation"
117117
},
118+
{
119+
"command": "cursorless.showScopeVisualizer",
120+
"title": "Cursorless: Show the scope visualizer"
121+
},
122+
{
123+
"command": "cursorless.hideScopeVisualizer",
124+
"title": "Cursorless: Hide the scope visualizer"
125+
},
118126
{
119127
"command": "cursorless.command",
120128
"title": "Cursorless: The core cursorless command",
@@ -184,15 +192,6 @@
184192
"command": "cursorless.keyboard.modal.modeToggle",
185193
"title": "Cursorless: Toggle the cursorless modal mode",
186194
"enablement": "false"
187-
},
188-
{
189-
"command": "cursorless.showScopeVisualizer",
190-
"title": "Cursorless: Show the scope visualizer"
191-
},
192-
{
193-
"command": "cursorless.hideScopeVisualizer",
194-
"title": "Cursorless: Hide the scope visualizer",
195-
"enablement": "false"
196195
}
197196
],
198197
"colors": [

packages/meta-updater/src/getCursorlessVscodeFields.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ export function getCursorlessVscodeFields(input: PackageJson) {
2121
// Causes extension to activate whenever any text editor is opened
2222
"onLanguage",
2323

24+
// Causes extension to activate when the Cursorless scope support side bar
25+
// is opened
26+
"onView:cursorlessScopeSupport",
27+
2428
// Causes extension to activate when any Cursorless command is run.
2529
// Technically we don't need to do this since VSCode 1.74.0, but we support
2630
// older versions

0 commit comments

Comments
 (0)