fonsp / Pluto.jl

🎈 Simple reactive notebooks for Julia
https://plutojl.org/
MIT License
5k stars 296 forks source link

autocomplete: handle definitions from other cells #3056

Closed fonsp closed 3 weeks ago

fonsp commented 3 weeks ago

Autocomplete now includes globals that are defined in other cells, but not yet submitted (with Ctrl+S or the run button). Fix https://github.com/fonsp/Pluto.jl/issues/2991

image

https://github.com/user-attachments/assets/847337f2-bbea-436f-b411-e1dd7fcf600e

Try this Pull Request!

Open Julia and type:

julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="autocomplete-handle-definitions-from-other-cells")
julia> using Pluto