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: update to lsprotocol-2024.0.0b1 #499

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

karthiknadig
Copy link
Contributor

Description (e.g. "Related to ...", etc.)

Updating lsprotocol to the latest version. Includes proposed LLM features.

Code review checklist (for code reviewer to complete)

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Commit messages are meaningful (see this for details)
  • Tests have been included and/or updated, as appropriate
  • Docstrings have been included and/or updated, as appropriate
  • Standalone docs have been updated accordingly

Automated linters

You can run the lints that are run on CI locally with:

poetry install --all-extras --with dev
poetry run poe lint

alcarney
alcarney previously approved these changes Oct 4, 2024
Copy link
Collaborator

@alcarney alcarney left a comment

Choose a reason for hiding this comment

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

Overall looks good to me :)

@@ -67,6 +67,7 @@ def code_actions(params: types.CodeActionParams):
title=f"Evaluate '{match.group(0)}'",
kind=types.CodeActionKind.QuickFix,
edit=types.WorkspaceEdit(changes={document_uri: [text_edit]}),
tags=[types.CodeActionTag.LlmGenerated],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhaps we could drop this? It's nice to be able to show the new features of lsprotocol but I wonder if it might confuse someone new to language servers into thinking it's required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes we can. I will make the update.

@karthiknadig
Copy link
Contributor Author

@alcarney Sorry for a delayed update. I have removed the LLM tag from the tests.

Copy link
Collaborator

@alcarney alcarney left a comment

Choose a reason for hiding this comment

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

No worries, thanks very much! :)

@alcarney alcarney merged commit 06f155e into openlawlibrary:main Oct 15, 2024
16 checks passed
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