Remove a keyboard shortcut binding in Visual Studio using Macros?

I have coped with the same issue. I use a macro to assign key bindings for a set of align macros.

I have coped with the same issue. I use a macro to assign key bindings for a set of align macros. Dim NewBindings() = {"Global::Alt+="} DTE.Commands.

Item("Macros.Dev.AlignUtils. AlignEquals"). Bindings = NewBindings NewBindings(0) = "Global::Alt+Num -" DTE.Commands.

Item("Macros.Dev.AlignUtils. AlignMinus"). Bindings = NewBindings ... And to remove key bindings I use the following statements : Dim DelBindings() = {} DTE.Commands.

Item("Macros.Dev.AlignUtils. AlignPlus"). Bindings = DelBindings It works fine under Visual Studio 2005.

Just what I was looking for -- thanks! – pettys Jul 7 '10 at 14:19.

You do not need to change it with macro, Just go to Menu>Tools>Options -- Keyboard and then select what you want to change the shortcut from the dropdown and assignyour desiered short cut.

1 for not reading the question – Sky Sanders Feb 24 '10 at 8:55 I read it and completely underestand what you want to do. But I never found a solutionfor thatWhen I wanted to do someting like you. Note that VS replace newver shortcut with previous ones .

So if you are creating a new short cut it will override the previous one and the previous one take a new short cut. And you can not find a way to getinformation about new keys whichgenerated for old one. You just can change the old one with the wayI mentioned if you want to stay informed about old ones.

– Nasser Hadjloo Feb 24 '10 at 9:04 Well, if you read the question, you certainly did not understand it. My entire point is that I want to avoid going to the options menu, when every other option is set by a macro. – Pete Feb 24 '10 at 10:21 ok, then, -1 for not understanding that an answer should be at least somewhat relevant to the question.Wtf.

– Sky Sanders Feb 24 '10 at 19:58.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions