PlutoVariableExplorer.jl
PlutoWorkspaceExplorer.jl creates a table of the variables in your current Pluto session.
Given my background in MATLAB, this is a feature that I have wanted for a while. Unlike MATLAB (or any other variable explorer that I have ever used), PlutoVariableExplorer.jl PlutoWorkspaceExplorer.jl is aware of the dependencies between your variables. It also lets you jump to a variable definition through the pluto-links functionality.
Before I register the package I wanted to give people a chance to bikeshed the name or suggest an umbrella package that this functionality could be included in. Feel free to leave any suggestions/feedback here or on Github
I’d like to thank @fonsp and others for all their work on Pluto and related tools. If Pluto wasn’t such a high quality product, then this work would be much harder and much less rewarding.
From the package README:
Interactively inspect your workspace values and topology in a Pluto session.
Usage
Create the following cells: (for now you will have to do import Pkg; Pkg.add(url="https://github.com/JackDevine/PlutoVariableExplorer.jl")
first)
import PlutoWorkspaceExplorer as PWE
@bind _update PWE.update_notebook()
_update; PWE.variable_explorer(PlutoRunner)
If you dont create the _update
variable, then the workspace explorer will only be updated when you run the cell that defined it. The _update
variable will change every time you press Shift+Enter.
Example view of the variable explorer:
Link to the repo
Some known issues
There are some open issues that I am not sure how to fix:
EDIT I also remembered an issue with how pluto-links are handled
I should be able to come up with solutions to these problems in my own time, but any advice or help would be greatly appreciated
Happy Plutoing and have fun using the variable explorer in your own notebooks!