Disable global using directives?
When I create a new project, I'd like it to have global using directives disabled by default. At the moment, this is enabled by default, and I must kind of refactor by project to disable global using directives. Is there a way to change the default setting?
Please sign in to leave a comment.
Hello Becrylen,
For the majority of the templates (e.g. console app, Web API, etc.), Rider uses ready-made templates provided by Microsoft or other vendors. Currently, if a template does not allow disabling/enabling global usings explicitly, Rider does not override
ImplicitUsingsfrom the template. I can suggest creating your own custom templates by following Create a project template guide.Once templates are created, you will be able to find them under Custom templates section of project templates: