Hacker News new | ask | show | jobs
by nurettin 691 days ago
I'm all for named parameters. C++ is sorely lacking that feature as well.

Currently using vs code with C++, I like how it handles the missing language feature by adding a grayed out parameter name before the value for function calls and initializers. Maybe there is something like that for rust.

2 comments

These are called "inlay hints" and exist for most editors/languages.
Yes, editors can be configured to do the same thing for rust.