_From @ruimaciel on November 13, 2018 11:43_
When using VS Code 1.28.2 to work on C# projects, apparently the default root namespace adopted by a project is deduced from the project tree structure. However, some projects happen to have root namespaces that don't match the projec tree. It would be nice if VS Code enabled developers to specify the root namespace of a project.
Some online comments mention the existence of an option labelled RootNamespace supported by csproj files. However, the contents of that variable have no effect on VS code commands such as "new C# class".
It would be very helpful if VS Code offered a way to configure the root namespace of a project, or even the default namespace used in specific folders of a project. Supporting third-party data sources such as the contents of csproj files would be ideal, but being able to specify this sort of option in the contents of .vscode would work as well.
_Copied from original issue: Microsoft/vscode#63018_
Is this ever going to be worked on?
Agreed, this would be a nice feature. I assumed it was present, but upon finding this issue, I guess I assumed too much.
upvote... I would love to have this feature
Any news here?
The RootNamespace property is a supported property. For instance, when generated code such as Resource (.resx) classes are generated, they are generated under that root namespace. Another example is the sync namespace refactoring also uses this property.
In the dotnet/format project I added Foo as the RootNamespace and this is the suggested refactoring.

The New C# Class command in question is not part of this extension, instead it seems to be from an extension called "C# Extensions".

This has been resolved in the 'C# extensions' extension.
I still think these commands should be included in the omnisharp-vscode extension.
Most helpful comment
upvote... I would love to have this feature