From 5565f27a495129a5fde45d0bdad874dc6f2b404c Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Mon, 11 May 2020 11:37:54 +0200 Subject: [PATCH] Add 'activeParameter' to `SignatureInformation` --- _specifications/specification-3-16.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/_specifications/specification-3-16.md b/_specifications/specification-3-16.md index f8b32b0..64a9032 100644 --- a/_specifications/specification-3-16.md +++ b/_specifications/specification-3-16.md @@ -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; } /**