Open
Description
See helix-editor/helix#8263 for the details (I assumed wrongly this was an IDE issue) for a minimal viable example of the issue and feat req.
I would think the empty {}
should be omitted.
I also would think that completion options for the incomplete struct name should include one that completes the name and the fields populated with todo!()
rather than ()
.
This is a bug, but a tiny feature request to tweak the behavior of the suggestions when completing an item that has fields that can be filled in.
rust-analyzer version: rust-analyzer 1.72.0 (5680fa1 2023-08-23)
rustc version: rustc 1.72.0 (5680fa18f 2023-08-23)
relevant settings: None