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

Add Client Capability Index #93

Merged
merged 5 commits into from
Oct 18, 2023
Merged

Add Client Capability Index #93

merged 5 commits into from
Oct 18, 2023

Conversation

alcarney
Copy link
Member

@alcarney alcarney commented Oct 18, 2023

Screenshot_20231018_222054

Inspired by caniuse.com this adds a section to the documentation that builds on the captured client capabilities in pytest-lsp to highlight which parts of the LSP specification are supported by which clients.

This is only a proof of concept with plenty to fix in the future

  • Only boolean capability attributes are currently supported.
  • Multiple versions of a client is not currently handled
  • Reporting on the client version does not tell the whole story... e.g. VSCode itself might support inlay hints from version X, but vscode-languageclient must also be at version Y to enable it!
  • Missing client data! - Pull requests welcome! 😄

This extension will provide directives for constructing tables
showcasing which versions of which clients support a given capability.

There's a long way to go as only `bool` attributes and a single version
of a client are currently supported.
@alcarney alcarney merged commit 411b962 into swyddfa:develop Oct 18, 2023
14 checks passed
@alcarney alcarney deleted the can-i-use branch October 18, 2023 21:33
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.

1 participant