How do I automatically clear VS Code terminal when starting a build?

后端 未结 5 582
一向
一向 2020-12-14 15:23

I press Ctrl+Shift+B to start a build in Visual Studio Code (it\'s configured to just run GNU Make), and the build tool out

5条回答
  •  误落风尘
    2020-12-14 15:55

    If you control the build task yourself, it's easy to prepend a clear command:

    "tasks": [
        {
            "label": "build",
            "type": "shell",
            "command": "clear && make",
    ....
    

提交回复
热议问题