Skip to content

Fix test explorer tests not updating on document modification #1663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 30, 2025

Conversation

plemarquand
Copy link
Contributor

The LSP client was being created too early, before the imperative set of the documentSymbolWatcher on the client. Consequently we weren't making the textDocument/tests request when symbols updated in a test file.

The LSP client was being created too early, before the imperative set of
the `documentSymbolWatcher` on the client. Consequently we weren't
making the `textDocument/tests` request when symbols updated in a test
file.
@plemarquand plemarquand force-pushed the document-symbols-fix branch 7 times, most recently from ae5ed83 to 1661807 Compare June 28, 2025 17:00
@plemarquand plemarquand force-pushed the document-symbols-fix branch from 1661807 to b55c3d1 Compare June 28, 2025 18:48
@plemarquand plemarquand merged commit da07bbd into swiftlang:main Jun 30, 2025
18 checks passed
@plemarquand plemarquand deleted the document-symbols-fix branch June 30, 2025 12:42
@award999 award999 added the needs verification Issue has been fixed, but requires verification before closing label Jul 2, 2025
@award999 award999 moved this to Needs Verification in Swift Extension for Visual Studio Code Jul 2, 2025
@award999 award999 self-assigned this Jul 2, 2025
@award999
Copy link
Contributor

award999 commented Jul 2, 2025

Verified with c4e3c03

@award999 award999 removed their assignment Jul 2, 2025
@award999 award999 removed the needs verification Issue has been fixed, but requires verification before closing label Jul 2, 2025
@award999 award999 moved this from Needs Verification to Done in Swift Extension for Visual Studio Code Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants