Give import hints for common symbol names that couldn't be resolved.


For example, prompt to import std.stdio when using writeln.


Walter Bright

Source: imphint.d

  • Declaration

    const(char)[] importHint(const(char)[] s);

    Looks for undefined identifier s to see if it might be undefined because an import was not specified. Not meant to be a comprehensive list of names in each module, just the most common ones.