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

REPL suggested completion displayed even after becoming inapplicable #56003

Closed
jishnub opened this issue Oct 5, 2024 · 1 comment · Fixed by #56251 or JuliaLang/Pkg.jl#4054
Closed
Labels
bug Indicates an unexpected problem or unintended behavior completions Tab and autocompletion in the repl

Comments

@jishnub
Copy link
Contributor

jishnub commented Oct 5, 2024

Image

As seen in this image, the completion col -> collect is displayed despite the closing bracket being added after col.

julia> versioninfo()
Julia Version 1.12.0-DEV.1309
Commit ae9472993ba (2024-10-05 09:46 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
  JULIA_EDITOR = subl

Julia installed using juliaup

@jishnub jishnub added the completions Tab and autocompletion in the repl label Oct 5, 2024
@KristofferC
Copy link
Member

This also happens with col? and col;. The commonality between ?, ;, ] is that they enter a different REPL mode if pressed first in the REPL prompt. So presumable something that happens for normal keys also need to happen for these special keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior completions Tab and autocompletion in the repl
Projects
None yet
2 participants