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<
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} ;
Original file line number Diff line number Diff line change 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" ,
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" : [
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments