logo
CSharp_Prog_Guide

Подчеркивание волнистой линией

Подчеркивание волнистой линией позволяет увидеть ошибки в коде по мере набора. Подчеркивание красной волнистой линией говорит о синтаксической ошибке, такой как отсутствие точки с запятой или одной из пары фигурных скобок. Подчеркивание зеленой волнистой линией означает потенциальное предупреждение компилятора, а линия синего цвета – ошибку компилятора. На следующем рисунке показано подчеркивание красной волнистой линией.

---------

Readability Aids

Code Formatting

The C# code editor automatically formats code when you press the ; or } key, or when you paste code into the editor. To manually invoke code formatting, click the Format Document or Format Selection from the Edit, Advanced menu. You can change code formatting behavior by modifying options in the Formatting, C#, Text Editor, Options Dialog Box and the Advanced, C#, Text Editor, Options Dialog Box.

Outlining

The Code Editor automatically treats namespaces, classes, and methods as regions that you can collapse in order to make other parts of the source code file easier to find and read. You can also create your own collapsible regions by surrounding code with the #region and #endregion directives.

Colorization

The editor gives different colors to the various categories of identifiers in a C# source code file. For more information, see Code Colorization.