Closed waderyan closed 7 years ago
@OverlyExcessive thank you for opening this issue.
If I'm understanding you correctly, in VS Code 1.5.3 you are not seeing parameter information for p3 and p4. By parameter information do you mean type information?
Using the latest VS Code Insiders 1.6 (you can download that here), I am not seeing the issue.
Please confirm that I understand you correctly and that I am not seeing the issue in the latest bits. If I misunderstood please send a screenshot of what you are seeing.
From @OverlyExcessive on October 6, 2016 20:16
@waderyan
Thank you for the quick reply. What I mean by parameter information is not the type information, rather the parameter description that will be supplied as you are entering the parameters in order. I have attached of how it looks for the first parameters below:
And the missing parameter info here:
I hope this clarifies what I meant.
@OverlyExcessive thank you for clarifying. This has been confirmed with the latest bits. Moving to TS repo.
Should be working correctly in latest drop of TypeSript (TS 2.1.4 or later). VSCode ships with an older version of TypeScript. Please see Using Newer TypeScript Versions documentation for more details on updating your VSCode to use a different version of TypeScript.
I hate to re-open this, but I don't know if it has been corrected, as I am having the same issue.
VS Code will not display comments about each parameter.
VS Code July 2017 v. 1.15 TSC Version 2.4.2
From @OverlyExcessive on October 5, 2016 12:8
According to the documentation of JSDoc support in VSCode, posted below. Then optional parameters can be declared in all of the below forms. However it seems that as of VSCode 1.5.3 the last two forms the latter two forms in the sample will not display parameter information.
Copied from original issue: Microsoft/vscode#13243