Skip to content

Hide a specific trait in autocomplete #18024

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

Closed
oriongonza opened this issue Sep 1, 2024 · 2 comments
Closed

Hide a specific trait in autocomplete #18024

oriongonza opened this issue Sep 1, 2024 · 2 comments
Labels
A-completion autocompletion C-feature Category: feature request

Comments

@oriongonza
Copy link

I love color-eyre but the OwoColorize trait adds a lot of noise to autocomplete.
image

Could we get a way to hide some specific traits?
I'd personally also use it for Any

@oriongonza oriongonza added the C-feature Category: feature request label Sep 1, 2024
@DropDemBits DropDemBits added the A-completion autocompletion label Sep 2, 2024
@dvdsk
Copy link
Contributor

dvdsk commented Sep 2, 2024

Might be nice if it could not only hide specific traits but also methods from specific (sub)modules/crates.

In the example above that could be hiding all the owo_colors items but keeping the color_eyre items.

@lnicola
Copy link
Member

lnicola commented Sep 2, 2024

Duplicate of #17477 and possibly others, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-completion autocompletion C-feature Category: feature request
Projects
None yet
Development

No branches or pull requests

4 participants