-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Provide assistance for writing an impl block #17590
Labels
Comments
A better UX might be to write |
I'll give this a try |
@ShoyuVanilla Are you still working on this? |
No, I was just waiting for #18032 to effectively work on assist things. You could work on this if you like 😄 |
@rustbot claim |
Now after we have diagnostics for type, I can come back to work on this. @rustbot claim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I am at a type, I can select a "generate impl" assist and it will generate a block right below the type. That's useful, but often I am somewhere else in the project (might not even be the same file), and I want to generate an impl block here. Would be great if there was some way to get the assist there as well. :)
What I usually try is to write
impl TypeName
, and then my hope would be that (a) I get auto-complete (including auto-import) for the type name, and (b) I can then select an assist to generate animpl
block, and it will turn this intoThe text was updated successfully, but these errors were encountered: