From 4474d0b6cc4ba5657a62db3c88853482362a5b57 Mon Sep 17 00:00:00 2001 From: Joachim Ansorg Date: Tue, 28 Jul 2026 21:02:49 +0200 Subject: [PATCH 1/2] Update LSP Extensions.md Sync the semantic token modifiers with swift-tools-protocols --- Contributor Documentation/LSP Extensions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Contributor Documentation/LSP Extensions.md b/Contributor Documentation/LSP Extensions.md index 099d5c483..a7dcb6497 100644 --- a/Contributor Documentation/LSP Extensions.md +++ b/Contributor Documentation/LSP Extensions.md @@ -59,6 +59,8 @@ functionScope = 'functionScope' classScope = 'classScope' fileScope = 'fileScope' globalScope = 'globalScope' +// Marks a token as a parameter label in a function signature or call. +parameterLabel = 'parameterLabel' ``` ## Semantic token types From 079301b2b9c57f8b5197711d75e91f2950cd91ff Mon Sep 17 00:00:00 2001 From: Joachim Ansorg Date: Wed, 29 Jul 2026 09:11:38 +0200 Subject: [PATCH 2/2] Update Contributor Documentation/LSP Extensions.md Co-authored-by: Rintaro Ishizaki --- Contributor Documentation/LSP Extensions.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Contributor Documentation/LSP Extensions.md b/Contributor Documentation/LSP Extensions.md index a7dcb6497..2092bdcba 100644 --- a/Contributor Documentation/LSP Extensions.md +++ b/Contributor Documentation/LSP Extensions.md @@ -59,7 +59,14 @@ functionScope = 'functionScope' classScope = 'classScope' fileScope = 'fileScope' globalScope = 'globalScope' -// Marks a token as a parameter label in a function signature or call. +``` + +Added case + +```ts +/** + * Marks a token as a parameter label in a function signature or call. + */ parameterLabel = 'parameterLabel' ```