Skip to content
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

Upgrade lsp #1911

Merged
merged 2 commits into from
Aug 25, 2020
Merged

Upgrade lsp #1911

merged 2 commits into from
Aug 25, 2020

Conversation

david-driscoll
Copy link
Member

  • Added LSP publish diagnostic tests
  • Added diagnostic helper methods to AbstractLanguageServerTestBase
  • OmniSharp events were not sending with the expected name (all lower case)
  • Added Diagnostic tags
  • Ensure LSP interop is always using parallel requests and responses - Avoids sending extra Content Modified errors,

LSP update Fixes: #1898

Added diagnostic related helper methods to the base test class
@david-driscoll
Copy link
Member Author

The diagnostic changes were really triggered by working on the LSP Engine in vscode, as I'm working through getting all the integration tests to pass.

Copy link
Member

@bjorkstromm bjorkstromm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@filipw
Copy link
Member

filipw commented Aug 25, 2020

thanks!

@filipw filipw merged commit 0240f22 into master Aug 25, 2020
@filipw filipw deleted the upgrade-lsp branch August 25, 2020 08:08
razzmatazz added a commit to razzmatazz/lsp-mode that referenced this pull request Sep 20, 2020
These were added by
OmniSharp/omnisharp-roslyn#1911
to facilitate legacy clients (i.e. vscode) that will be transitioning to
LSP.
ericdallo pushed a commit to emacs-lsp/lsp-mode that referenced this pull request Sep 21, 2020
* lsp-csharp: ignore interop notifications

These were added by
OmniSharp/omnisharp-roslyn#1911
to facilitate legacy clients (i.e. vscode) that will be transitioning to
LSP.

* lsp-csharp: add handler for the 'o#/error' notification

This improves diagnostic procedure when projects cannot be loaded for
some reason.

* lsp-csharp: use &omnisharp:ErrorMessage to decompose params

As per code review

* lsp-csharp: use lsp-defun for lsp-csharp--handle-os-error

* lsp-csharp: doc string fix for lsp-csharp--handle-os-error
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.

Exception with Emacs+LSP with v1.37.0
3 participants