Closed Colengms closed 1 month ago
Can you try the "cmake.revealLog"
setting and see if that does what you want?
@bobbrow @Colengms This doesn't seem to work too well for this problem, I open the project after turning the option to never and it still automatically opens the output window of cmake/build. Please let us know if it is wrong. Thank you!
Hi @Yingzi1234 . VS Code appears to recall the output channel it was previously set to and restores it on relaunch. It takes a moment for CMake Tools to create the channel, so it might switch away from what would otherwise be the default channel (Tasks?).
"cmake.revealLog": "error"
works well for me. Closing.
Currently, when automatically configuring on open, CMake Tools activates it's output panel. In the process of debugging the C/C++ Extension, I'm often trying to investigate issues at start-up, trying to view the C/C++ output panel. It would be great if there were some way to prevent CMake Tools from switching my output channel selection, yet still configure as expected.
Perhaps this could even be an undocumented setting that is applied only when extensions are running in a debug session? (I think that can be determined using
vscode.env.sessionId
).