microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.43k stars 430 forks source link

FR: support the terminal.integrated.automationProfile.* when launch target without debug #3756

Open leolcao opened 1 month ago

leolcao commented 1 month ago

Brief Issue Summary

Currently, it seems cmake tools use the vscode default integrated terminal to launch the target without debug, I set the

"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.automationProfile.windows": {
    "path": "C:\\Windows\\system32\\cmd.exe"
  }

The idea is want to improve the launching terminal speed since I have powershell settings to make lanuching powershell is quite slow than cmd.

So, shall cmake tools suport to use the automationProfile setting? It may be a new bool setting to switch using of defaultProfile and automationProfile.

Or, cmake tools already provide some workaround for this idea? I didn't find the way after some study.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response