I want to share an (unregistered) package called CustomREPLComepletions
https://github.com/meggart/CustomREPLCompletions.jl. It hooks into the REPL
completion system and lets you add individual completions depending on the
function surrounding the current cursor.
For example, if after the following lines:
using CustomREPLCompletions
d=Dict("aa"=>5,"bb"=>6)
d["
hit the tab key twice and the completion suggestions will be "aa" and "bb".
Another example, and the main reason I put this together is when reading
files containing some kind of datastructure:
using CustomREPLCompletions, HDF5
data = h5read("myfile.h5"," # hit tab after the "
This will look up the groups and variables stored in myfile.h5 and so you
can tab-complete yourself through the file's hierarchy.
I wanted to find out if anyone besides me would find this useful and if yes
how to best integrate this into the packages it concerns.
Fabian