Skip to content

Conversation

@smitbarmase
Copy link
Member

Closes #36938

Follow up to #36554

When registerOptions is None, we should fall back instead of skipping capability registration.

  1. Option<OneOf<bool, T>>, where T is struct – handled in the attached PR ✅
  2. Option<T>, where T is an enum that can be Simple(bool) or Options(S) – this PR ✅
  3. Option<T>, where T is struct – we should fall back to default values for these options ⚠️

Release Notes:

  • Fixed an issue where hover popovers would not appear in language servers like Java.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Aug 27, 2025
@smitbarmase smitbarmase merged commit ea347b0 into main Aug 27, 2025
21 checks passed
@smitbarmase smitbarmase deleted the handle-caps-parse-to-simple-bool branch August 27, 2025 07:30
tidely pushed a commit to tidely/zed that referenced this pull request Sep 10, 2025
…ons doesn't exist (zed-industries#36984)

Closes zed-industries#36938

Follow up to zed-industries#36554

When `registerOptions` is `None`, we should fall back instead of
skipping capability registration.

1. `Option<OneOf<bool, T>>`, where `T` is struct – handled in the
attached PR ✅
2. `Option<T>`, where `T` is an enum that can be `Simple(bool)` or
`Options(S)` – this PR ✅
3. `Option<T>`, where `T` is struct – we should fall back to default
values for these options ⚠️

Release Notes:

- Fixed an issue where hover popovers would not appear in language
servers like Java.
FrGoIs pushed a commit to FrGoIs/zed that referenced this pull request Sep 29, 2025
…ons doesn't exist (zed-industries#36984)

Closes zed-industries#36938

Follow up to zed-industries#36554

When `registerOptions` is `None`, we should fall back instead of
skipping capability registration.

1. `Option<OneOf<bool, T>>`, where `T` is struct – handled in the
attached PR ✅
2. `Option<T>`, where `T` is an enum that can be `Simple(bool)` or
`Options(S)` – this PR ✅
3. `Option<T>`, where `T` is struct – we should fall back to default
values for these options ⚠️

Release Notes:

- Fixed an issue where hover popovers would not appear in language
servers like Java.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LSP Client no longer sends textDocument/hover after version 0.200.4

2 participants