May 26, 2008
Hi,

to have my code more readable and to have less places were to make mistakes and errors, i often use static imports for modules which only have functions and variables on module scope (no use of struct or classes at all).

It would be nice for the IDE if i explicitly start to call a function (e.g. writefln from std.stdio)


void foo()
{
    std.stdio.wri<start the code assistant>
}

the code assistant should add the static import declaration for std.stdio and not the basic import.


How do you feel about this? How to handle selective imports?


Regards
Hendrik