Skip to content

Commit 5f505ab

Browse files
committed
Resolved an issue where certain buttons were missing from the status bar in VSCode 1.79 after the recent update // Resolve platformio#3736
1 parent c89075f commit 5f505ab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Introducing a powerful linting feature that highlights syntactical and stylistic issues in the ["platformio.ini"](https://docs.platformio.org/en/latest/projectconf/index.html) configuration file (issue [#3723](https://github.com/platformio/platformio-vscode-ide/issues/3723))
66
* Improved project cleanup process by utilizing the ``fullclean`` target instead of ``cleanall``. This ensures a thorough clean-up, including the removal of dependent libraries
77
* Updated PlatformIO Core Installer Script to [v1.1.3](https://github.com/platformio/platformio-core-installer/releases/tag/v1.1.3)
8+
* Resolved an issue where certain buttons were missing from the status bar in VSCode 1.79 after the recent update (issue [#3736](https://github.com/platformio/platformio-vscode-ide/issues/3736))
89

910
![Linting "platformio.ini" configuration file (demo)](https://raw.githubusercontent.com/platformio/platformio-vscode-ide/develop/.github/media/platformio-ini-lint-demo.png)
1011

src/toolbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class ToolbarButton {
2020

2121
createStatusBarItem(options = { priority: 0 }) {
2222
const item = vscode.window.createStatusBarItem(
23-
'pio-toolbar',
23+
`pio-toolbar-${this.tooltip || this.text}`,
2424
vscode.StatusBarAlignment.Left,
2525
STATUS_BAR_PRIORITY_START + options.priority + 1
2626
);
27-
item.name = 'PlatformIO: Toolbar';
27+
item.name = this.tooltip || 'PlatformIO: Toolbar Item';
2828
item.text = this.text;
2929
item.tooltip = this.tooltip;
3030
item.command = {

0 commit comments

Comments
 (0)