Skip to content

Send didSave notifications to clangd if it supports it #280

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
Jun 3, 2020

Conversation

DavidGoldman
Copy link
Contributor

  • Minor update to the LSP protocol for didSave and colorProvider to be more in line with the spec
  • Only send color requests over to clangd if it supports it

Rationale for this change: clangd recently implemented didSave support, it is used to rebuild preambles when the user edits a header file referenced by an open file.

- Minor update to the LSP protocol for `didSave` and `colorProvider` to be more in line with the spec
- Only send color requests over to clangd if it supports it

Rationale for this change: clangd recently implemented didSave support,
it is used to rebuild preambles when the user edits a header file
referenced by an open file.

Change-Id: Ie6e2198bdeccb9d1b4083806c254475baadc2d2b
@DavidGoldman DavidGoldman requested a review from benlangmuir as a code owner June 1, 2020 18:39
@DavidGoldman
Copy link
Contributor Author

@swift-ci please test

Change-Id: I84c4fdc9db467fb5f4375edc50969674bdcc782e
@DavidGoldman
Copy link
Contributor Author

@swift-ci please test

2 similar comments
@DavidGoldman
Copy link
Contributor Author

@swift-ci please test

@DavidGoldman
Copy link
Contributor Author

@swift-ci please test

@DavidGoldman
Copy link
Contributor Author

Friendly ping on the review

@benlangmuir benlangmuir merged commit 8b57352 into swiftlang:master Jun 3, 2020
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