Where is the Word Wrap shortcut in Visual Studio 2010?

后端 未结 2 1098
灰色年华
灰色年华 2020-12-29 19:18

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

相关标签:
2条回答
  • 2020-12-29 19:53

    In the default keyboard mapping scheme the Edit.ToggleWordWrap command has the shortcut Ctrl+E, Crtl+W predefined for the Text Editor.

    0 讨论(0)
  • 2020-12-29 20:06

    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.
    0 讨论(0)
提交回复
热议问题