File tree Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,12 @@ export const cursorlessCommandDescriptions: Record<
69
69
"Resume test case recording" ,
70
70
) ,
71
71
[ "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
+ ) ,
72
78
73
79
[ "cursorless.command" ] : new HiddenCommand ( "The core cursorless command" ) ,
74
80
[ "cursorless.showQuickPick" ] : new HiddenCommand (
@@ -110,10 +116,4 @@ export const cursorlessCommandDescriptions: Record<
110
116
[ "cursorless.keyboard.modal.modeToggle" ] : new HiddenCommand (
111
117
"Toggle the cursorless modal mode" ,
112
118
) ,
113
- [ "cursorless.showScopeVisualizer" ] : new VisibleCommand (
114
- "Show the scope visualizer" ,
115
- ) ,
116
- [ "cursorless.hideScopeVisualizer" ] : new VisibleCommand (
117
- "Hide the scope visualizer" ,
118
- ) ,
119
119
} ;
Original file line number Diff line number Diff line change 115
115
"command" : " cursorless.showDocumentation" ,
116
116
"title" : " Cursorless: Show documentation"
117
117
},
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
+ },
118
126
{
119
127
"command" : " cursorless.command" ,
120
128
"title" : " Cursorless: The core cursorless command" ,
184
192
"command" : " cursorless.keyboard.modal.modeToggle" ,
185
193
"title" : " Cursorless: Toggle the cursorless modal mode" ,
186
194
"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"
196
195
}
197
196
],
198
197
"colors" : [
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ export function getCursorlessVscodeFields(input: PackageJson) {
21
21
// Causes extension to activate whenever any text editor is opened
22
22
"onLanguage" ,
23
23
24
+ // Causes extension to activate when the Cursorless scope support side bar
25
+ // is opened
26
+ "onView:cursorlessScopeSupport" ,
27
+
24
28
// Causes extension to activate when any Cursorless command is run.
25
29
// Technically we don't need to do this since VSCode 1.74.0, but we support
26
30
// older versions
You can’t perform that action at this time.
0 commit comments