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

后端 未结 5 569
一向
一向 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 16:04

    I tried to find a solution but can't. Simple hack I tried is to open new build in new tab. Add this presentation key to your task in tasks.json

     "presentation": {
                    "echo": true,
                    "reveal": "never",
                    "focus": false,
                    "panel": "new"
                }
    

    panel:new will open in new terminal.

提交回复
热议问题