Closed ahoppen closed 4 months ago
Awesome I missed that went in.
Does this request need a built project?
Yes, it does. It reads the index to find the tests
@ahoppen Do these return SymbolInformation
always, or can they return DocumentSymbols
?
It currently always returns SymbolInformation
and I don’t see any reason for us to change that in the foreseeable future.
Ok that's cool. The client always has the option of both.
By the way I have something up and running. I'll be posting a PR in the next day or so.
I'm in the process of looking at these and integrating them in to the Test Explorer.
@plemarquand Please review #761 and #762 for more details about both requests. It was easier to break them out into separate issues. I going to close this in favour of the two new issues.
https://github.com/apple/sourcekit-lsp/issues/611 introduced the
workspace/tests
anddocument/tests
methods to lists all tests within a workspace or document. The VS Code extension should be using them to list the available tests.