Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Oct 12 '09 at 2:40

This question came from our site for professional and enthusiast programmers.

    
Nice question for superuser.com. :-) –  Franci Penov Oct 12 '09 at 2:10
    
Well, you could use a mac... –  dmckee Oct 12 '09 at 2:40
    
For me, moving the mouse away is a reflex I don't even think about. (that is, until I stopped using regular editors and started using vim) –  hasenj Oct 12 '09 at 7:08

3 Answers 3

up vote 1 down vote accepted

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.

share|improve this answer
    
I have doubts whether such a forceful method is correct in all situations. The cursor's disappearing whenever any key is typed can for example be very annoying with games. –  harrymc Jan 8 at 7:06
    
In that case you can just unload it during a game... that said, I believe most games implement their own cursor –  Stefan Z Camilleri Feb 23 at 15:15

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.

share|improve this answer
    
This is an incorrect assumption though, since if you hide the cursor at an OS level, it will remain hidden, voiding the idea of forcing the cursor to show (which would override it) - pls see my answer below –  Stefan Z Camilleri Jan 7 at 22:41

I know this isn't probably a viable solution for you but I like to not use the mouse at all by having key bindings for everything within the IDE. I can jump from pane to pane, error to error etc without having to touch the mouse. Also if your classes are nice and small, you won't have to be scrolling up and down classes too much (and even if you had to the arrow keys would suffice).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.