Code Cleanup Group Usings


The code cleanup can sort and optimize usings, but I like the way VS2019 groups usings with spaces like this:

using System;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Caching;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Mvc;
using Microsoft.Identity.Client;
using Newtonsoft.Json;

Is it possible to configure R# like this, or have it call the VS* command as part of the cleanup?


Comment actions Permalink
Official comment

Hello Johan Danforth

Thank you for your question! Please try to set this setting's value to "1":

ReSharper | Options | Code Editing | C# | Formatting Style | Blank Lines | Blank lines in declarations | Between different "using" groups

Comment actions Permalink

Amazing! Thanks! There are just too many options... :D 


Please sign in to leave a comment.