File explorer functionality for DrRacket

For me, adding the ability to browse files/directories to DrRacket would be a giant help. I found a reference to the plugin, "files-viewer" but documentation links are broken. Can anyone offer how-to info on using this plugin or some other alternative? Thanks!

1 Like

I think it might work to do:

raco pkg install files-viewer

or to use the "File|Install Package..." menu item in DrRacket to install it.

Also, these might not be what you have in mind, but the "open file" dialog is the platform native dialog and under macos and windows it has a lot of file browsing capability built in.

And you can find files via the same notations you use to require the files if you use the "Open Require Path..." menu item. For example, if you type "rack/lis" in the dialog, it'll show you the "racket/list" library and let you open in DrRacket.

hth!

1 Like

I think, you missed my reply on Discord.

The documentation doesn't render on the documentation server,
but the you can read it unrendered on Github.

@section{Installation}

To install, either look for @tt{files-viewer} in the DrRacket menu @italic{File > Package Manager},
or run the raco command:
@commandline{raco pkg install files-viewer}

You need to restart DrRacket. Now you should have a new item @italic{Show the File Manager} in the @italic{View} menu.

@section{Usage}

Click @italic{View} then @italic{Show the File Manager}.

To edit a file, double click the item.

To call the popup menu, right click the file manager.

To show or hide the file manager, @italic{View > Show/Hide the File Manager}.