开发者

Where is the Word Wrap shortcut in Visual Studio 2010?

开发者 https://www.devze.com 2023-03-02 11:39 出处:网络
Where is the word-wrap icon to toggle back and forth in Visual Studio 2010? I want it in the toolbar or have a shortc开发者_StackOverflow中文版ut for it.

Where is the word-wrap icon to toggle back and forth in Visual Studio 2010? I want it in the toolbar or have a shortc开发者_StackOverflow中文版ut 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.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消