In Visual Studio, how to visualize the length of a line of code for non-test code?

I am using recommendations right now, but I don’t think there is any way to disable them for certain projects (my project with tests).

In general, how do you reconcile the long names of descriptive test methods with a string length limit for non-test code (both of which, I think, are good)? If you feel the same and decide this, what solution do you use?

+3
source share
3 answers

We achieve this by reducing the line length limit for all of our projects that were not developed in the 1980s green screen environment. Instead, we use the full power of 21st century high-resolution LCDs, bitmap modes, and powerful IDEs to make source code descriptive and easy to maintain, and then designed to fit into the screen and memory measured in KB

(And then we beat a guy protecting the string length limits and three letter variable names with a pointed pen)

+6
source

Drop the line length policy.

If you still want to insist on column tracking, try adding to the registry if you are using Visual Studio

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Text Editor] "Guides"="RGB(192,192,192) 110"

RGB, , , 110 , .

Visual Studio, , , IDE : alt text http://blogs.msdn.com/photos/shawnfa/images/659277/637x480.aspx

+7

, . , .js - !

Visual Studio - . , - 80 120 . , - , , .

+2
source

Source: https://habr.com/ru/post/1717752/


All Articles