Closed adam-fowler closed 2 months ago
When a swift file is saved, make textDocument/tests LSP request and use the response to augment the test list generated from workspace/tests.
textDocument/tests
workspace/tests
Currently we are using a middleware to parse symbols from document symbols responses. This can be disabled for Swift 6 once the above is implemented. This is the code setting it up https://github.com/swift-server/vscode-swift/blob/dfba3243e6cb97faa45037d11478e2714d4d5e17/src/TestExplorer/TestExplorer.ts#L127-L133
I can take a look at this.
Closed by #767
When a swift file is saved, make
textDocument/tests
LSP request and use the response to augment the test list generated fromworkspace/tests
.Currently we are using a middleware to parse symbols from document symbols responses. This can be disabled for Swift 6 once the above is implemented. This is the code setting it up https://github.com/swift-server/vscode-swift/blob/dfba3243e6cb97faa45037d11478e2714d4d5e17/src/TestExplorer/TestExplorer.ts#L127-L133