Home > Tutorial > Visual studio tips and tricks > How to manage word wrap in visual studio?

How to manage word wrap in visual studio?

Email | Print
In code behind area, we may have a lengthy code or user comments, suppose if you want to see that long line in the visual studio tool then we need to scroll to the right side to view entire long lines. To avoid this scroll, we have a word wrap option in a code editor.



The above screen shot shows long lines, need to scroll right side to view entire lines and below screen shots displays long lines in the next line with arrow image on right side.



Follow below steps to configure the word wrap option in the visual studio.

1. Shortcut key :
Press -> Ctrl + E + W to set word wrap and clear the word wrap
2. Using Menu
a. Go to Tools menu
b. Select Options
c. Then click Text Editor -> select All Languages
d. On the right side check Word wrap and Show visual glyphs for word wrap (To display arrow image, that indicates the second line) under Settings option
e. Click Ok.



« How to compile .Net code using shortcut keys | Cycle Clipboard Ring feature in Visual studio »
Like this tutorial? Bookmark and Share:

Latest Posts