JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.43k stars 5.45k forks source link

Show REPL tab complete hints for public names only #51327

Open IanButterworth opened 1 year ago

IanButterworth commented 1 year ago

REPL tab complete hints should be helpful for guiding discoverability, therefore since https://github.com/JuliaLang/julia/pull/50105 has merged it seems logical to make hints only show for public names etc.

IIUC currently both public and private names are hinted.

Tab complete could still complete private names, but the user would need the knowledge that they exist, or just be trial-and-erroring their way through.

brenhinkeller commented 1 year ago

It's logical, but also feels a bit evil 😆

fonsp commented 3 weeks ago

In Pluto we currently show all fields, but private names are greyed out, and they score lower in our sorting:

image

Maybe the REPL could do something similar?