How can I toggle word wrap in Visual Studio?

visual-studio, word-wrap

Solution

Following Manage word wrap in the editor:

When viewing a document: Edit / Advanced / Word Wrap (Ctrl+E+W)

General settings: Tools / Options / Text Editor / All Languages / Word wrap

Or search for 'word wrap' in the Quick Launch box.

Known issues:

If you're familiar with word wrap in Notepad++, Sublime Text, or Visual Studio Code, be aware of the following issues where Visual Studio behaves differently to other editors:

- Triple click doesn't select whole line

- Pressing End key twice does not move cursor to end of line

If you'd like these bugs fixed, please vote for the feature request Fix known issues with word wrap.

Problem

Does Visual Studio .NET have a way to toggle word-wrap on and off? I am used to this feature in Eclipse which allows you to right click and toggle word wrap on and off so that when you have long lines that extend out to the right, you don't have to move the bottom scroll bar right and left to read your code/html: http://web.archive.org/web/20131027224437/http://ahtik.com:80/blog/2006/06/18/first-alpha-of-eclipse-word-wrap-released/

Original source

Related problems