8000 Fix completion, code formatting, and hover help for dartls by farhaven · Pull Request #83 · 9fans/acme-lsp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix completion, code formatting, and hover help for dartls #83

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

farhaven
Copy link
Contributor
@farhaven farhaven commented Apr 29, 2025

The Dart LSP insists on getting the invocation kind for completions, and on the diagnostics for the "Format" code action to be empty, but not null.

Dart's LS sends hover help responses as the deprecated protocol.MarkedString instead of protocol.MarkupContent.

This requires a tweak to the generated LSP protocol code as well, so it should probably be merged after the generated code has been updated and the replace override in go.mod has been removed.

The Dart LSP insists on getting the invocation kind for completions,
and on the diagnostics for the "Format" code action to be empty,
but _not_ `null`.

Dart's LS sends hover help responses as the deprecated
protocol.MarkedString instead of protocol.MarkupContent.

This requires [a tweak to the generated LSP protocol code](9fans/go-lsp-internal#4) as well.
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
0