EditorConfig template has namespace
for applicable_kinds
of type_parameters
naming symbol
#46569
Labels
namespace
for applicable_kinds
of type_parameters
naming symbol
#46569
Describe the bug
When using the EditorConfig template produced by
dotnet new .editorconfig
I noticed that theapplicable_kinds
for thetype_parameters
naming symbol is set tonamespace
instead oftype_parameter
. This leads to type parameters being missed when attempting to enforce a naming convention.To Reproduce
With your SDK version of choice (tested with both 8 and 9) run
dotnet new .editorconfig
.Within the produced
.editorconfig
, locate the naming symbol for type parameters (dotnet_naming_symbols.type_parameters
) and inspect the value generated forapplicable_kinds
, it should benamespace
.Additional information
I didn't notice any existing issues/discussions surrounding having the incorrect kind, and it looks like the value has been
namespace
since the initial creation of the template, but please let me know if there's some extra info on if it's intentional.I'm also familiar with templates, so I'm more than happy to make the necessary changes if this becomes a confirmed issue since it's simply replacing the offending line with:
Thanks in advance!
The text was updated successfully, but these errors were encountered: