-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Comments
It appears that 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) . |
I think it is loaded (how else would there be a Pkg REPL) but it is "hidden". Those linked PRs are indeed relevant. |
It works for me if I
or
I think it's something to do with the |
The problem is that this is failing to find REPLExt when Pkg is loaded via |
Ah, makes sense. That is typically forbidden for packages to hook into in that way, as they are only allowed to access packages that they depend upon explicitly |
Yeah, I'll try to rework it into something dispatching on a type. |
On master, auto-completion doesn't work for package names in package mode. For example,
doesn't complete "Chair" to "Chairmarks". It works on 1.10.4 and 1.11.0-beta2.
The text was updated successfully, but these errors were encountered: