118
87

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VS Code(Cursor)で現在開いているタブを一目で分かるようにする方法

Last updated at Posted at 2025-10-24

問題

マルチタブ環境で作業していると、現在開いているファイルがどれか分からなくなることがあります。

image.png

解決方法

VS Code(Cursor)の標準設定をカスタマイズして、アクティブなタブに色付きのボーダーを追加してみました。

画面収録 2025-10-24 13.26.52 (1).gif

設定手順

  1. コマンドパレットを開く

    • Ctrl + Shift + P(Windows/Linux)
    • Cmd + Shift + P(Mac)
  2. 設定ファイルを開く

    • settings jsonと入力
    • 「Preferences: Open User Settings (JSON)」を選択
  3. 以下に設定を追加

    "workbench.colorCustomizations": {
        "tab.activeBorder": "#0cf388", // アクティブタブの下部ボーダー
    }
    

他のカスタマイズ例

"workbench.colorCustomizations": {
    "tab.activeBorder": "#0cf388", // 下部ボーダー
    "tab.activeBorderTop": "#0cf388", // 上部ボーダー
    "tab.activeBackground": "#0cf38820", // 背景色(薄く)
    "tab.inactiveForeground": "#ffffff80" // 非アクティブタブを半透明に
}

まとめ

拡張機能追加より動作が重くならないので、気に入っています。
他にもおすすめの設定があればぜひコメント欄で教えてください!

118
87
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
118
87

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?