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

chore: Add more tests for code locations in LSP features #4503

Merged
merged 53 commits into from
Jul 27, 2024

Conversation

necto
Copy link
Contributor

@necto necto commented Jul 21, 2024

Building on top of #4502 (which is included in this branch at the moment, so it should be merged before the review of this PR), this change adds tests for additonal features that use code positions or ranges in the messages coming from LSP server:

  • Code action with embedded code edits
  • Gratuitous edit request coming from the LSP server (normally in response to a code-action command activation)
  • Code lens
  • Document formatting
  • Document highlight
  • Folding range
  • Find references
  • Go to definition / declaration
  • Inlay hints

As such, I consider it reaches the good enough coverage of the potentially affected code in the light of refactoring as outlined in #4501

necto added 30 commits July 17, 2024 08:15
@jcs090218
Copy link
Member

Some tests aren't passing. 🤔

@necto
Copy link
Contributor Author

necto commented Jul 23, 2024

Yep, indeed. I'll look into why

@necto
Copy link
Contributor Author

necto commented Jul 23, 2024

Fixed! 🎉

@jcs090218 jcs090218 merged commit 8b119d8 into emacs-lsp:master Jul 27, 2024
10 of 13 checks passed
@jcs090218
Copy link
Member

Thank you!

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