Closed Leikoe closed 13 hours ago
I'm guessing it has to do with this https://rust-analyzer.github.io/manual.html#missing-fields
There's already a code action to fill missing struct fields + the diagnostics:
There's already a code action to fill missing struct fields + the diagnostics:
Thank you so much, I've searched for this for the longest time. Sorry to have wasted your time : (
No worries! I hope you're having blast using Zed :)
No worries! I hope you're having blast using Zed :)
Thank you so much, I AM ! 😁
Check for existing issues
Describe the feature
In rust rover, when writing the struct initialization syntax (in rust), the ide has an "Add missing fields" prompt which can, when clicked, add all the missing fields and their respective type's default value.
Environment
Zed: v0.162.3 (Zed) OS: macOS 15.1.0 Memory: 16 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help present your vision of the feature
No response