-
-
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
don't tab complete deprecated functions #3526
Comments
Some functions are only deprecated for some argument types, so we'd have to distinguish the fully deprecated from the partially deprecated. Our globals are starting to acquire lots of properties: |
That's true, but the only names we'd want to avoid tab completing are the ones that have no non-deprecated methods, so that's not really an issue. I'm not sure that we can really avoid this kind of complexity and I don't really think that it actually muddles the question of whether a name exists or not – rather, it adds properties to names that definitely exist. The real complication to that question, honestly, is the whole |
We do not tab complete deprecated bindings so if a function is fully deprecated its binding can be deprecated and thus won't tab-complete. |
Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: master Julia branch: master Old commit: 08e1eb6ed New commit: 047734e4c Julia version: 1.11.0-DEV Pkg version: 1.11.0 Bump invoked by: @DilumAluthge Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Pkg.jl@08e1eb6...047734e ``` $ git log --oneline 08e1eb6ed..047734e4c 047734e4c Test suite: activate a temp project if we need to install HistoricalStdlibVersions during the test suite (#3602) ff833e9d4 Throw an error if the current Julia version (`Base.VERSION`) is incompatible with the `[compat]` entry for `julia` in the `Project.toml` file (#3526) 2c37a5907 Fix lacking `subdir` information when altering packages (#3597) 051ab5bdd Don't mutate project.deps during project write (#3591) f4d64d2c7 Update manifest entry of project for non-local manifests (#3579) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
It would be ideal not to tab complete deprecated functions. Kind of a nice-to-have, but it would be nice to have.
The text was updated successfully, but these errors were encountered: