Skip to content

Conversation

@dingyi222666
Copy link
Contributor

@dingyi222666 dingyi222666 commented Nov 1, 2025

This PR adds support for hover window color scheme customization in the LSP editor.

Bug Fixes

  • Add missing color scheme support for LSP hover windows (HOVER_BACKGROUND, HOVER_TEXT_NORMAL, HOVER_TEXT_HIGHLIGHTED)
  • Ensures hover windows properly respect the editor's color scheme settings
  • Fix duplicate editor instances by using getOrCreateEditor instead of createEditor in BaseLspConnector

Note

Need merge upstream updates from sora-editor (Rosemoe/sora-editor#733) in soraX submodule, which includes bug fixes for lsp.

Add HOVER_BACKGROUND, HOVER_TEXT_NORMAL, and HOVER_TEXT_HIGHLIGHTED
color scheme entries to ensure LSP hover windows use proper theming
consistent with other editor UI elements like completion and diagnostic
tooltips.
Change BaseLspConnector to use getOrCreateEditor() instead of createEditor()
to avoid creating duplicate editor instances for the same file.
@RohitKushvaha01 RohitKushvaha01 merged commit c141749 into Xed-Editor:main Nov 2, 2025
@dingyi222666 dingyi222666 deleted the fix/lsp-window-color branch November 2, 2025 09:52
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