Solved

Shift key stops working in Visual Studio 2010 code pane

Posted on 2011-02-23
10
536 Views
Last Modified: 2012-06-27
From time to time, while working in the code editor of Visual Studio 2010, the shift key stops working for certain keys. For example, Shift + . (dot) should produce a greater than symbol (>) but today it refused to recognize the shift and insisted on typing a dot. I also noticed that when I pressed the single quote (') key nothing happened until I pressed another key. Pressing a single quote again resulted in two back=quote characters (``)

It's almost as if I mistakingly hit a key combination that puts the keyboard in international language mode or something. My culture is set to en-CA.

If I switch to an other program, the keyboard works as I would expect.

Is there a keystroke combination I can use to reset the keyboard. Currently, I have to exit VS 2010 and restart to get the keyboard to behave.

Thanks.
0
Comment
Question by:ou81aswell
  • 6
  • 4
10 Comments
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
Do you have any VS.NET 2010 extensions installed?
0
 

Author Comment

by:ou81aswell
Comment Utility
Not that I am aware of. I believe it to be a pretty stock install. How can I check?

0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
Comment Utility
The menu option is Tools | Extension Manager...

I have seen some extensions mess with the code window, but I haven't heard of the problem that you have described.
0
 

Author Comment

by:ou81aswell
Comment Utility
Extension manager indicates that there are no extension installed.

I just noticed this behaviour in a completely separate program and so it must have something to do with Windows 7 and not VS 2010.

Thanks for your help. I'll award the points to you and the repost this question in a Windows related area.
0
 

Author Comment

by:ou81aswell
Comment Utility
I meant to assign points to TheLearnedOne and not to myself.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Closing Comment

by:ou81aswell
Comment Utility
Turned out to be not related to VS 2010.
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
You know, I just noticed that I have the same behavior, and I just ignored it for a long time, and I have Windows 7.  I would be interested to know what you found out.
0
 

Author Comment

by:ou81aswell
Comment Utility
I got an answer by creating a thread in the Windows OS section.

It is related to switching the input language on machines with multiple input languages installed.

I must have mashed the keys (I do that often). Here are the keystrokes:

Left Alt+Shift - Switch the input language when multiple input languages are enabled

Ctrl+Shift - Switch the keyboard layout when multiple keyboard layouts are enabled

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Q_26849478.html?cid=239#a34986315
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
Thank you very much!!  That'll teach me not to ignore an annoying problem!!
0
 

Author Comment

by:ou81aswell
Comment Utility
I ignored it for a few months as it only happens once a week or so!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now