Popup for recursive structs without indirection less informative than in VS Code
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
When the code has a recursive struct without indirection the hover popup is much less informative than that in VS Code.
struct Holder {
next_holder: Option<Holder>,
}
fn main() {
let x = Holder {
next_holder: Some(Holder {
next_holder: Some(Holder { next_holder: None }),
}),
};
}
Zed displays this on hover:
VS Code displays this:
As you can see, VS Code displays more information and the hint to use Box.
Environment
Zed: v0.149.6 (Zed) OS: macOS 14.6.1 Memory: 32 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Display all the information that VS Code shows
If applicable, attach your Zed.log file to this issue.
No response
Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!
This still looks the same, no improvement
Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!
This issue was closed due to inactivity. If you're still experiencing this problem, please open a new issue with a link to this issue.