'Viewing function parameters in VSCode

In PhpStorm, we see the expected parameter when using the function. Is this possible with VSCode? I searched but found no answer.



Solution 1:[1]

As described here, inlay hints are available with VSCode 1.60 (for Javascript and Typescript.

This was requested in microsoft/language-server-protocol issue 956 and is not directly supported by LSP yet.

But for the languages (javascript/Typescript) that VSCode currently supports, VSCode 1.65 (Feb. 2022) will come with "inlay hint double click gesture", and the setting vscode.InlayHint.command to associate a command to said double-click.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 VonC