VS Code: group files with the same name and different extensions

I am working in an angular2 project with vscode. Is there a way to group files with the same names and different extensions in the same way as Visual Studio.

Example:

  • myscript.ts
  • myscript.js
  • myscript.map.js
+8
angular typescript visual-studio-code
source share
1 answer

Go to the "Files" β†’ "Settings" β†’ "Workspace Settings" section and paste in the right panel:

// Place your settings in this file to overwrite default and user settings. { "files.exclude": { // include the defaults from VS Code "**/.git": true, "**/.DS_Store": true, // exclude .js and .js.map files, when in a TypeScript project "**/*.js": { "when": "$(basename).ts"}, "**/*.js.map": true } } 
+4
source share

All Articles