3

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

1 Answer 1

4

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.

2
  • 1
    Thank you Ralph! I found that there was a Workspace Settings as well in which I could do the same configuration and achieve the same result. Commented Apr 5, 2016 at 11:19
  • NO worries. I think I meant workspace settings rather than user settings anyway - will update the answer for future viewers...
    – Ralph King
    Commented Apr 5, 2016 at 11:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.