How do you hide files(for example .js and .map) in Visual Studio code?

Enter ctrl + shift + p and then search for User Settings and copy paste the below code.

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

Add Comment