Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lsp: use FullDocumentation hover response#3702

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
bhcleek wants to merge1 commit intofatih:master
base:master
Choose a base branch
Loading
frombhcleek:gopls/hover/structured-deprecated

Conversation

@bhcleek
Copy link
Collaborator

Use the FullDocumentation hover response instead of Structured, because the latter is deprecated and will be removed soon.

  • Parse FullDocumentation format for use in a hover message, following the same basic format was was previously provided by gopls in its Structured format.

Fixes#3701

@bhcleekbhcleekforce-pushed thegopls/hover/structured-deprecated branch 4 times, most recently fromeef9192 tobbfd039CompareMarch 10, 2025 00:51
@bhcleekbhcleek added this to thevim-go v1.29 milestoneMar 10, 2025
Use the FullDocumentation hover response instead of Structured, becausethe latter is deprecated and will be removed soon.* Parse FullDocumentation format for use in a hover message, following  the same basic format was was previously provided by gopls in its  Structured format.* Refactor handlers that relied on the hover response to expect the  structured output from the new function that provides it.* Refactor functions that expected documentation links to first rely on  a new request, documentLink via go#lsp#DocLink, and then falling back  to trusty `go doc` to get what's needed.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

vim-go v1.30

Development

Successfully merging this pull request may close these issues.

gopls v0.18.0 deprecated hoverKind=Structured

1 participant

@bhcleek

[8]ページ先頭

©2009-2025 Movatter.jp