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
Copy file name to clipboardExpand all lines: docs/extensibility/how-to-use-wizards-with-project-templates.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Visual Studio provides the <xref:Microsoft.VisualStudio.TemplateWizard.IWizard>
76
76
77
77
-**IncludeDebugSymbolsInLocalVSIXDeployment**
78
78
79
-
3. Add the assembly as an asset to the VSIX project. Open the source.extension.vsixmanifest file and select the **Assets** tab. In the **Add New Asset** window, for **Type** select **Microsoft.VisualStudio.Assembly**, for **Source** select **A project in current solution**, and for **Project** select **MyTemplateWizard**.
79
+
3. Add the assembly as an asset to the VSIX project. Open the source.extension.vsixmanifest file and select the **Assets** tab. In the **Add New Asset** window, for **Type** select **Microsoft.VisualStudio.Assembly**, for **Source** select **A project in current solution**, and for **Project** select **MyProjectWizard**.
80
80
81
81
4. Add the following references to the VSIX project. (In the **Solution Explorer**, under the VSIX project node select **References**, right-click, and select **Add Reference**.) In the **Add Reference** dialog, in the **Framework** tab, find the **System.Windows Forms** assembly and select it. Now select the **Extensions** tab. find the **EnvDTE** assembly and select it. Also find the **Microsoft.VisualStudio.TemplateWizardInterface** assembly and select it. Click **OK**.
82
82
@@ -167,7 +167,7 @@ Visual Studio provides the <xref:Microsoft.VisualStudio.TemplateWizard.IWizard>
167
167
168
168
- An <xref:System.Object> arraythatcontainsasetofparameterspassedtothewizardbyVisualStudio.
Copy file name to clipboardExpand all lines: docs/ide/editorconfig-code-style-settings-reference.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ helpviewer_keywords:
13
13
- "editor"
14
14
ms.assetid:
15
15
caps.latest.revision: 01
16
-
author: "kaseyu"
16
+
author: "kuhlenh"
17
17
ms.author: "kaseyu"
18
18
manager: "davidcsa"
19
19
translation.priority.ht:
@@ -36,16 +36,16 @@ translation.priority.ht:
36
36
.NET coding conventions are configured using an [EditorConfig](https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options) file. EditorConfig files allow you to **enable/disable individual .NET coding conventions** and **configure the degree at which you want the convention enforced** (via a severity level). To learn more about how to use EditorConfig to enforce consistency on your codebase, read [this article](https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options).
37
37
38
38
There are three supported .NET coding convention categories:
39
-
-**[Language Conventions](#language)** are rules pertaining to the C# or Visual Basic language, e.g., `var`/explicit type, use expression-bodied member.
40
-
-**[Formatting Rules](#formatting)** are rules regarding the layout and structure of your code in order to make it easier to read, e.g., Allman braces, spaces in control blocks.
41
-
-**[Naming Conventions](#naming)** are rules respecting the way objects are named, e.g., `async` methods must end in "Async".
39
+
-**[Language Conventions](#language)** are rules pertaining to the C# or Visual Basic language, for example, `var`/explicit type, use expression-bodied member.
40
+
-**[Formatting Rules](#formatting)** are rules regarding the layout and structure of your code in order to make it easier to read, for example, Allman braces, spaces in control blocks.
41
+
-**[Naming Conventions](#naming)** are rules respecting the way objects are named, for example, `async` methods must end in "Async".
For code style option you must specify **true** (prefer this option) or **false** (do not prefer this option), a colon (`:`), and a severity (`none`, `silent`, `suggestion`, `warning`, or `error`). Severity means the level of enforcement for that style you want in your code base.
48
+
For code style option, you must specify **true** (prefer this option) or **false** (do not prefer this option), a colon (`:`), and a severity (`none`, `silent`, `suggestion`, `warning`, or `error`). Severity means the level of enforcement for that style you want in your code base.
49
49
50
50
`none` and `silent` are synonymous and mean that no indication of any kind should be shown to the user. This has the effect of disabling this rule.
51
51
@@ -64,7 +64,7 @@ error | When this style is not being followed, show a compiler error.
64
64
- [Properties](#this_and_me_properties)
65
65
- [Methods](#this_and_me_methods)
66
66
- [Events](#this_and_me_events)
67
-
-[Language keywords (int, string, etc.) vs framework type names for type references](#language_keywords)
67
+
-[Language keywords (int, string, etc.) vs framework type names for type references](#language_keywords)
68
68
-[Locals, parameters, and members](#language_keywords_variables)
| True | Prefer to use conditional coalescing operation (`?.`) when invoking a lambda instead of performing a null check. | **C#:** <br>`func?.Invoke(args);`
568
-
| False | Prefer to preform a null check before invoking a lambda instead of using the conditional coalescing operator (`?.`).| **C#:** <br>`if (func!=null) { func(args); }`
568
+
| False | Prefer to perform a null check before invoking a lambda instead of using the conditional coalescing operator (`?.`).| **C#:** <br>`if (func!=null) { func(args); }`
For formatting options you must specify **true** (prefer this option) or **false** (do not prefer this option) except in a couple cases where you must instead specify what conditions you want the rule applied to.
601
+
For formatting options, you must specify **true** (prefer this option) or **false** (do not prefer this option) except in a couple cases where you must instead specify what conditions you want the rule applied to.
602
602
603
603
## .NET Formatting Options
604
604
@@ -611,7 +611,7 @@ For formatting options you must specify **true** (prefer this option) or **false
611
611
- [Newline Before `else`](#newline_before_else)
612
612
- [Newline Before `catch`](#newline_before_catch)
613
613
- [Newline Before `finally`](#newline_before_finally)
614
-
- [Newline Before Members in Object Intializers](#newline_before_object)
614
+
- [Newline Before Members in Object Initializers](#newline_before_object)
615
615
- [Newline Before Members in Anonymous Types](#newline_before_anonymous)
616
616
- [Newline Before Members in Query Expression Clauses](#newline_before_query)
617
617
-[Indentation Options](#indent)
@@ -808,7 +808,7 @@ try {
808
808
csharp_new_line_before_finally = true
809
809
```
810
810
811
-
### <aname="newline_before_object"> Newline Before Members in Object Intializers</a>
811
+
### <aname="newline_before_object"> Newline Before Members in Object Initializers</a>
812
812
|**Option Name**|**Applicable Languages**|**Visual Studio Default**|**Supported Version**|
For naming conventions you must specify **symbols**, **style**, and a **severity**. Naming conventions should be ordered from most-specific to least-specific. The first rule encountered that can be applied, will be the only rule applied.
1231
+
For naming conventions, you must specify **symbols**, **style**, and a **severity**. Naming conventions should be ordered from most-specific to least-specific. The first rule encountered that can be applied, will be the only rule applied.
1232
1232
1233
1233
### Severity
1234
1234
The following are valid options for the severity of a naming style rule
@@ -1246,7 +1246,7 @@ warning | When this style is not being followed, show a compiler warning.
1246
1246
error | When this style is not being followed, show a compiler error.
1247
1247
1248
1248
### Symbol Specification
1249
-
Idenfity_what_ symbols _with which_ modifiers and _at what_ accessibility level the naming rule should apply to.
1249
+
Identify_what_ symbols _with which_ modifiers and _at what_ accessibility level the naming rule should apply to.
1250
1250
1251
1251
| Option Name |`dotnet_naming_rule.<namingRuleTitle>.symbols`|
0 commit comments