-
Notifications
You must be signed in to change notification settings - Fork 328
Rename getReferenceDocument
request to textDocumentContent
#1639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 7 commits
5db1179
49d5134
fd417c7
066c385
a7f9382
1dc0213
6e07e52
af99d89
6ca4d95
88ca0c6
9702a28
dd7669a
99836e0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,8 +218,8 @@ extension SwiftLanguageService { | |
} | ||
|
||
if case .dictionary(let experimentalCapabilities) = self.capabilityRegistry.clientCapabilities.experimental, | ||
case .bool(true) = experimentalCapabilities["workspace/peekDocuments"], | ||
case .bool(true) = experimentalCapabilities["workspace/getReferenceDocument"] | ||
case .bool(true) = experimentalCapabilities["workspace/peekDocuments"] | ||
// TODO: Check if client supports LSP 3.18's workspace/textDocumentContent | ||
|
||
{ | ||
let expansionURIs = try macroExpansionReferenceDocumentURLs.map { | ||
return DocumentURI(try $0.url) | ||
|
Uh oh!
There was an error while loading. Please reload this page.