You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the **Advanced** options page to modify the settings for editor formatting, code refactoring, and XML documentation comments for C#. To access this options page, choose **Tools** > **Options**, and then choose **Text Editor** > **C#** > **Advanced**.
24
19
25
20
> [!NOTE]
26
-
> The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose **Import and Export Settings** on the **Tools** menu. For more information, see [Personalize the Visual Studio IDE](../../ide/personalizing-the-visual-studio-ide.md).
21
+
> Not all options may be listed here.
27
22
28
23
## Analysis
29
24
30
25
- Enable full solution analysis
31
26
32
27
Enables code analysis on all files in the solution, not just open code files. For more information, see [Full solution analysis](../../code-quality/how-to-enable-and-disable-full-solution-analysis-for-managed-code.md).
33
28
34
-
- Perform editor feature analysis in external process (experimental)
35
-
36
-
## Using Directives
37
-
38
-
- Place 'System' directives first when sorting usings
39
-
40
-
- Separate using directive groups
41
-
42
-
- Suggest usings for types in reference assemblies
43
-
44
-
- Suggest usings for types in NuGet packages
45
-
46
29
## Highlighting
47
30
48
31
- Highlight references to symbol under cursor
49
32
50
33
When the cursor is positioned inside a symbol, or when you click a symbol, all the instances of that symbol in the code file are highlighted.
51
34
52
-
- Highlight related keywords under cursor
53
-
54
35
## Outlining
55
36
56
37
- Enter outlining mode when files open
57
38
58
39
When selected, automatically outlines the code file, which creates collapsible blocks of code. The first time a file is opened, #regions blocks and inactive code blocks collapse.
59
40
60
-
- Show procedure line separators
61
-
62
-
- Show outlining for declaration level constructs
63
-
64
-
- Show outlining for code level constructs
65
-
66
-
- Show outlining for comments and preprocessor regions
67
-
68
-
- Collapse #regions when collapsing to definitions
69
-
70
-
## Fading
71
-
72
-
- Fade out unused usings
73
-
74
-
- Fade out unreachable code
75
-
76
-
## Block Structure Guides
77
-
78
-
- Show guides for declaration level constructs
79
-
80
-
- Show guides for code level constructs
81
-
82
41
## Editor Help
83
42
84
43
- Generate XML documentation comments for ///
85
44
86
45
When selected, inserts the XML elements for XML documentation comments after you type the `///` comment introduction. For more information about XML documentation, see [XML Documentation Comments (C# Programming Guide)](/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments).
87
46
88
-
- Insert \* at the start of new lines when writing /\*\*/ comments
89
-
90
-
- Show preview for rename tracking
91
-
92
-
- Split string literals on enter
93
-
94
-
- Report invalid placeholders in 'string.Format' calls
95
-
96
-
## Extract Method
97
-
98
-
- Don't put ref or out on custom struct
99
-
100
-
## Implement Interface or Abstract Class
101
-
102
-
- When inserting properties, events and methods, place them with other members of the same kind, or at the end
103
-
104
-
- When generating properties, prefer throwing properties or prefer auto properties
105
-
106
47
## See also
107
48
108
49
-[How to: Insert XML comments for documentation generation](../../ide/reference/generate-xml-documentation-comments.md)
0 commit comments