Skip to content

Commit fd417c7

Browse files
committed
Add a todo note
1 parent 49d5134 commit fd417c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SourceKitLSP/Swift/MacroExpansion.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ extension SwiftLanguageService {
219219

220220
if case .dictionary(let experimentalCapabilities) = self.capabilityRegistry.clientCapabilities.experimental,
221221
case .bool(true) = experimentalCapabilities["workspace/peekDocuments"]
222+
// TODO: Check if client supports LSP 3.18's workspace/textDocumentContent
222223
{
223224
let expansionURIs = try macroExpansionReferenceDocumentURLs.map {
224225
return DocumentURI(try $0.url)

0 commit comments

Comments
 (0)