Skip to content

Saner default for inlayHints.maxLength config parameter #8175

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
Cobrand opened this issue Mar 23, 2021 · 0 comments · Fixed by #8177
Closed

Saner default for inlayHints.maxLength config parameter #8175

Cobrand opened this issue Mar 23, 2021 · 0 comments · Fixed by #8177
Labels
S-actionable Someone could pick this issue up and work on it right now

Comments

@Cobrand
Copy link

Cobrand commented Mar 23, 2021

Following #8172, rust-analyzer.inlayHints.maxLength should have a saner default. Certain crates like fixed possess huge types (in name only), and by default in rust analyzer, they are shown entirely in type annotation hints, which can be extremely hard to read sometimes:

code example

@jonas-schievink jonas-schievink added the S-actionable Someone could pick this issue up and work on it right now label Mar 23, 2021
@bors bors bot closed this as completed in 5f9ba2d Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-actionable Someone could pick this issue up and work on it right now
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants