[racket] Quick on-screen documentation
Hi,
Here is a script that displays on-screen the signatures of functions and
forms for most of the usual libraries (see screenshots).
This avoids the cost to launch the whole documentation in an external
browser when all you want is the order of the arguments or their contracts.
Hopefully it can help some people like me that always need to refer to the
docs, even for common functions.
I only tested on my linux desktop so I'm interested in knowing if that
works correctly on other platforms too.
The script itself is here:
http://planet.plt-scheme.org/package-source/orseau/script-plugin.plt/2/7/examples/def-signatures.rkt
and you can partially test it as a standalone module (see the Test section
at the end of the file), but it is in fact a part of the script plugin,
with which a shortcut can be assigned to it (otherwise there is little
point in this script).
To download:
(require (planet orseau/script-plugin:2:7/tool))
then restart DrRacket.
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120427/ae8efff4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with-output-to-file.png
Type: image/png
Size: 22589 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20120427/ae8efff4/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: editor-refresh.png
Type: image/png
Size: 32405 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20120427/ae8efff4/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: button.png
Type: image/png
Size: 54072 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20120427/ae8efff4/attachment-0005.png>