Add 'activeParameter' to SignatureInformation

This commit is contained in:
Dirk Baeumer 2020-05-11 11:37:54 +02:00
parent e735867149
commit 5565f27a49

View file

@ -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;
}
/**