Skip to content

Fix applicable_kinds for type parameters in EditorConfig template - #52899

Merged
baronfel merged 1 commit into
dotnet:mainfrom
daeghanelkin:fix/editorconfig-template-type-parameters-naming-symbol
Oct 6, 2026
Merged

baronfel merged 1 commit into
dotnet:mainfrom
daeghanelkin:fix/editorconfig-template-type-parameters-naming-symbol

Conversation

@daeghanelkin

Copy link
Copy Markdown
Contributor

Fixes #46569


Using the repo devcontainer and the available docs for guidance, I wasn't able to get a passing test run for the dotnet-new.IntegrationTests project since it doesn't seem to pick up the latest template versions. I did test by running dotnet new install with the item templates and then dotnet new .editorconfig, but would prefer to have a consistently verifiable test. If there's some additional docs I missed to get that test project to run using the stuff in template_feed, I'd love to hear about it so I can verify with a little more confidence.

@daeghanelkin
daeghanelkin requested a review from a team as a code owner February 8, 2026 02:14
Copilot AI review requested due to automatic review settings February 8, 2026 02:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the EditorConfig item template so naming rules for type parameters correctly target type_parameter instead of namespace, and updates the corresponding approval baseline.

Changes:

  • Update dotnet_naming_symbols.type_parameters.applicable_kinds to type_parameter in the EditorConfig item template.
  • Update the dotnet-new.IntegrationTests approval file to match the new template output.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/dotnet-new.IntegrationTests/Approvals/AllCommonItemsCreate.-o#EditorConfig-file#-n#item.verified/EditorConfig-file/.editorconfig Updates the approved .editorconfig output to reflect the corrected applicable_kinds value.
template_feed/Microsoft.DotNet.Common.ItemTemplates/content/EditorConfig/Dotnet/.editorconfig Fixes the template’s type_parameters naming symbol applicable_kinds to use the correct kind.

@github-actions

Copy link
Copy Markdown
Contributor

Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label.

@github-actions github-actions Bot added the stale label Sep 23, 2026
@daeghanelkin
daeghanelkin force-pushed the fix/editorconfig-template-type-parameters-naming-symbol branch from aa4f6a1 to 029d5b1 Compare September 25, 2026 02:23
@daeghanelkin

Copy link
Copy Markdown
Contributor Author

Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label.

This is not stale and is simply waiting on a review from the .NET SDK team.

@github-actions github-actions Bot removed the stale label Sep 25, 2026
@baronfel

baronfel commented Oct 6, 2026

Copy link
Copy Markdown
Member

Thanks for this @daeghanelkin, and apologies for the time it took to get this merged.

@baronfel
baronfel merged commit 0d60854 into dotnet:main Oct 6, 2026
23 checks passed
@baronfel

baronfel commented Oct 6, 2026

Copy link
Copy Markdown
Member

/backport to release/11.0.2xx

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Started backporting to release/11.0.2xx (link to workflow run)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EditorConfig template has namespace for applicable_kinds of type_parameters naming symbol

3 participants