File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/extension/context/node/resolvers Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,15 @@ export async function parseSettingsAndCommands(workbenchService: IWorkbenchServi
112112 const allcommands = ( await workbenchService . getAllCommands ( /* filterByPreCondition */ true ) ) ;
113113 const commandItem = allcommands . find ( commandItem => commandItem . command === item . details ?. key ) ;
114114 if ( ! commandItem ) {
115- return [ ] ;
115+ // If we can't find the command on the list, just open the command palette without any pre-filled filter
116+ parsedMetadata . push ( {
117+ commandToRun : {
118+ command : 'workbench.action.quickOpen' ,
119+ arguments : [ `>` ] ,
120+ title : l10n . t ( "Open Command Palette" ) ,
121+ }
122+ } ) ;
123+ return parsedMetadata ;
116124 }
117125 parsedMetadata . push ( {
118126 commandToRun : {
You can’t perform that action at this time.
0 commit comments