Creates a new signature information object.
A label string.
A doc string.
The label of this signature. Will be shown in the UI.
The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.
The parameters of this signature.
The index of the active parameter.
If provided, this is used in place of SignatureHelp.activeSignature
.
友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场
Represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.