From ec81bb6890c88cf70dfa973897c9e3124a2ceda0 Mon Sep 17 00:00:00 2001 From: Pavel Kroupa <63880977+Tabonx@users.noreply.github.com> Date: Thu, 12 Mar 2026 00:59:19 +0100 Subject: [PATCH] Add references code lens command --- .../SupportTypes/SupportedCodeLensCommand.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/LanguageServerProtocol/SupportTypes/SupportedCodeLensCommand.swift b/Sources/LanguageServerProtocol/SupportTypes/SupportedCodeLensCommand.swift index c5bb22d2..7b07489a 100644 --- a/Sources/LanguageServerProtocol/SupportTypes/SupportedCodeLensCommand.swift +++ b/Sources/LanguageServerProtocol/SupportTypes/SupportedCodeLensCommand.swift @@ -29,4 +29,7 @@ public struct SupportedCodeLensCommand: Codable, Hashable, RawRepresentable, Sen /// Lens to run the playground public static let play: Self = Self(rawValue: "swift.play") + + /// Lens to show references to a symbol + public static let references: Self = Self(rawValue: "swift.references") }