0

Using Microsoft's Visual Studio Code, how do I hide certain files and file patterns from appearing in the sidebar?

I want to hide .js and .js.map style files

I am using visual studio code for angular 2 projects.

And I want to only show .ts files.

1 Answer 1

1

You can add file with name .gitignore and add the below contents:

 **/*.js **/*.js.map node_modules dist typings/** debug.log launch.json npm-debug.log 
Sign up to request clarification or add additional context in comments.

1 Comment

Did you add this file to your root directory? it is working fine for me.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.