clipboard button to copy selective import from documentation?
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jun 4 09:10:26 PDT 2016
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? Anyone volunteering?
-Martin
NB: We use clipboard.js on the dub registry, a JS only clipboard solution.
More information about the Digitalmars-d
mailing list