Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete: stop at a keyword #2877

Merged
merged 2 commits into from
Mar 29, 2024
Merged

Autocomplete: stop at a keyword #2877

merged 2 commits into from
Mar 29, 2024

Conversation

fonsp
Copy link
Owner

@fonsp fonsp commented Mar 29, 2024

Continuing #2872:

  • Close to autocomplete popup when you finished writing a keyword (like begin)
  • Pressing on a keyword does nothing

This makes the autocomplete less "aggressive". It's also important in Julia because we use keywords instead of curly braces: your lines often end with a keyword like end, and you don't want that to get autocompleted when pressing Enter.

This video is with autocomplete-on-type enabled:

Schermopname.2024-03-30.om.00.06.30.mov

@fonsp fonsp added the frontend Concerning the HTML editor label Mar 29, 2024
Copy link
Contributor

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="no-autocomplete-for-keywords")
julia> using Pluto

@fonsp fonsp merged commit c649d22 into main Mar 29, 2024
3 checks passed
@fonsp fonsp deleted the no-autocomplete-for-keywords branch March 29, 2024 23:33
@fonsp fonsp added the autocomplete <TAB> label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocomplete <TAB> frontend Concerning the HTML editor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant