Skip to content

Add missing semantic token modifier parameterLabel to documentation - #2738

Open
jansorg wants to merge 2 commits into
swiftlang:mainfrom
jansorg:patch-1
Open

Add missing semantic token modifier parameterLabel to documentation#2738
jansorg wants to merge 2 commits into
swiftlang:mainfrom
jansorg:patch-1

Conversation

@jansorg

@jansorg jansorg commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Sync the semantic token modifiers with https://github.com/swiftlang/swift-tools-protocols/blob/main/Sources/LanguageServerProtocol/SupportTypes/SemanticTokenModifiers.swift

A commit in swift-tools-protocols added parameterLabel, which is not yet documented here.

As far as I understand, both should be in sync.
I was unable to actually see parameterLabel being returned in the list of available modifiers with Swift 6.3.3. But that may be caused by just testing with Objective-C files?

Sync the semantic token modifiers with swift-tools-protocols
@jansorg jansorg changed the title Update LSP Extensions.md Add missing semantic token modifier parameterLabel to documentation Jul 28, 2026
Comment thread Contributor Documentation/LSP Extensions.md Outdated
Co-authored-by: Rintaro Ishizaki <fs.output@gmail.com>
@jansorg

jansorg commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the suggestion. It's applied now.

@ahoppen

ahoppen commented Jul 29, 2026

Copy link
Copy Markdown
Member

@swift-ci Please test

@ahoppen

ahoppen commented Jul 30, 2026

Copy link
Copy Markdown
Member

@swift-ci Please test Windows

@ahoppen

ahoppen commented Aug 3, 2026

Copy link
Copy Markdown
Member

Windows failure is unrelated. Let’s try again

@swift-ci Please test Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants