-
Notifications
You must be signed in to change notification settings - Fork 1.8k
hover a struct can't show its whole definition,but hover a enum can #17009
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
Comments
You can adjust the number of fields displayed when hovering by setting See https://rust-analyzer.github.io/manual.html#configuration |
On that note we probably want a setting for enum variants as well |
Currently, we don't display the fields of the struct by default. Perhaps we could set a default value for it (for example, 8)? So that users will discover this feature. And considering that we can implement this for both enum, and union, should we combine them into a single setting? |
Thank you for your help! I'm a student and I'm learning rust , rust-analyzer helps me a lot,thank you::smile:: |
大佬,萌新求带 |
It's recommended to use English for GitHub Issues discussions to keep things clear and inclusive. For discussions regarding off-topic or private matters, please communicate via email. Thanks! |
@rustbot claim |
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: