Type as comment

Can we make the variale’s type as comment like the rust-analyser do?

This may make the code more easier to understand and write.

There’s an ongoing PR to add support for inlay hints here: https://github.com/rescript-lang/rescript-vscode/pull/453


@zth Thanks! Very happy to know that this work is ongoing. Would you tell me what time it will be updated in the latest editor plugin? The PR seems inactive about two more weeks, i can’t wait it any more.:pray::pray::pray:

1 Like

The feature will be released when it’s ready. No ETA.

1 Like

A basic, experimental version of this feature has landed and will be included (behind a flag) in the next extension release (very soon). https://github.com/rescript-lang/rescript-vscode/pull/453


Nice work, exciting!!!