Replies: 1 comment
-
This should be asked upstream in rust-analyzer. We don't modify / extend what the language server sends for completions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the above example, when the cursor is placed as stated above, you get a suggestion for only completing to
CompactMerkleMultiProof
but not one to fill out the fields of this struct... I would like a method there to select I want to auto populate the struct. Present behavior is I must compelete the struct and append{}
to have a chance at the lsp suggeting to fill out fields:Only then do I get an prompt to fill fields, that feels really round-about vs an additional option when writing out the partial name of the struct. IMHO this should be a secondary option as most of the time I do just want the struct name.
Is there some way to add this myself, or should this be a feat req. ?
Beta Was this translation helpful? Give feedback.
All reactions