On Saturday, 4 June 2016 at 16:10:26 UTC, Martin Nowak wrote:
I'm finding myself writing a lot of selective imports nowaday, while also browsing the documentation (sometimes even using dman).

I though it might be a nice to have a "copy-as-selective-import" button
next to the anchor link.
Then once you find what you've been looking for, e.g.
http://dlang.org/phobos/std_math.html#.approxEqual, you can click on it
and paste

    import std.math : approxEqual;

into your code (and edit it accordingly).

Useful? What do you think?

Yes.

Anyone volunteering?

How about https://github.com/dlang/dlang.org/pull/1330?

Reply via email to