Visual Studio 2010 - Text cursor disappearing

I'm just editing .cs usual classes and my text cursor is often becoming usual cursor. This doesn't make VS useless, but is pissing me off.

There is some hock to restart the cursor without need to close and reopen VS?

I'm developing a MVC C#4 project if it helps.

Thanks in advance.


Solution 1:

I think I figured out what the problem is. When editing HTML with links on the page, pressing control and hovering over the links then going back makes the IBeam (text cursor) permanently disappear. Luckily this is on a per file basis so simply reloading the file will fix the problem. I wish there was some way of fixing it but I haven't yet found a way.

Solution 2:

I was struggling with this too, until I saw Dave's answer; it ticked me off because it seemed like something I've seen before, so I looked into VS settings, and sure enough I found something that may help. It's not so much a fix as it's a workaround though:

  • On the menu, go into Tools / Options... ;
  • Navigate the settings tree to Text Editor / HTML ;
  • On the main / general node, on the "Display" section, uncheck "Enable single-cick URL Navigation".

Just for kicks, I did the same on the CSS and JScript nodes too, because that's not really a useful feature for me, so as far as I'm concerned, it works as a fix for me :-)

Solution 3:

This happens to me too sometimes, but I've noticed it's on a per file basis. I've found that simply closing the offending tab and then reopening the file fixes it without having to restart VS, it's still annoying though. I've yet to discover a fix for it, or what causes it.