vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

add option to reveal output panel only when an error occurs

Open scarf005 opened this issue 2 years ago • 8 comments

Brief Issue Summary

  • when editing CMakeLists.txt, the extension automatically reconfigures cmake
  • it also forcibly switches panel into output
  • it would be great to have an option to disable such behavior

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

image before editing CMakeLists.txt, right panel on terminal image after editing CMakeLists.txt, right panel on output

scarf005 avatar Apr 25 '22 06:04 scarf005

The option exists. Try using "cmake.revealLog": "never" and let us know if that provides the functionality you are looking for. Thanks!

bobbrow avatar Apr 26 '22 16:04 bobbrow

Related: #1675

bobbrow avatar Apr 26 '22 16:04 bobbrow

"cmake.revealLog": "never"

Thank you, this option worked. However it lacks a description, would be great to have one. image

scarf005 avatar Apr 26 '22 22:04 scarf005

It would be nice if the log was only revealed if exit code != 0

nathan-gage avatar Apr 28 '22 01:04 nathan-gage

It would be nice if the log was only revealed if exit code != 0

This is great if we have option "reveal on error". Or at least we can show build status (success/failed) on status bar or notification

tuanpt-0634 avatar Oct 11 '22 02:10 tuanpt-0634

How about use "cmake.configureOnEdit": false.

wngtk avatar Apr 04 '23 12:04 wngtk

How about use "cmake.configureOnEdit": false.

Does not solve the problem, because CMake should still be configured. We just don't want to have to watch the configuration every time (unless an error occurs).

mhrstmnn avatar Mar 21 '24 14:03 mhrstmnn