LoginSignup
9
11

More than 3 years have passed since last update.

VSCodeでgit ignoreしたファイル検索できるようにする

Posted at

git ignore したファイルが検索できない

dockerをgitで管理している場合、volumes以下のアプリケーションのフォルダはgit ignoreしている場合がある思います。vscodeでいつものようにcmd + Pでアプリケーションのファイル検索をしようとしたところgitignoreしたフォルダ配下のファイルが検索できないことに気付きました。

設定を変える

vscodeのsettings画面を開き、検索バーでsearch use fileで検索してください。
画像のようにSearch: Use Ignore Filesのチェックを外すとgitignoreしたファイルも検索できるようになります。
スクリーンショット 2021-01-08 10.47.27.png

9
11
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
9
11