Include Default Parameter Values in Signature Help #16665
Comments
|
|
|
See feedback request here for also showing this information via the JsDoc comments: https://developercommunity.visualstudio.com/content/problem/230423/jsdoc.html |
|
Any Update on this? |
|
Updates? |
|
Also interested in updates. |
|
Hi #27442 was closed but how do I show default value ? I tried ctrl+shift+space on optional parameter but it did bot show the default value at all. |
|
@qiulang it's not implemented. that bug was closed because it's a duplicate of this one, but this one is still open and unaddressed. |
|
This would be great. It's something you kind of just expect to be there, and could cause someone not familiar to assume that the default is undefined, which may be confusing in certain contexts. |
|
Also applicable to JS, not just TS |
|
Any Updates on this? |
|
Make sure you give a |
|
this is really frustrating as the work around are all pretty hacky and make the jsdocs less helpful in other ways :( |
|
Would like to have this for jsdocs also |
|
for JSDoc JavaScript IntelliSense too |
|
any update on this? |
|
Not sure if there has been any activity on this but I am also quite interested in this. I've been forced to add the default as a part of my description for each variable. |
From microsoft/vscode#28925
TypeScript Version: 2.4.0
Feature Request
signatureHelpcurrent shows when a parameter is optional but does not include any information about that parameter's default value:Result of TSServer
signatureHelponfooWhen the default value is a simple literal type, it would be helpful to display this default value in the signature help. This information could be included in the
displayPartsresponseThe text was updated successfully, but these errors were encountered: