Juno.jl icon indicating copy to clipboard operation
Juno.jl copied to clipboard

[FR] Clear an object from workspace

Open azev77 opened this issue 5 years ago • 1 comments

This applies more generally to @JuliaLang @JuliaComputing: other IDEs have a button to clear objects from the workspace it would be nice to do this for a single variable/all variables

azev77 avatar Jan 22 '20 18:01 azev77

Julia doesn't really allow for this atm -- I think the best we can do is set the variable to nothing, which makes it gc'able. Getting rid of the binding itself isn't easy at all (we could kinda create a new Main module and copy all other bindings in the current scope to that, but I'd rather not get into that mess).

pfitzseb avatar Jan 23 '20 09:01 pfitzseb