Assign Mouse Buttons in Visual Studio 2008

£可爱£侵袭症+ 提交于 2019-12-05 16:48:52

问题


Does anyone know how to bind extra mouse buttons to commands in visual studio 2008? There used to be a "powertoy" that let you do it for visual studio 2003, but I can't find an equivalent for 2008.


回答1:


While AutoHotKey was interesting, it doesn't really do what I want to do, which is map buttons to keys in an application-specific context.

I ended up finding this add-in: http://www.codeproject.com/KB/macros/MouseNavi.aspx

which I just modified and threw into the AddIns directory for Visual Studio.




回答2:


AutoHotkey




回答3:


For anyone still looking for a solution that will work in any version of Visual Studio (as I was), I found X-Mouse Button Control.

You can map your commands to whatever keyboard shortcut you like and then use X-Mouse Button Control to send those keystrokes only to devenv.exe.

First you'll have to add an application profile for devenv.exe. Then, to map the keystrokes, just select "Simulated Keys" in the dropdown box next to the mouse button you want. Follow the prompts to set the keystrokes, and you're all set.




回答4:


MSDN



来源:https://stackoverflow.com/questions/578675/assign-mouse-buttons-in-visual-studio-2008

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!