How : to hide generated javascript file in visual studio code

How to hide generated javascript file in visual studio code,visual studio code,auto-generated code
Share it:
How : to hide generated javascript file in visual studio code
google



How to hide generated javascript file in visual studio code

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 javascript 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"}
    }
}

Do you know:-



If you like the tutorial, then please share this tutorial with your friends on social media.
Share it:

javascript

Post A Comment:

0 comments: