How to list names of functions in a script file using Pluto?

Files do not correspond to an organisational structure in Julia and is purely up to the programmer.
Put the functions into a module, e.g. like

module MyFunctions
    include("scripts/functions.jl")
end
using .MyFunctions

then you can query like MyFunctions.<autocomplete shows possible functions>.
Just written like this, you accessing the functions requires the full qualification with the module’s name. Use export functionname to remove the need for qualification.

4 Likes