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

Show REPL tab complete hints for public names only #51327

Open
IanButterworth opened this issue Sep 15, 2023 · 2 comments
Open

Show REPL tab complete hints for public names only #51327

IanButterworth opened this issue Sep 15, 2023 · 2 comments
Labels
design Design of APIs or of the language itself needs decision A decision on this change is needed REPL Julia's REPL (Read Eval Print Loop)

Comments

@IanButterworth
Copy link
Member

IanButterworth commented Sep 15, 2023

REPL tab complete hints should be helpful for guiding discoverability, therefore since #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.

@IanButterworth IanButterworth added the REPL Julia's REPL (Read Eval Print Loop) label Sep 15, 2023
@brenhinkeller
Copy link
Contributor

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

@fonsp
Copy link
Member

fonsp commented Aug 25, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design of APIs or of the language itself needs decision A decision on this change is needed REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

4 participants