This repository was archived by the owner on Oct 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ export class SerialMonitor implements vscode.Disposable {
9494 this . _timestampFormatStatusBar = vscode . window . createStatusBarItem ( vscode . StatusBarAlignment . Right ,
9595 constants . statusBarPriority . TIMESTAMP_FORMAT ) ;
9696 this . _timestampFormatStatusBar . command = "arduino.changeTimestampFormat" ;
97- this . _timestampFormatStatusBar . tooltip = " Timestamp Format" ;
98- this . _timestampFormatStatusBar . text = defaultTimestampFormat ;
97+ this . _timestampFormatStatusBar . tooltip = ` Timestamp Format: " ${ defaultTimestampFormat } "` ;
98+ this . _timestampFormatStatusBar . text = `$(watch)` ;
9999 this . updatePortListStatus ( ) ;
100100
101101 const dc = DeviceContext . getInstance ( ) ;
@@ -230,7 +230,7 @@ export class SerialMonitor implements vscode.Disposable {
230230 const timestampFormat = await vscode . window . showInputBox ( ) ;
231231 await this . _serialPortCtrl . changeTimestampFormat ( timestampFormat ) ;
232232 this . _currentTimestampFormat = timestampFormat ;
233- this . _timestampFormatStatusBar . text = timestampFormat ;
233+ this . _timestampFormatStatusBar . tooltip = `Timestamp Format: " ${ timestampFormat } "` ;
234234 }
235235
236236 public async closeSerialMonitor ( port : string , showWarning : boolean = true ) : Promise < boolean > {
You can’t perform that action at this time.
0 commit comments