Re:What's the deal with tab size (8 spaces) in the GitHub UI?
by sk0g on Monday September 20, 2021 @10:11PM
(#28601348)
I do like having the namespace there, if only to gently nudge you towards better architecture.
As a temp fix I have overridden Rider's code formatting to not indent within the namespace, but C# 10 will bring file scoped namespaces. You can just declare the namespace between the imports and the classes, and everything in the file will be namespaced automatically.
As a temp fix I have overridden Rider's code formatting to not indent within the namespace, but C# 10 will bring file scoped namespaces. You can just declare the namespace between the imports and the classes, and everything in the file will be namespaced automatically.