Skip to content

[sourcekit] Retain semantic annotations across queries #32628

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 2 commits into from
Jul 1, 2020

Conversation

benlangmuir
Copy link
Contributor

Do not remove semantic annotations, so that if a client sends multiple
magic replacetext 0, 0, "" requests they will all return the same
result. This makes sourcekitd more robust around providing semantic
highlighting if the editor may make multiple queries for document
update.

rdar://64904029

Do not remove semantic annotations, so that if a client sends multiple
magic replacetext 0, 0, "" requests they will all return the same
result. This makes sourcekitd more robust around providing semantic
highlighting if the editor may make multiple queries for document
update.

rdar://64904029
@benlangmuir
Copy link
Contributor Author

@swift-ci please test

@benlangmuir benlangmuir requested a review from akyrtzi June 30, 2020 21:02
@benlangmuir
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@benlangmuir
Copy link
Contributor Author

@swift-ci please test

@benlangmuir
Copy link
Contributor Author

@swift-ci please test Windows

1 similar comment
@benlangmuir
Copy link
Contributor Author

@swift-ci please test Windows

@benlangmuir benlangmuir merged commit 35eab3e into swiftlang:master Jul 1, 2020
benlangmuir added a commit to benlangmuir/swift that referenced this pull request Jul 15, 2020
This reverts commit 35eab3e, reversing
changes made to d5a549a.

This caused an unexpected regression.

rdar://65554791
jirid pushed a commit to jirid/swift that referenced this pull request Jul 15, 2020
…e-master

Revert "Merge pull request swiftlang#32628 from benlangmuir/sema-repeat"
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