When using "Sort Active Import Block" with scoped imports, the following happens:
void main()
{
import std.stdio;
import std.algorithm;
writeln("foo");
}
gets changed to
import std.algorithm;
import std.stdio;
writeln("foo");
}
When calling it with
void main()
{
import std.stdio;
import std.algorithm;
}
nothing happens at all.
When using it with versioned imports, the following happens:
version(unittest)
import std.tratis;
import std.stdio;
import std.algorithm;
void main()
{
}
gets changed to
import std.algorithm;
import std.stdio;
import std.tratis;
void main()
{
}
When using "Sort Active Import Block" with scoped imports, the following happens:
gets changed to
When calling it with
nothing happens at all.
When using it with versioned imports, the following happens:
gets changed to