Skip to content

Allow excluding traits from auto-completion #17922

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
GyrosOfWar opened this issue Aug 18, 2024 · 2 comments
Closed

Allow excluding traits from auto-completion #17922

GyrosOfWar opened this issue Aug 18, 2024 · 2 comments
Labels
A-completion autocompletion C-feature Category: feature request

Comments

@GyrosOfWar
Copy link

GyrosOfWar commented Aug 18, 2024

Some crates (e.g.owo_colors) have traits that add a bunch of methods to every type (e.g. OwoColorize). This can pollute the auto-completions for types quite a lot. An example for a type from aws_sdk_s3 in VSCode:

image

I looked for existing issues and found #7449, which would help, but it would be nice to have a more granular way to do this. I also wouldn't be opposed to try my hand at implementing this myself, but it'd be cool if someone could assess whether this is a feasible issue for a beginner in this codebase (like myself).

@GyrosOfWar GyrosOfWar added the C-feature Category: feature request label Aug 18, 2024
@lnicola
Copy link
Member

lnicola commented Aug 18, 2024

I think this has a bunch of dupes, including #17477 and possibly others.

@ShoyuVanilla ShoyuVanilla added the A-completion autocompletion label Aug 18, 2024
@lnicola lnicola closed this as completed Sep 2, 2024
@lnicola
Copy link
Member

lnicola commented Sep 2, 2024

Closing as a duplicate of #17477

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

3 participants