Skip to content

feat: ステータスバーの priority 値を設定可能にする#17

Merged
j4rviscmd merged 1 commit intomainfrom
feat/statusbar-priority
Mar 14, 2026
Merged

feat: ステータスバーの priority 値を設定可能にする#17
j4rviscmd merged 1 commit intomainfrom
feat/statusbar-priority

Conversation

@j4rviscmd
Copy link
Copy Markdown
Owner

概要

ステータスバーアイテムの priority 値を設定可能にする statusBarPriority 設定を追加しました。

これにより、vscode-zai-usage と隣接表示できるようになります。

変更内容

  • statusBarPriority 設定を追加(デフォルト値あり)
  • ステータスバーアイテム作成時に priority 値を適用

関連 Issue

Closes #15

動作確認

  • ステータスバーの表示位置が priority 値に従って変わることを確認
  • settings.jsonstatusBarPriority を変更すると反映されることを確認

Add `copilotUsage.statusBarPriority` configuration setting (default: `-1000`)
so users can control the position of the Copilot Usage item in the status bar.

- Read the priority value at activation time and pass it to `StatusBarItem` constructor
- When `copilotUsage.statusBarPriority` changes, notify the user with a
  "Reload Window" prompt since priority is baked in at creation time

Default of `-1000` places Copilot Usage adjacent to vscode-zai-usage (`-999`),
both appearing near the right edge of the status bar next to the notification bell.

Closes #15
@j4rviscmd j4rviscmd added the enhancement New feature or request label Mar 14, 2026
@j4rviscmd j4rviscmd merged commit 509565a into main Mar 14, 2026
4 checks passed
@j4rviscmd j4rviscmd deleted the feat/statusbar-priority branch March 14, 2026 01:47
This was referenced Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ステータスバー表示位置を vscode-zai-usage と隣り合わせにする

1 participant