Connecting Tech Pros Worldwide Forums | Help | Site Map

Visual Studio: keybaord settings

Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,105
#1: Nov 6 '08
I'm using Visual Studio 2008 and my keyboard settings for one of my solutions is set up so that its French.

This is particularly annoying when I'm trying comment and I get a "è" instead of a ' or when I'm trying to use the < key and get a , instead.

I have no idea how this setting was changed and don't know how to change it back.

The weird thing is it's only happening in 1 project and none of the others seem to be affected by this strangeness.

I've checked my Windows Language settings and everything's set to English-US.

Does anyone know how to fix this?


Thanks

- *frustrated* Frinny
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#2: Nov 6 '08

re: Visual Studio: keybaord settings


One project or one solution?
I thought maybe inside the project or solution files there would be a language setting, but I did not see any in mine.

In your assemblyinfo.cs file, is this attribute set to something?
[assembly: AssemblyCulture("")]
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,105
#3: Nov 6 '08

re: Visual Studio: keybaord settings


Quote:

Originally Posted by Plater

One project or one solution?
I thought maybe inside the project or solution files there would be a language setting, but I did not see any in mine.

In your assemblyinfo.cs file, is this attribute set to something?
[assembly: AssemblyCulture("")]


I tried that...didn't change anything.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#4: Nov 6 '08

re: Visual Studio: keybaord settings


Do you have the language bar enabled on the desktop or anything funky like that?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,105
#5: Nov 6 '08

re: Visual Studio: keybaord settings


Quote:

Originally Posted by Plater

Do you have the language bar enabled on the desktop or anything funky like that?

I found it!
Finally!

To fix the problem I did the following:
  • Tools menu -> Options
  • Check "Show all Settings"
  • Environment -> International Settings
  • Click on the drop down box (there was only one language listed here for me: "English")
  • Restart Visual Studio

I still don't know what happened to change this but I'm glad I'm able to add comments again :)

-Frinny
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#6: Nov 6 '08

re: Visual Studio: keybaord settings


Hmm, I don't have a "show all settings", they were all already there.
Good to know where that is the next time I want to prank another developer :-D
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,105
#7: Nov 7 '08

re: Visual Studio: keybaord settings


Quote:

Originally Posted by Plater

Hmm, I don't have a "show all settings", they were all already there.
Good to know where that is the next time I want to prank another developer :-D

Its at the bottom of the Options window.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#8: Nov 7 '08

re: Visual Studio: keybaord settings


All I got is ok/cancel buttons?
Attached Thumbnails
optionsdialog.jpg  
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,105
#9: Nov 7 '08

re: Visual Studio: keybaord settings


Quote:

Originally Posted by Plater

All I got is ok/cancel buttons?

What version of VS are you using?
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#10: Nov 7 '08

re: Visual Studio: keybaord settings


I checked both VS 2008 and VS 2005, their options dialogs looked the same
joedeene's Avatar
Site Addict
 
Join Date: Jul 2008
Location: US of A
Posts: 587
#11: Nov 7 '08

re: Visual Studio: keybaord settings


I have a "Show All Settings" Check Box in Visual C# Express 2008.

joedeene
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,105
#12: Nov 7 '08

re: Visual Studio: keybaord settings


Quote:

Originally Posted by Plater

I checked both VS 2008 and VS 2005, their options dialogs looked the same

Hmm I see the Ok and Cancel buttons on the right side of the Options dialog, and on the left side I see a check box labled "Show All Settings".

Strange.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#13: Nov 7 '08

re: Visual Studio: keybaord settings


Do you have the standard or professional addition? I use the professional one, and when you first run and it asked "how do you want the environment to look" i chose no specific profile
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,105
#14: 2 Weeks Ago

re: Visual Studio: keybaord settings


I just figured out why my keyboard kept getting switched to French.

I am Canadian and in Canada we have 2 official languages (French and English).

My Windows regional settings are configured for Canada. This means that Windows makes 2 keyboards available by default: an English (US) Keyboard, and a French Keyboard.

For Windows, by default, the "switch keyboards" shortcut key stroke is: Shift + Alt.

Guess what the shortcut key for undo is in Visual Studio 2008?

Shift + Alt + backspace

What the #@%$ where they thinking when the changed the undo shortcut keystroke from CTRL + Z to Shift + Alt+Backspace.

Gurr!

I removed the French keyboard from my keyboards...hopefully I Never see this error ever again.

I could have changed the keystroke sequence for switching keyboards to something else but I wanted to make sure I never have a French keyboard to accidentally switch to on any dev machine.

*Annoyed*

-Frinny
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#15: 2 Weeks Ago

re: Visual Studio: keybaord settings


I had no recollection of this conversation.

I am a fan of sticking to ctrl+z and ctrl+y for undo/redo myself.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,105
#16: 2 Weeks Ago

re: Visual Studio: keybaord settings


Yeah, what's really weird about this is now that I have removed the French keyboard I get to use CTRL+Z again.

..................
Reply