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

auto-completion doesn't work correctly in pkg mode #54906

Open
matthias314 opened this issue Jun 23, 2024 · 2 comments
Open

auto-completion doesn't work correctly in pkg mode #54906

matthias314 opened this issue Jun 23, 2024 · 2 comments
Milestone

Comments

@matthias314
Copy link
Contributor

On master, auto-completion doesn't work for package names in package mode. For example,

(@v1.12) pkg> st
Status `~/.julia/environments/v1.12/Project.toml`
  [0ca39b1e] Chairmarks v1.2.1

(@v1.12) pkg> rm Chair [ now press TAB ]

doesn't complete "Chair" to "Chairmarks". It works on 1.10.4 and 1.11.0-beta2.

Julia Version 1.12.0-DEV.766
Commit 9d8ecaa899d (2024-06-21 17:00 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 24 × Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz
  WORD_SIZE: 64
  LLVM: libLLVM-17.0.6 (ORCJIT, sandybridge)
Threads: 1 default, 0 interactive, 1 GC (on 24 virtual cores)
@KristofferC KristofferC added this to the 1.12 milestone Jun 23, 2024
@kimikage
Copy link
Contributor

kimikage commented Jun 24, 2024

It appears that REPLExt is not loaded (as a regular package extension) at startup (even though it should be loaded actually).

julia> using Pkg

julia> Base.get_extension(Pkg, :REPLExt)|>typeof
Nothing

julia> using REPL # Force reinitialization

julia> Base.get_extension(Pkg, :REPLExt)|>typeof
Module

Edit: This could be related to PR #54739 and PR #54891 (see their comments and links) .

@KristofferC
Copy link
Sponsor Member

I think it is loaded (how else would there be a Pkg REPL) but it is "hidden". Those linked PRs are indeed relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants