File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 140140 "command" : " codeOrganizer.activate" ,
141141 "title" : " Activate" ,
142142 "category" : " Code Organizer"
143+ },
144+ {
145+ "command" : " codeOrganizer.showView" ,
146+ "title" : " Show Code Organizer" ,
147+ "category" : " Code Organizer"
143148 }
144149 ]
145150 },
Original file line number Diff line number Diff line change @@ -76,6 +76,14 @@ export function activate(context: vscode.ExtensionContext) {
7676 )
7777 ) ;
7878
79+ // Register "Show Code Organizer" command
80+ context . subscriptions . push (
81+ vscode . commands . registerCommand ( 'codeOrganizer.showView' , async ( ) => {
82+ // Use the auto-generated .focus command for our view
83+ await vscode . commands . executeCommand ( 'codeOrganizerOutlineActivity.focus' ) ;
84+ } )
85+ ) ;
86+
7987 // Helper function to find current section from cursor position
8088 function getCurrentSection (
8189 cursorPos : vscode . Position ,
You can’t perform that action at this time.
0 commit comments