File tree 1 file changed +11
-0
lines changed
arduino-ide-extension/src/browser/boards
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,11 @@ export class BoardsServiceProvider
155
155
this . outputChannel . append ( this . _boardList . toString ( ) + '\n' ) ;
156
156
} ,
157
157
} ) ;
158
+ registry . registerCommand ( CLEAR_BOARD_LIST_HISTORY , {
159
+ execute : ( ) => {
160
+ this . refreshBoardList ( { boardListHistory : { } } ) ;
161
+ } ,
162
+ } ) ;
158
163
}
159
164
160
165
tasks ( ) : StartupTask [ ] {
@@ -431,3 +436,9 @@ const DUMP_BOARD_LIST: Command = {
431
436
label : 'Dump Board List' , // TODO: if remains in IDE2, add translations.
432
437
category : 'Developer (Arduino)' ,
433
438
} ;
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