Sunday, July 5, 2009

Double quotes problem in Windows 7

EDIT: Due to big popularity of this post, let me put the solution on top:

If you have a problem with quotes in Windows 7, try to switch the keyboard layout from "United States - International" to "US"
After changing the keyboard layout, you may need to restart your programs or the computer.

ORIGINAL POST:

After installing Windows 7 and Visual Studio 2008, I discovered the following behavior in the code editor:
Pressing the double-quote (") key once would have no effect.
Pressing any key after that would produce both the double quote character and the next character.

The problem was not caused by Visual Studio, but by regional settings - I solved it by switching from "United States - International" to "US" keyboard layout.

Labels: , ,