Programming productivity: How to hide cursor while typing

Whenever I click somewhere to type some code, by definition that's exactly where my mouse cursor is, which is obscuring what I'm trying to type. Often, if I forget to move the cursor away before starting to type, I'll find myself moving my hand from my keyboard back to my mouse just to move the cursor out of the way and then go back to typing.

I know that there is an OS-level "hide cursor while typing" option, but that seems to have no effect in Visual Studio.

Also, I know of utilites that can run constantly in the background (I.e. CursorHider), but, for stability reasons, I'm hesistant to run yet another background service on top of the many that are already running.

Is there a solution?


Solution 1:

Like you, I've had this problem forever. So I have written a little script that hides the mouse cursor no matter what Windows application you are using.

Note that if you run Visual Studio (or anything) in elevated mode, you'll need to run my utility also in elevated mode.

Solution 2:

It seems like the functionality of "hide pointer while typing" depends on the application.

This option is ticked in my mouse's pointer options, and does work for applications such as notepad, wordpad, Word and Visual Studio 6. But it doesn't work for other applications, like Firefox and Visual Studio 2008.

I believe that the applications where this doesn't work are wrongly programmed to show the cursor repeatedly. As a programmer, I can tell you that programming the cursor in Windows is a big mess, where finally the only way to keep sane is to repeatedly reconstitute the cursor upon certain events. Evidently, the programmers behind Visual Studio 2008 have taken the same shortcuts.