Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know… You can bind macros to keyboard shortcuts (or how to quickly increase / decrease your text editor font size) - #242

This was tip #21, my final tip, for the TechEd VS 2008 IDE Tips and Tricks talk.

If you go to Tools – Options – Environment – Keyboard and in the Show Settings For edit box, type in “Macro”, you’ll see a list of “samples” right at the top.  I wrote the Accessibility macros, my 133 line contribution to the Visual Studio 2005 product, which you’ll also find in VS 2008.

There are two Accessibility macros worth noting, the Increase and Decrease Text Editor Font Size.

Accessibility macros in Tools Options Keyboard settings

If you are using the General Development Settings and do not want to cause any conflicts with other keyboard shortcuts, bind the Increase macro to Ctrl+Alt+Shift+Up arrow, and the Decrease macro to Ctrl+Alt+Shift+Down arrow.  of course you can bind them to whatever shortcut you want, but these will not have conflicts using general development settings.

Now open the editor and try out the keyboard shortcuts.  Remember that you have to hold down the “Ctrl+Alt+Shift” keys and hit the up or down arrow repeatedly to really experience the full effect.  Enjoy!

Technorati Tags: ,
Posted: Friday, June 20, 2008 3:00 AM by saraford

Comments

Antonio said:

Thank you! Thank you! THANK YOU!!!!!!!!

# June 20, 2008 9:29 AM

Mark said:

I do not have the samples.. ?  :/

# June 22, 2008 8:44 PM

Mark said:

Nevermind, I found them in the 2005 folder

# June 22, 2008 9:02 PM

John Stagich's Blog said:

Sara Ford Tips and Tricks News

# August 27, 2008 3:23 PM

xjb said:

# January 8, 2009 8:25 PM

xjb said:

# January 10, 2009 5:20 AM
New Comments to this post are disabled
Page view tracker