Skip to content

yjqww6/drcomplete

Repository files navigation

drcomplete

DrRacket Plugins for better autocompletion.

You can Install them all by

raco pkg install drcomplete

Or install ones independently(using subdirectory names).

preview

drcomplete-required

gif

drcomplete-user-defined

gif

drcomplete-filename

gif

drcomplete-module

default

Notes

drcomplete-required completes identifiers required from other files and collections, identifiers required from same file are not supported currently. It also replaces the default candidates from DrRacket(which loads all symbols from manuals).

drcomplete-user-defined completes identifiers introduced by user in binding positions in the same file.

Both drcomplete-required and drcomplete-user-defined need wait for background expansion to update autocompletion infomation.

For some constantly appearing patterns like (let (... <cursor> ...) ) which fails to be expanded, drcomplete-user-defined also supports appending all user-written symbols(except the one before cursor) to candidates.

drcomplete-filename completes file paths, it use the directory of your file as current directory in definition window, and (current-directory) from your evaluation thread in repl.

drcomplete-module completes module paths for installed collections.

For drcomplete-filename and drcomplete-module, you would need to re-triger autocompletion after entering /(or \ for file paths on Windows) to go inside subdirectories.

drcomplete-auto enables automatic triggering of autocompletion, you can enable/disable it in Edit|Enable/Disable Automatic AutoCompletion. (contributed by @Syntacticlosure)

drcomplete-method-names completes method names available from classes and interfaces(mixins are ignored, unfortunately). And this table will be updated after the program run. This package is experimental currently, and not included by drcomplete package.

About

DrRacket plugins for better autocompletion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages