Skip to content

Commit cdbb877

Browse files
authored
Merge pull request #289 from davidwengier/capitalization-required
Added note about capitalization being required
2 parents 5e18241 + a0e51b3 commit cdbb877

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/ide/editorconfig-code-style-settings-reference.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,10 @@ Specify the naming style using one or more of the following properties:
13641364
| dotnet_naming_style.\<styleTitle\>.required_prefix | Required characters that must appear at the beginning of the identifier. |
13651365
| dotnet_naming_style.\<styleTitle\>.required_suffix | Required characters that must appear at the end of the identifier. |
13661366
| dotnet_naming_style.\<styleTitle\>.word_separator | Required character between words in the identifier. |
1367-
| dotnet_naming_style.\<styleTitle\>.capitalization | pascal_case, camel_case, first_word_upper, all_upper, all_lower |
1367+
| dotnet_naming_style.\<styleTitle\>.capitalization | pascal_case, camel_case, first_word_upper, all_upper, all_lower |
1368+
1369+
> [!NOTE]
1370+
> You must specify a capitalization style as part of your naming style, otherwise your naming style will be ignored.
13681371

13691372
#### Severity
13701373
Identify the severity level for a naming rule with this property: `dotnet_naming_rule.<namingRuleTitle>.severity`.
@@ -1397,4 +1400,4 @@ dotnet_naming_style.end_in_async.capitalization = pascal_case
13971400
## See also
13981401
[Quick Actions](../ide/quick-actions.md)
13991402
[Create portable custom editor options](https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options)
1400-
[.NET Compiler Platform's .editorconfig file](https://github.com/dotnet/roslyn/blob/master/.editorconfig)
1403+
[.NET Compiler Platform's .editorconfig file](https://github.com/dotnet/roslyn/blob/master/.editorconfig)

0 commit comments

Comments
 (0)