EditorConfigLanguage icon indicating copy to clipboard operation
EditorConfigLanguage copied to clipboard

Request: Provide intellisense for .NET naming rules

Open HBoskugel opened this issue 2 years ago • 0 comments

Installed product versions

  • Visual Studio: 2019
  • This extension: 1.17.288

Description

There is a missing of intellisense support for .NET naming rules between:

  • dotnet_naming_rule
  • dotnet_naming_symbols
  • dotnet_naming_style

Steps to recreate

  1. Open .editorconfig file in Visual Studio
  2. Create a dotnet_naming_style double_underscored
dotnet_naming_style.double_underscored.required_prefix = __
dotnet_naming_style.double_underscored.capitalization = pascal_case
  1. Create a dotnet_naming_symbols private_static_field
dotnet_naming_symbols.private_static_field.applicable_kinds = field
dotnet_naming_symbols.private_static_field.applicable_accessibilities = private
dotnet_naming_symbols.private_static_field.required_modifiers = static
  1. Create a dotnet_naming_rule private_static_field
dotnet_naming_rule.private_static_field.symbols = private_static_field
dotnet_naming_rule.private_static_field.style = double_underscored
dotnet_naming_rule.private_static_field.severity = warning

In step 4 is no intellisense for .symbols =   (should be private_static_field) and .style =  (should be double_underscored).

Current behavior

dotnet_naming_rule.<ruleName>.symbols =  has no intellisense for dotnet_naming_symbols.<symbolName>
dotnet_naming_rule.<ruleName>.style =  has no intellisense for dotnet_naming_style.<styleName>

Expected behavior

Intellisense for
dotnet_naming_rule.<ruleName>.symbols  from dotnet_naming_symbols.<symbolName>  and for
dotnet_naming_rule.<ruleName>.style  from dotnet_naming_style.<styleName>.

HBoskugel avatar Sep 18 '22 12:09 HBoskugel