Skip to content

Commit

Permalink
Resolved an issue where certain buttons were missing from the status …
Browse files Browse the repository at this point in the history
…bar in VSCode 1.79 after the recent update // Resolve #3736
  • Loading branch information
ivankravets committed Jun 9, 2023
1 parent c89075f commit 5f505ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* 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))
* Improved project cleanup process by utilizing the ``fullclean`` target instead of ``cleanall``. This ensures a thorough clean-up, including the removal of dependent libraries
* Updated PlatformIO Core Installer Script to [v1.1.3](https://github.com/platformio/platformio-core-installer/releases/tag/v1.1.3)
* 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))

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

Expand Down
4 changes: 2 additions & 2 deletions src/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ class ToolbarButton {

createStatusBarItem(options = { priority: 0 }) {
const item = vscode.window.createStatusBarItem(
'pio-toolbar',
`pio-toolbar-${this.tooltip || this.text}`,
vscode.StatusBarAlignment.Left,
STATUS_BAR_PRIORITY_START + options.priority + 1
);
item.name = 'PlatformIO: Toolbar';
item.name = this.tooltip || 'PlatformIO: Toolbar Item';
item.text = this.text;
item.tooltip = this.tooltip;
item.command = {
Expand Down

0 comments on commit 5f505ab

Please sign in to comment.