Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you exclude some file extensions in Visual Studio Code Explorer

Is there a setting in Visual Studio Code that makes it possible to hide files with specific extensions such as *.js and *.js.map?

like image 490
Magnus Wallström Avatar asked Oct 31 '25 15:10

Magnus Wallström


1 Answers

In your workspace settings (File -> Preferences -> Settings -> Workspace tab):

{
    "files.exclude": {
        "**/*.js": true,
        "**/*.js.map": true
    }
}

...depending on where your files are in the folder structure of course.

like image 181
Ralph King Avatar answered Nov 03 '25 19:11

Ralph King



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!