VSCodeTips

Nick Taylor
Nick Taylor

Posted on

October 14th: VS Code Tip of the Week

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.

VS Code command palette

Click on that to open your settings and add one or both of the JSON key/value pairs below.

"javascript.inlayHints.parameterNames.enabled": "all"
Enter fullscreen mode Exit fullscreen mode

or

"typescript.inlayHints.parameterNames.enabled": "all"
Enter fullscreen mode Exit fullscreen mode

Thanks Matan!

Discussion (0)