mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Add 'activeParameter' to SignatureInformation
This commit is contained in:
parent
e735867149
commit
5565f27a49
1 changed files with 17 additions and 0 deletions
|
|
@ -3726,6 +3726,14 @@ export interface SignatureHelpClientCapabilities {
|
|||
*/
|
||||
labelOffsetSupport?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* The client support the `activeParameter` property on `SignatureInformation`
|
||||
* literal.
|
||||
*
|
||||
* @since 3.16.0 - proposed state
|
||||
*/
|
||||
activeParameterSupport?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -3905,6 +3913,15 @@ export interface SignatureInformation {
|
|||
* The parameters of this signature.
|
||||
*/
|
||||
parameters?: ParameterInformation[];
|
||||
|
||||
/**
|
||||
* The index of the active parameter.
|
||||
*
|
||||
* If provided, this is used in place of `SignatureHelp.activeSignature`.
|
||||
*
|
||||
* @since 3.16.0 - proposed state
|
||||
*/
|
||||
activeParameter?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue