Code editor loses focus when dotcover runs dirty tests Follow
I have setup dirty test discovery and running on save, using visual studio build. Unfortunately, when I press ctrl+s, VS sets focus on Error list window.
This means that if I want to continue typing I have tab around or click to continue typing.
I tried using Resharper build, it helped, but this option had it's own problems.
Please sign in to leave a comment.
Do you mean VS Error list window? Or maybe VS Output window?
Then disabling Options -> Projects and Solutions -> Show Output window when build starts setting in VS options should help you.
It's the Error List window that gets the focus:
I tried different combinations of option you suggested and "Always show Error List..." option in the same tab. The only difference is when "Show Output window" is enabled, focus jumps to Output window instead of error list. I couldn't find any other options to disable Error list.
So far I'm resorting on running builds manually instead of using dotCover. I hope it get's fixed in future releases or I miraculously manage to find what's causing the problem in Visual Studio.
Unfortunately, we can't reproduce the problem on our side.
Could you please us with the exact R# and VS versions which you use? Also, it would be very helpful if you create a video screencast (you may use free tool http://www.techsmith.com/jing.html) which will demonstrate the issue.
I was having the same issue today but quickly realized the issue was caused by one of my other extensions. In my case, BuildVision was moving the focus to a different window, causing it to disturb the continuous testing workflow.