1

I would like to hide the javascript files generated from the typescript files

This works perfectly:

enter image description here

With the following files structure:

enter image description here

(I have removed the exclude js files settings to show the structure)

However, if I change the file structure this way

enter image description here

The javascript files are not hidden

Anyone can help?

1
  • You can just hide the dist folder Commented Jul 13, 2017 at 5:59

2 Answers 2

1

You can hide the dist folder. Better yet, I just exclude them from search:

// .vscode/settings.json
{
  "search.exclude": {
    "dist": true
  }
}
Sign up to request clarification or add additional context in comments.

1 Comment

Great, that's what I wanted to achieve!
1

Why don't you try this, Open your workspace settings file (.vscode/settings.json):
This will hide js files in every folder and it works even if you rename your dist folder to something else in future.

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

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.