Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the Word Wrap shortcut in Visual Studio 2010?

Where is the word-wrap icon to toggle back and forth in Visual Studio 2010? I want it in the toolbar or have a shortcut for it.

I see the option in the tools dialog box, but I switch back and forth constantly. I shouldn't have to dig through deep options to toggle this option on and off. Most editors have this option, but for some crazy reason, I can't find it in Visual Studio here...

Any help would be greatly appreciated. I can't find a solution online, and word wrap isn't even showing up in the program's help menu.

like image 760
creativeedg10 Avatar asked Apr 30 '11 12:04

creativeedg10


1 Answers

You can add the word wrap to any toolbar or menu via the Customize functionality in Visual Studio. You need to use the Edit > Toggle Word Wrap command. Here's how you can add it to a new toolbar.

  1. Right-click the toolbar and click Customize in the menu.
  2. In the Customize dialog click on the new button to create a new toolbar.
  3. Give the toolbar a name and click OK.
  4. Click on the Commands tab and click on the Toolbar radio button, then select the toolbar you just named.
  5. Click on the Add Command button.
  6. The Add Command dialog will appear and select the Edit selection in the Categories list box. Then select the Toggle Word Wrap command in the Commands List Box. Click OK to close the dialog.
like image 169
Jorriss Avatar answered Sep 23 '22 07:09

Jorriss