Is there any way to make Visual Studio word-wrap at 80 characters? I'm using VS2008.
+3
A:
Tools >> Options >> Text Editor >> All Languages >> General >> Select Word Wrap.
I dont know if you can select a specific number of columns?
TGnat
2008-10-25 14:56:24
+10
A:
I don't think you can make VS wrap at 80 columns (I'd find that terribly annoying) but you can insert a visual guideline at 80 columns so you know when is a good time to insert a newline.
Details on inserting a guideline at 80 characters for 3 different versions of visual studio.
Stewart Johnson
2008-10-25 15:10:27
Alternative link: http://stackoverflow.com/questions/84209/adding-a-guideline-to-the-editor-in-visual-studio
user9876
2010-03-12 11:34:56
+2
A:
Unless someone can recommend a free tool to do this, you can achieve this with ReSharper:
ReSharper >> Options... >> Languages/C# >> Line Breaks and Wrapping
- Check "Wrap long lines"
- Set "Right Margin (columns)" to the required value (default is 120)
Hope that helps.
hmemcpy
2008-10-26 22:45:16
+1
A:
To do this with Visual Assist (another non-free tool):
VAssistX >> Visual Assist X Options >> Advanced >> Display
- Check "Display indicator after column" and set the number field to 80.
pydave
2009-03-23 23:21:05