fonsp / Pluto.jl

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

Allow autocomplete in strings and comments with <TAB> #2892

Closed fonsp closed 2 months ago

fonsp commented 2 months ago

Previous PRs made autocomplete less "aggressive", and one change was to disable autocomplete inside strings, comments, and #2872. This PR brings back this ability, but only when pressing , not autocomatically on type. I.e. only when ctx.explicit is true.

Moved from #2389

github-actions[bot] commented 2 months ago

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-explicit")
  julia> using Pluto