Skip to content

Commit 384ac18

Browse files
author
Greg Van Liew
authored
Merge pull request #248 from kuhlenh/patch-3
Fixed the file extension syntax and grammar
2 parents 46951b5 + 620308f commit 384ac18

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

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

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ For code style option, you must specify **true** (prefer this option) or **false
5151

5252
Severity | effect
5353
------------ | -------------
54-
none/silent | Do not show anything to the user when this style is not being followed, however code generation features will generate in this style.
54+
none/silent | Do not show anything to the user when this style is not being followed, however code generation features generate in this style.
5555
suggestion | When this style is not being followed, show it to the user as a suggestion (underlying dots on the first two characters).
5656
warning | When this style is not being followed, show a compiler warning.
5757
error | When this style is not being followed, show a compiler error.
@@ -111,8 +111,8 @@ error | When this style is not being followed, show a compiler error.
111111

112112
#### Example editorconfig file:
113113
```
114-
# CSharp and VisualBasic code style settings:
115-
[*.cs,*.vb]
114+
# CSharp and Visual Basic code style settings:
115+
[*.{cs,vb}]
116116
dotnet_style_qualification_for_field = false:suggestion
117117
```
118118

@@ -129,8 +129,8 @@ dotnet_style_qualification_for_field = false:suggestion
129129

130130
#### Example editorconfig file:
131131
```
132-
# CSharp and VisualBasic code style settings:
133-
[*.cs,*.vb]
132+
# CSharp and Visual Basic code style settings:
133+
[*.{cs,vb}]
134134
dotnet_style_qualification_for_property = false:suggestion
135135
```
136136

@@ -148,8 +148,8 @@ dotnet_style_qualification_for_property = false:suggestion
148148

149149
#### Example editorconfig file:
150150
```
151-
# CSharp and VisualBasic code style settings:
152-
[*.cs, *.vb]
151+
# CSharp and Visual Basic code style settings:
152+
[*.{cs,vb}]
153153
dotnet_style_qualification_for_method = false:suggestion
154154
```
155155

@@ -166,8 +166,8 @@ dotnet_style_qualification_for_method = false:suggestion
166166

167167
#### Example editorconfig file:
168168
```
169-
# CSharp and VisualBasic code style settings:
170-
[*.cs, *.vb]
169+
# CSharp and Visual Basic code style settings:
170+
[*.{cs,vb}]
171171
dotnet_style_qualification_for_event = false:suggestion
172172
```
173173

@@ -185,8 +185,8 @@ dotnet_style_qualification_for_event = false:suggestion
185185

186186
#### Example editorconfig file:
187187
```
188-
# CSharp and VisualBasic code style settings:
189-
[*.cs, *.vb]
188+
# CSharp and Visual Basic code style settings:
189+
[*.{cs,vb}]
190190
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
191191
```
192192

@@ -203,8 +203,8 @@ dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
203203

204204
#### Example editorconfig file:
205205
```
206-
# CSharp and VisualBasic code style settings:
207-
[*.cs, *.vb]
206+
# CSharp and Visual Basic code style settings:
207+
[*.{cs,vb}]
208208
dotnet_style_predefined_type_for_member_access = true:suggestion
209209
```
210210

@@ -222,8 +222,8 @@ dotnet_style_predefined_type_for_member_access = true:suggestion
222222

223223
#### Example editorconfig file:
224224
```
225-
# CSharp and VisualBasic code style settings:
226-
[*.cs, *.vb]
225+
# CSharp and Visual Basic code style settings:
226+
[*.{cs,vb}]
227227
dotnet_style_object_initializer = true:suggestion
228228
```
229229

@@ -240,8 +240,8 @@ dotnet_style_object_initializer = true:suggestion
240240

241241
#### Example editorconfig file:
242242
```
243-
# CSharp and VisualBasic code style settings:
244-
[*.cs, *.vb]
243+
# CSharp and Visual Basic code style settings:
244+
[*.{cs,vb}]
245245
dotnet_style_collection_initializer = true:suggestion
246246
```
247247

@@ -258,8 +258,8 @@ dotnet_style_collection_initializer = true:suggestion
258258

259259
#### Example editorconfig file:
260260
```
261-
# CSharp and VisualBasic code style settings:
262-
[*.cs, *.vb]
261+
# CSharp and Visual Basic code style settings:
262+
[*.{cs,vb}]
263263
dotnet_style_explicit_tuple_names = true:suggestion
264264
```
265265

@@ -276,8 +276,8 @@ dotnet_style_explicit_tuple_names = true:suggestion
276276

277277
#### Example editorconfig file:
278278
```
279-
# CSharp and VisualBasic code style settings:
280-
[*.cs, *.vb]
279+
# CSharp and Visual Basic code style settings:
280+
[*.{cs,vb}]
281281
dotnet_style_coalesce_expression = true:suggestion
282282
```
283283

@@ -294,8 +294,8 @@ dotnet_style_coalesce_expression = true:suggestion
294294

295295
#### Example editorconfig file:
296296
```
297-
# CSharp and VisualBasic code style settings:
298-
[*.cs, *.vb]
297+
# CSharp and Visual Basic code style settings:
298+
[*.{cs,vb}]
299299
dotnet_style_null_propagation = true:suggestion
300300
```
301301

@@ -643,7 +643,7 @@ For formatting options, you must specify **true** (prefer this option) or **fals
643643
#### Example editorconfig file:
644644
```
645645
# .NET formatting settings:
646-
[*.cs, *.vb]
646+
[*.{cs,vb}]
647647
dotnet_sort_system_directives_first = true
648648
```
649649

@@ -1228,19 +1228,19 @@ styleTitle:<br>
12281228
`dotnet_naming_style.<styleTitle>.word_separator = string`<br>
12291229

12301230
## Writing a Naming Convention
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.
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, is the only rule applied.
12321232

12331233
### Severity
12341234
The following are valid options for the severity of a naming style rule
12351235
`none`, `silent`, `suggestion`, `warning`, `error`.
12361236

12371237
`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.
12381238

1239-
`suggestion` means that the user will be shown the following in the Error List: and the following in the IDE. The `suggestion` severity will allow the naming rule to run, but it will not cause the build to break.
1239+
`suggestion` means that the user is shown the following in the Error List: and the following in the IDE. The `suggestion` severity allows the naming rule to run, but it doesn't cause the build to break.
12401240

12411241
Severity | effect
12421242
------------ | -------------
1243-
none/silent | Do not show anything to the user when this style is not being followed, however code generation features will generate in this style.
1243+
none/silent | Do not show anything to the user when this style is not being followed, however code generation features generate in this style.
12441244
suggestion | When this style is not being followed, show it to the user as a suggestion (underlying dots on the first two characters).
12451245
warning | When this style is not being followed, show a compiler warning.
12461246
error | When this style is not being followed, show a compiler error.
@@ -1289,8 +1289,8 @@ Identify the naming style to apply to the symbols.
12891289

12901290
### Example Naming Convention
12911291
```
1292-
# CSharp formatting settings:
1293-
[*.cs]
1292+
# Dotnet Naming Conventions
1293+
[*.{cs,vb}]
12941294
dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods
12951295
dotnet_naming_rule.async_methods_end_in_async.style = end_in_async
12961296
dotnet_naming_rule.async_methods_end_in_async.severity = suggestion

0 commit comments

Comments
 (0)