alexandermckay / hide-my-files__extension

VS Code Extension - Hide files from the Explorer view
2 stars 0 forks source link

Hide Files

Hide My Files

The lack of a files.includes property in VS Code was frustrating me so I have created a quick and dirty extension that can emulate the desired files.includes behaviour until this feature is formally added to VS Code.

Usage

module.exports = {
  ignore: ['.git'], // add any directories you are happy to exclude from the recursive search
  keep: ['extension.js', 'commands/**'] // only these files will be available in the Explorer view
}

Excludes

{
  "node_modules": true,
  "dist": true
}