How to hide generated javascript file in visual studio code

santosh
0
In this post, I am going to show you a cool trick in visual studio code to hide the auto-generated code. Let's suppose you are writing typescript code in visual studio code and you want to hide generated javascript code.

Create .vscode folder in your folder and then create settings.json file and paste following code

{
    "files.exclude": {
        "node_modules":true,
        "**/.git"true,
        "**/.DS_Store"true,
        "**/*.js.map"true,
        "**/*.js": {"when""$(basename).ts"}
    }
}

Tags

Post a Comment

0Comments

Please do not post any spam link in the comment box😊

Post a Comment (0)