apple / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`workspace/tests` and `document/tests` are not included in list of capabilities returned at initialization

adam-fowler opened this issue · comments

SourceKit-LSP should report whether it supports test discovery.

Tracked in Apple’s issue tracker as rdar://123771703

@adam-fowler FYI I’m also renaming document/tests to textDocument/tests in #1112. Realized that we weren’t consistent with other LSP requests here.

Cool. I've found I only needed the workspace request. It gets run after every build. Between builds I use the document symbols request to apply edits.