Solved

Shift key stops working in Visual Studio 2010 code pane

Posted on 2011-02-23
10
544 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
ID: 34969366
Do you have any VS.NET 2010 extensions installed?
0
 

Author Comment

by:ou81aswell
ID: 34979839
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
ID: 34983453
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:ou81aswell
ID: 34986126
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
ID: 34986131
I meant to assign points to TheLearnedOne and not to myself.
0
 

Author Closing Comment

by:ou81aswell
ID: 34986132
Turned out to be not related to VS 2010.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 34987616
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
ID: 34989482
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
ID: 34991439
Thank you very much!!  That'll teach me not to ignore an annoying problem!!
0
 

Author Comment

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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

809 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