-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hello,
I am currently toying with OpenCppCoverage (which is wonderful, and even more so the presence of a Visual Studio plugin! thank you everyone involved!) and have feedback to make. When I run the plugin at the end of my process it is stopping on a "Press any key to continue..." prompt:
[info] ----------------------------------------------------
[info] Coverage binary generated in file: C:\Users\Omar\AppData\Local\Temp\quxkwpsz.lxv
[info] ----------------------------------------------------
Press any key to continue...
Which ironically seems to requires a Enter press to continue (other keys don't work).
I find this prompt extremely annoying as it prevents me from running OpenCppCoverage quickly and seeing the result in Visual Studio immediately.
I have noticed this was added intentionally as part of the main package to support the plugin mode:
https://github.com/OpenCppCoverage/OpenCppCoverage/blob/2e280a5bda2d67789d6b60f8f8c0de6038a41314/OpenCppCoverage/OpenCppCoverage.cpp#L200
if (options->IsPlugingModeEnabled())
{
std::cout << "Press any key to continue... ";
std::cin.get();
}
My request/suggestion would be to add a checkbox on the plugin side to disable this prompt.
The prompt seems tied to the --plugin
command-line argument which appears to only be used for that specific thing at the moment.
Regards,
Omar