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?

0
1 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 ImplicitUsings from 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:

0

Please sign in to leave a comment.