Use language server label as background job name if available #367
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently when something unexpected happens in the communication between LSP4E and a Language Server, never ending "Language Server Background Job" entries appear in the progress view.
This PR replaces the label "Language Server Background Job" with the actual name/label of the language server, which simplifies troubleshooting and helps end-users to isolate the offending plugin.
Before:
![image](https://user-images.githubusercontent.com/426959/212497479-c9aae9c3-fba0-44d8-8c81-09bd2b0e5689.png)
![image](https://user-images.githubusercontent.com/426959/212497504-23ab51bb-28e5-4f6e-9587-5cd4ce344075.png)
After: