clipboard button to copy selective import from documentation?
Seb via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jun 4 11:15:50 PDT 2016
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?
More information about the Digitalmars-d
mailing list