www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Suggestion for code completition and static imports


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?

May 26 2008