# 【VSCode】ファイル検索時に出てこないファイルを検索対象にする
> VSCodeでファイル検索時に出てこないファイルを検索対象にする方法メモ。
- Canonical: https://c-a-p-engineer.github.io/vscode-ignorefiles/
- Published: 2021-10-16T15:00:00.000Z
- Modified: 2021-10-16T15:00:00.000Z
- Tags: VSCode

Windows で VSCode を使用して `Ctrl + p`ファイル検索時に出ないことがあります。
VSCode でファイル検索時に出てこないファイルを検索対象にする方法をメモ。


## 方法

### 設定画面
1.`ファイル` > `ユーザ設定` > `設定`
2.`search.useIgnoreFiles` を検索。
3.チェックをは外す

### setting.json
1.`ファイル` > `ユーザ設定` > `設定`
2.右上のファイルアイコンを開く
3.`setting.json` の `search.useIgnoreFiles` の値に `false` を記入 or 以下の行を追記
```json:setting.json
{
    "search.useIgnoreFiles": false
}
```

## 参考
* <a href="https://lighthouse-dev.github.io/tools/vscode-search-setting/" target="_blank" rel="nofollow noopener">VSCodeでvendor配下のファイルが検索できない · lighthouse-dev.github.io</a>
