Tap to add type #15784
-
Good evening, I allow myself to send you a message because I am surprised to have seen a useful feature disappear from the Rust Analyzer extension, indeed for a while I could visualize the inferred type of a variable for example and click on it to add it hard in my code. However, since some updates it is no longer possible to find this feature which as a beginner on the language was very useful to identify the type of things and have indications. And then it made it possible to add the type on the fly without having to write it. Is this change voluntary, how can I reactivate this tap parameter to add the type to a variable? Good to you and have a good evening, thanking you in advance for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 19 replies
-
Sounds like a duplicate of #15604, which should have been fixed. What version are you actually running? Just tested this, it works for me. |
Beta Was this translation helpful? Give feedback.
-
For now, you can use the stable version of VS Code and type insertion will work. |
Beta Was this translation helpful? Give feedback.
#15786 will fix this and will be available in the next nightly.
That said, if you're just learning the language, it's pretty unusual to specify every type like in your earlier screenshot. Especially in Code where you can see the exact types most of the time.