Help us understand the problem. What is going on with this article?

Visual Studio Codeエディタの色をプロジェクトごとに違うものにする

More than 1 year has passed since last update.

Visual Studio Codeで複数のプロジェクトを開いている時,「どれが作業対象だっけ?」となることが多かったので,エディタの色をプロジェクトごとに違うものにしてみます.

Before:

68747470733a2f2f71696974612d696d6167652d73746f72652e73332e616d617a6f6e6177732e636f6d2f302f3139383130382f64376664316539662d393435352d616431632d316235362d3465303439386664633465302e706e67.png

After:

68747470733a2f2f71696974612d696d6167652d73746f72652e73332e616d617a6f6e6177732e636f6d2f302f3139383130382f63313030333937352d346136322d326539322d626230312d3630326534396237353936382e706e67 (1).png

効果

  • 作業対象のプロジェクトのウインドウを簡単に発見できます.

確認環境

  • Macbook Pro late 2013
  • macOS High Sierra 10.13.6
  • Visual Studio Code 1.30.1

手順

プロジェクトルートに.vscode/ディレクトリを作成し,settings.jsonファイルに下記のように追記します(ファイルがすでに存在する場合,既存のファイルに追記してください).

{
    "workbench.colorCustomizations": {
        "titleBar.activeBackground": "#FFD700",
        "titleBar.activeForeground": "#000000",
        "activityBar.background": "#FFD700",
        "activityBar.foreground": "#000000"
    }
}

結果

色がつきました.

68747470733a2f2f71696974612d696d6167652d73746f72652e73332e616d617a6f6e6177732e636f6d2f302f3139383130382f33613132313236612d313736312d356462652d346533622d3033366336306162303234652e706e67.png

簡単に発見することができます.他のプロジェクトのエディタ色には影響しません.

68747470733a2f2f71696974612d696d6167652d73746f72652e73332e616d617a6f6e6177732e636f6d2f302f3139383130382f63313030333937352d346136322d326539322d626230312d3630326534396237353936382e706e67 (1).png

プロジェクトごとにテーマカラーを決めて,チームに一体感を出すのにも使えるかもしれません.

68747470733a2f2f71696974612d696d6167652d73746f72652e73332e616d617a6f6e6177732e636f6d2f302f3139383130382f64383362316231372d306231352d393438642d336638322d3533363338343632366238382e706e67.png

以上です.

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした