2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Visual Studio Codeのツリー表示を見やすくする

Last updated at Posted at 2025-09-26

概要

Visual Studio Codeの「エクスプローラー」は、フォルダやファイルをツリーで表示してくれるが、インデントが微妙に浅くて分かりにくい。言葉より以下の変更前後の画像を見た方が早い。
Visual Studio Codeの設定で、見た目を変えることができる。

<変更前>
スクリーンショット 2025-09-26 22.05.19.png

<変更後>
スクリーンショット 2025-09-26 22.06.32.png

やり方

Visual Studio Codeで「コマンドパレット」を開く。
そのなかから以下を選択する。
スクリーンショット 2025-09-26 22.14.46.png

setting.jsonファイルが開くので以下を追記する。

// 階層のインデント幅(デフォルト8px → 14〜16pxくらいが見やすい)
"workbench.tree.indent": 16,

// 階層のガイド線の表示
"workbench.tree.renderIndentGuides": "none",

// (任意)コンパクトフォルダ表示を無効化
"explorer.compactFolders": false
2
2
0

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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?