File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed
arduino-ide-extension/src Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { nls } from '@theia/core/lib/common/nls';
44export const Unknown = nls . localize ( 'arduino/common/unknown' , 'Unknown' ) ;
55export const Later = nls . localize ( 'arduino/common/later' , 'Later' ) ;
66export const Updatable = nls . localize ( 'arduino/common/updateable' , 'Updatable' ) ;
7+ export const Installed = nls . localize ( 'arduino/common/installed' , 'Installed' ) ;
78export const All = nls . localize ( 'arduino/common/all' , 'All' ) ;
89export const Type = nls . localize ( 'arduino/common/type' , 'Type' ) ;
910export const Partner = nls . localize ( 'arduino/common/partner' , 'Partner' ) ;
Original file line number Diff line number Diff line change 88 Partner ,
99 Type as TypeLabel ,
1010 Updatable ,
11+ Installed
1112} from '../nls' ;
1213import type { Defined } from '../types' ;
1314import { naturalCompare } from './../utils' ;
@@ -113,6 +114,7 @@ export namespace BoardSearch {
113114 export const TypeLiterals = [
114115 'All' ,
115116 'Updatable' ,
117+ 'Installed' ,
116118 'Arduino' ,
117119 'Contributed' ,
118120 'Arduino Certified' ,
@@ -128,6 +130,7 @@ export namespace BoardSearch {
128130 export const TypeLabels : Record < Type , string > = {
129131 All : All ,
130132 Updatable : Updatable ,
133+ Installed : Installed ,
131134 Arduino : 'Arduino' ,
132135 Contributed : Contributed ,
133136 'Arduino Certified' : nls . localize (
Original file line number Diff line number Diff line change @@ -423,6 +423,8 @@ export class BoardsServiceImpl
423423 switch ( options . type ) {
424424 case 'Updatable' :
425425 return Installable . Updateable ;
426+ case 'Installed' :
427+ return Installable . Installed ;
426428 case 'Arduino' :
427429 case 'Partner' :
428430 case 'Arduino@Heart' :
Original file line number Diff line number Diff line change 140140 "all" : " All" ,
141141 "contributed" : " Contributed" ,
142142 "installManually" : " Install Manually" ,
143+ "installed" : " Installed" ,
143144 "later" : " Later" ,
144145 "noBoardSelected" : " No board selected" ,
145146 "noSketchOpened" : " No sketch opened" ,
You can’t perform that action at this time.
0 commit comments