Quickscript Scripts for DrRacket - racket/racket GitHub Wiki
A collection of scripts for DrRacket's Quickscript.
Scripts can be install either by installing a package, or fetched from a url with url2script
for single-file scripts, or merely copy/pasted in a new script.
Packages of several scripts
Below is a list of packages that contain multiple scripts. You can install them with raco pkg install
or from File|Install package…
in DrRacket. You can disable the scripts you don't want from the Script Library. You can also configure them with shadow scripts.
- quickscript-extra: package with many scripts
- Quickscript Competition 2020: package with many scripts
- Dexter's quickscripts: a personal collection
Standalone scripts
To install the following scripts, you have 2 options:
- In DrRacket, do Scripts | Manage | New script…, type a name for the script and save. This creates a new quickscript with a default template. Replace the template with the code of the script below. Reload the menu.
- Install the
quickscript-extra
package (see above) to obtainurl2script
. Then, to install any of the scripts below, just copy the url of the script (right-click on the link), then click in DrRacket onScripts|url2script|Fetch script…
and paste in the url.
-
classify-position (for debugging purposes)
-
string2unicode (needs the
text-block
andsearch-list-box
packages) -
transform-s-exp (example to customize)
-
command-palette (needs the
search-list-box
package) -
Insert: Insert characters for Qi: A Functional, Flow-Oriented DSL
-
CommonMark render: Render your README.md from DrRacket into the browser (requires
commonmark
) -
select-send-sexpr: Select the current s-expression or send it to the interactions window
-
Open recent: Open one or several recently opened files (requires
search-list-box
) -
fmt: Reformat (and not just reindent). Requires fmt (
raco pkg install fmt
) -
Rectangle selection: Select text in DrRacket as a rectangle. Useful to copy/delete some columns of a table for example (explanatory pictures)
-
Remove trailing spaces on save. Requires Racket 8.10.3 (quickscript hooks).
-
[add yours here] …
Other standalone scripts
Below is a list of scripts that can't be installed with url2script. So you'll have to do the copy/pasting work yourself.
- Plot Selection (in progress)
- [add yours here] …