File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
LanguageServerProtocol/Requests Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 14
14
///
15
15
/// **(LSP Extension)**
16
16
public struct DocumentTestsRequest : TextDocumentRequest , Hashable {
17
- public static let method : String = " document /tests"
17
+ public static let method : String = " textDocument /tests"
18
18
public typealias Response = [ WorkspaceSymbolItem ] ?
19
19
20
20
public var textDocument : TextDocumentIdentifier
Original file line number Diff line number Diff line change @@ -1288,7 +1288,11 @@ extension SourceKitServer {
1288
1288
callHierarchyProvider: . bool( true ) ,
1289
1289
typeHierarchyProvider: . bool( true ) ,
1290
1290
semanticTokensProvider: semanticTokensOptions,
1291
- inlayHintProvider: inlayHintOptions
1291
+ inlayHintProvider: inlayHintOptions,
1292
+ experimental: . dictionary( [
1293
+ " workspace/tests " : . dictionary( [ " version " : . int( 1 ) ] ) ,
1294
+ " textDocument/tests " : . dictionary( [ " version " : . int( 1 ) ] ) ,
1295
+ ] )
1292
1296
)
1293
1297
}
1294
1298
You can’t perform that action at this time.
0 commit comments