Magnus Wallström
Magnus Wallström

Reputation: 1529

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?

Upvotes: 3

Views: 3332

Answers (1)

Ralph King
Ralph King

Reputation: 1054

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.

Upvotes: 4

Related Questions