Skip to content

Commit 9e35a8d

Browse files
authored
Fixes #2080: deprecate the top-level activeParameter property or update the documentation to clearly explain why there are two of them (#2211)
1 parent 60f9a8f commit 9e35a8d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

_specifications/lsp/3.17/language/signatureHelp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ export interface SignatureHelp {
221221
* lies outside the range of `signatures[activeSignature].parameters`
222222
* defaults to 0 if the active signature has parameters. If
223223
* the active signature has no parameters it is ignored.
224-
* In future version of the protocol this property might become
225-
* mandatory to better express the active parameter if the
226-
* active signature does have any.
224+
*
225+
* Since version 3.16.0 the `SignatureInformation` itself provides a
226+
* `activeParameter` property and it should be used instead of this one.
227227
*/
228228
activeParameter?: uinteger;
229229
}

_specifications/lsp/3.18/language/signatureHelp.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,8 @@ export interface SignatureHelp {
240240
*
241241
* If the active signature has no parameters, it is ignored.
242242
*
243-
* In future versions of the protocol this property might become
244-
* mandatory (but still nullable) to better express the active parameter if
245-
* the active signature does have any.
243+
* Since version 3.16.0 the `SignatureInformation` itself provides a
244+
* `activeParameter` property and it should be used instead of this one.
246245
*/
247246
activeParameter?: uinteger | null;
248247
}

0 commit comments

Comments
 (0)