[VSC-1185] Move all status bar items to left #1626
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request updates the status bar item creation for OpenOCD and QEMU managers to use left alignment and lower priority values for better visual organization in the VS Code status bar. It was also reported by @AndriiFilippov that on a smaller screens or with multiple extensions installed the
OpenOCD Serverbutton, would sometimes not be shown. This should be an improvement for those scenarios.Status bar improvements for OpenOCD and QEMU managers:
src/espIdf/openOcd/openOcdManager.ts: Modified theregisterOpenOCDStatusBarItem()method to use left alignment (vscode.StatusBarAlignment.Left) and priority1instead of right alignment and priority1000. This ensures the OpenOCD status bar item appears on the left side with lower priority.src/qemu/qemuManager.ts: Updated theregisterQemuStatusBarItem()method to use left alignment (StatusBarAlignment.Left) and priority0instead of right alignment and priority1005. This positions the QEMU status bar item on the left side with the lowest priority.Status bar item naming improvements:
src/qemu/qemuManager.ts: Changed QEMU status bar item text from"[ESP-IDF: QEMU]"to"QEMU"to remove brackets and prefix.src/espIdf/openOcd/openOcdManager.ts: Changed OpenOCD status bar item text from"[ESP-IDF: OpenOCD Server]"to"OpenOCD Server"to remove brackets and prefix.src/cmdTreeView/cmdStore.ts: Updated command tooltips to remove "ESP-IDF:" prefix and brackets for better consistency:"ESP-IDF: Select Flash Method"→"Select Flash Method""ESP-IDF: Build, Flash and Monitor"→"Build, Flash and Monitor""[OpenOCD Server]"→"OpenOCD Server""Debug"→"Launch Debug"(to avoid confusion with VS Code's built-in Debug status bar item)Localization updates:
package.nls.json: Added new localization string"Launch Debug": "Launch Debug".l10n/bundle.l10n.ru.json: Updated Russian translations for command tooltips and added"Launch Debug": "Запуск отладки".l10n/bundle.l10n.zh-CN.json: Updated Chinese translations for command tooltips and added"Launch Debug": "启动调试".l10n/bundle.l10n.es.json: Updated Spanish translations for command tooltips and added"Launch Debug": "Iniciar depuración".l10n/bundle.l10n.pt.json: Updated Portuguese translations for command tooltips and added"Launch Debug": "Iniciar depuración".Benefits:
0and1ensures these items appear at the end of the status bar, reducing visual clutter for higher-priority items.Type of change
Steps to test this pull request
Both

ESP-IDF: QEMUandESP-IDF: OpenOCD Serverstatus bar buttons should appear as last items on the left side status bar items.Test Configuration:
Checklist