This week's tip of the week comes from Matan on Twitter. With a tweak to your VS Code settings for JavaScript, TypeScript or both, you can have inlay hints for parameter names.
Press CTRL (CMD on macOS) + Shift + P to open VS Code's command palette. From there type in settings
and the settings in JSON format should appear.
Click on that to open your settings and add one or both of the JSON key/value pairs below.
"javascript.inlayHints.parameterNames.enabled": "all"
or
"typescript.inlayHints.parameterNames.enabled": "all"
![]()
Matan Borenkraout@matanbobi
VSCode Tip ⚡️
In @code 1.60.0, you can get inlay hints for parameter names.
Just enable it by setting: "javascript.inlayHints.parameterNames.enabled": "all"
or
"typescript.inlayHints.parameterNames.enabled": "all"11:46 AM - 12 Oct 2021
Thanks Matan!
Discussion (0)