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 @@ -1296,7 +1296,11 @@ extension SourceKitServer {
1296
1296
callHierarchyProvider: . bool( true ) ,
1297
1297
typeHierarchyProvider: . bool( true ) ,
1298
1298
semanticTokensProvider: semanticTokensOptions,
1299
- inlayHintProvider: inlayHintOptions
1299
+ inlayHintProvider: inlayHintOptions,
1300
+ experimental: . dictionary( [
1301
+ " workspace/tests " : . dictionary( [ " version " : . int( 1 ) ] ) ,
1302
+ " textDocument/tests " : . dictionary( [ " version " : . int( 1 ) ] ) ,
1303
+ ] )
1300
1304
)
1301
1305
}
1302
1306
You can’t perform that action at this time.
0 commit comments