Iterate/sort associative array by value?
Dennis
dkorpel at gmail.com
Mon Apr 8 08:31:33 UTC 2019
On Monday, 8 April 2019 at 07:53:23 UTC, Robert M. Münch wrote:
> Why does DMD not give a hint, that an import from the standard
> lib might be missing? I find these explicit import statements
> very annyoing.
There currently are a few hard-coded import hints for common
functions:
https://github.com/dlang/dmd/blob/master/src/dmd/imphint.d
But it definitely could be better.
As Sebastian said, you can do `import std.experimental.all;` or
from version 2.086 `import std;` to import the entire standard
library.
If dmd as a library pans out, a language server might
automatically suggest imports for unresolved symbols like common
Java and C# IDEs do.
More information about the Digitalmars-d-learn
mailing list