Skip to content

Expose DescWindowVisibility and toggle key on LanguageSupport - #122

Merged
bobbylight merged 1 commit into
masterfrom
desc-window-visibility
Oct 23, 2026
Merged

bobbylight merged 1 commit into
masterfrom
desc-window-visibility

Conversation

@bobbylight

Copy link
Copy Markdown
Owner

Summary

  • Breaking: remove LanguageSupport#get/setShowDescWindow(boolean) in favor of get/setDescWindowVisibility(DescWindowVisibility), giving consumers access to ALWAYS, ON_DEMAND and NEVER (previously ON_DEMAND was unreachable after the AutoComplete 4.0 port)
  • Add get/setDescWindowToggleKey(KeyStroke); both settings are per-LanguageSupport and pushed to all installed AutoCompletions, like the other options
  • New AbstractLanguageSupport#configureDescWindow(AutoCompletion) replaces the duplicated boolean-to-enum ternaries in the abstract class, Java and JavaScript support
  • Defaults match prior behavior: NEVER unless a language's constructor opts in with ALWAYS; toggle key defaults to AutoComplete's (Ctrl+Shift+Space)
  • Add AbstractLanguageSupportTest

Test plan

  • ./gradlew build (includes checkstyle and tests)

🤖 Generated with Claude Code

@bobbylight bobbylight self-assigned this Oct 17, 2026
@bobbylight bobbylight added this to the 4.0.0 milestone Oct 17, 2026
Replace get/setShowDescWindow(boolean) with get/setDescWindowVisibility(DescWindowVisibility),
which adds access to ON_DEMAND, and add get/setDescWindowToggleKey(KeyStroke).
AbstractLanguageSupport applies both to every installed AutoCompletion.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bobbylight
bobbylight force-pushed the desc-window-visibility branch from 14d418d to c7247b3 Compare October 17, 2026 22:08
@bobbylight
bobbylight merged commit 5282aa1 into master Oct 23, 2026
4 checks passed
@bobbylight
bobbylight deleted the desc-window-visibility branch October 23, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant