File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
arduino-ide-extension/src/browser/boards Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,11 @@ export class BoardsServiceProvider
155155 this . outputChannel . append ( this . _boardList . toString ( ) + '\n' ) ;
156156 } ,
157157 } ) ;
158+ registry . registerCommand ( CLEAR_BOARD_LIST_HISTORY , {
159+ execute : ( ) => {
160+ this . refreshBoardList ( { boardListHistory : { } } ) ;
161+ } ,
162+ } ) ;
158163 }
159164
160165 tasks ( ) : StartupTask [ ] {
@@ -431,3 +436,9 @@ const DUMP_BOARD_LIST: Command = {
431436 label : 'Dump Board List' , // TODO: if remains in IDE2, add translations.
432437 category : 'Developer (Arduino)' ,
433438} ;
439+
440+ const CLEAR_BOARD_LIST_HISTORY : Command = {
441+ id : 'arduino-clear-board-list-history' ,
442+ label : 'Clear Board List History' , // TODO: if remains in IDE2, add translations.
443+ category : 'Developer (Arduino)' ,
444+ } ;
You can’t perform that action at this time.
0 commit comments