How to setup automatic Word Wrap in the Visual Studio Editor ?

By | April 23, 2011

In Visual Studio Code editor you can set the  Word wrap option which will automatically adjust long line of code in multiple lines based on the editor view area. This simple settings can be done from Visual Studio Tools > Options area. When this option is selected, based on the current editor width, if the portion of a long line extends then the extended code will automatically come on the next line. By default this option is not selected, on that case you need to scroll the code editor to view the complete code block.

To Setup in Visual Studio, Navigate Tools > Options > All Languages . Now in right side, “Settings” > Select Word Wrap.

image

Above setting will apply the word wrapping for all the languages. If you want to set up for your favorites code editor. You can do it for language specific editor as well.

image

Now, you have must noticed that, Along with Word Wrap, there is an another check box  “Show Visual Glyphs for word wrap” . What does it means ? Well you can unchecked that as well. But the benefit of that selection is, you will get an icon highlight  with return-arrow indicator where a long line wraps onto a second line.

image

One thought on “How to setup automatic Word Wrap in the Visual Studio Editor ?

  1. Pingback: How to setup automatic Word Wrap in the Visual Studio Editor … | Learn Visual Studio

Comments are closed.