madskristensen / AddAnyFile

A Visual Studio extension
Apache License 2.0
262 stars 119 forks source link

File-scoped namespace preferences are applied in the project root, but not in folders. #102

Closed jhigh2000 closed 2 years ago

jhigh2000 commented 2 years ago

Extension v4.0.171 - https://www.vsixgallery.com/extension/d48e8f25-661b-4970-8b66-03f051ba5fc3

Minimal Repo:

File...New Project...Console Application.

In the project root: SHIFT+F2, Foo.cs --> File created and file-scoped namespaces preferences applied. SHIFT+F2, Folder/Bar.cs --> File created in Folder/and file-scoped namespaces not applied. Same behavior if "Folder" is manually created first.

image image image image
timheuer commented 2 years ago

Weird, I can confirm this as well @madskristensen but I thought we both verified this :-(