Visual Studio 2005 Keyboard Locks Up
I've been using Visual Studio 2005 for the last months without many problems. Last week during the CodeCamp the keyboard totally locked up. Brad Wilson said that this was a totally known bug.
Now, suddenly I can't run Visual Studio 2005 Beta 2 for more than 30 seconds without the editor becoming completely unresponsive to the keyboard. Certainly this is a weird bug, but the weirdest thing, to me, is that it started suddenly and now the whole environment is totally unusable. I mean, I've used Beta 2 to every day since it was released and this keyboard thing JUST started.
It's totally soured me. It may be related to the AutoHide Windows. The VS Editor Blog confirms it. Madness.
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
I've got a really ugly workaround by deleting the profile folder Application Data\Microsoft\VisualStudio\8.0 under your homedir. This seems to clear the problem up for a bit -- although lately the problem happens every time I start VS.
Ugly automated hack fix: Delete the profile folder. Restart VS, open a project and get all your windows and settings shiny, export your settings off somewhere if you'd like, close VS, then make a copy of that profile folder. Write a batch file to delete the VS folder and copy over the saved path:
rmdir /s /q "C:\Documents and Settings\Jim Admin\Application Data\Microsoft\VisualStudio\8.0\"
xcopy /s /e "C:\Documents and Settings\Jim Admin\My Documents\VS 8.0 Backup Settings" "C:\Documents and Settings\Jim Admin\Application Data\Microsoft\VisualStudio\8.0\"
(Make sure to close that target path with the trailing slash to avoid the annoying "Do you want to copy this entire directory structure to a single file?" idoicy.)
Now link that batch file to a SlickRun magic word and the world will be a moderately happy place. OK, not really close to moderately happy, but at least you can get a bit of a workaround.
Opening one of the AutoHide windows, and pressing Ctrl-Enter clears it.
http://luifit.net/blogs/jluif/PermaLink.aspx?guid=5519e3e7-7e4e-4651-94f0-2764cdc8072f
"net use * /d" would solve the problem instantly.
Not entirely related, but almost as annoying..
I get this about 3-4 times a day as well and it does get annoying. Just ran into it again and opened one of my autohide windows, hit Ctrl+Enter and it unlocked my keys.
Thanks for helping clear up that headache.
devenv /resetuserdata
will fix this problem when it occurs.
This appears to be reported already as ID FDBK30770 ("Unable to edit files in the text editor"). It says it is fixed, so hopefully in newer releases it will be gone.
Thanks,
-Dan
Comments are closed.
I would have loved to attend the Portland CodeCamp, only I found out about it too late. I think it's a great idea and was surprised at the breadth of topics covered. Count me in for the next one!