Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

100 characters line marker in Visual Studio [duplicate]

Possible Duplicate:
Adding a guideline to the editor in Visual Studio

Is there a way to display a vertical line at 80 or 100 characters in the editor of Visual Studio?

I know it is possible in Eclipse and coudn't find it in VS.

This vertical marker line help seeing when to break a line of code for people that do not go over 80 or 100 characters per line of code.

I am a Java developer that currently develop in C#, my habbit may not correspond to C# style guide.

Thanks in advance.

like image 846
Pierre-Antoine Avatar asked Mar 27 '12 17:03

Pierre-Antoine


1 Answers

If you are using VS 2010, you can install the Productivity Power Tools extension, which provides this functionality.

The feature you're looking for is called "Column Guides". The PPT website states:

Simply place the cursor at the appropriate column and select Add Guideline from the context menu

like image 122
Cristian Lupascu Avatar answered Oct 04 '22 19:10

Cristian Lupascu