Skip to content

Minor improvements to SwiftLanguageServer.swift #927

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
Oct 26, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 26, 2023

  • Introduce a new sub-logging scope for the implicitly triggered publish diagnostics notification
    • Just makes it clearer why some logs are being triggered if you know that it’s for the publish diagnostics notification.
  • Don’t log a fault if the publish diagnostics notification is cancelled
    • Cancelling the publish diagnostics notificaiton because there was an edit is totally normal and nothing to be logged at the fault level.
  • Format SwiftLanguageServer.swift

…h diagnostics notification

Just makes it clearer why some logs are being triggered if you know that it’s for the publish diagnostics notification.
Cancelling the publish diagnostics notificaiton because there was an edit is totally normal and nothing to be logged at the `fault` level.
@ahoppen
Copy link
Member Author

ahoppen commented Oct 26, 2023

@swift-ci Please test

@ahoppen ahoppen merged commit 87dd95e into swiftlang:main Oct 26, 2023
@ahoppen ahoppen deleted the ahoppen/mini-improvements branch October 26, 2023 16:50
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