Skip to content

Make workspace/synchronize a non-experimental request #2092

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 1 commit into from
Mar 27, 2025

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 26, 2025

This request is generally useful, not only for tests within SourceKit-LSP but also:

  • In editor tests that want to test the integration with SourceKit-LSP
  • In code analysis tools that want to gather project information using SourceKit-LSP and need an up-to-date index for that.

Remove the experimental feature guard from workspace/_synchronize, consequently rename it to workspace/synchronize and only guard the buildServerUpdates option on the synchronize request by an experimental feature because its long-term usefulness is still not fully understood yet.

This request is generally useful, not only for tests within SourceKit-LSP but also:
- In editor tests that want to test the integration with SourceKit-LSP
- In code analysis tools that want to gather project information using SourceKit-LSP and need an up-to-date index for that.

Remove the experimental feature guard from `workspace/_synchronize`, consequently rename it to `workspace/synchronize` and only guard the `buildServerUpdates` option on the synchronize request by an experimental feature because its long-term usefulness is still not fully understood yet.
ahoppen added a commit to ahoppen/swift-integration-tests that referenced this pull request Mar 26, 2025
swiftlang/sourcekit-lsp#2092 changes the synchronize request to no longer be experimental.
@ahoppen
Copy link
Member Author

ahoppen commented Mar 26, 2025

@swift-ci Please test

@ahoppen ahoppen merged commit 374554b into swiftlang:main Mar 27, 2025
3 checks passed
@ahoppen ahoppen deleted the official-synchronization branch March 27, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants