D-Scanner icon indicating copy to clipboard operation
D-Scanner copied to clipboard

sorted checker should account for groups of imports

Open WebFreak001 opened this issue 7 years ago • 0 comments

import b;

import a; // there is a clear separation using an empty line between these two imports

or a more extreme example:

import b;
void foo()
{
}

/* thousands of lines of code here */

import a; // warning: not sorted alphabetically
void bar()
{
}

WebFreak001 avatar Aug 13 '17 11:08 WebFreak001