I have been using Ctrl+E,D to arrange my codes in VS 2008 (C#),
Some days ago I installed a C# component, since then Ctrl+E,D doesn't work anymore !

Would you please guide me, how I can fix it ?

link|improve this question

Which C# component, if it seems linked to that? – Gnoupi Jan 25 '10 at 8:24
feedback

3 Answers

up vote 2 down vote accepted

You can customise the Autoformat key chord.

Tools, Customise, "Keyboard..."

Then enter customise "Edit.FormatSelection" for the default editor scheme;

Options dialogue

link|improve this answer
Great, Thanks a lot. – Mohammad Jan 31 '10 at 11:22
feedback

To restore the old keyboard mapping, go to Options->Environment->Keyboard->Apply the following additional keyboard mapping scheme and choose Visual C# 2005

link|improve this answer
feedback

Auto formatting?

Ctrl+K,Ctrl+F

Or

Edit -> Advanced -> Format Selection
link|improve this answer
Thanks, What about Ctrl+E,D . How can I restore it ? because I accustomed to it ;) – Mohammad Jan 25 '10 at 9:33
Tools, Customise, Keyboard, select default scheme, enter "Edit.FormatSelection", add shortcut key. I'll add another answer with a picture ^^ – RJFalconer Jan 30 '10 at 22:47
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.