Repository navigation
Use the Kotlin UI DSL list renderer in the Comark style panel - #53
Merged
Merged
Conversation
The Plugin Verifier reports SimpleListCellRenderer.create(...) as scheduled for removal on 2026.3. Use textListCellRenderer(extractor), public and not deprecated since 2026.1 (the overload with a null text is internal, so it is not used). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGGeqcwjamvMDTrazMJWkz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
The JetBrains Marketplace validation of Comark 2026.3.15 reports:
#44 had already moved off
create(String, Function), but the replacementcreate(Customizer)is scheduled for removal on newer platforms too. Its only use is the combo box renderer in Code Style › Comark › Style (ComarkStylePanel.combo).Fix
Use
com.intellij.ui.dsl.listCellRenderer.textListCellRenderer(textExtractor), the Kotlin UI DSL renderer. I checked the 2026.1 platform jar (intellij.platform.ide.jar, IU-261):@ApiStatus.Internal, so it isn't used.No
SimpleListCellRendererremains insrc/main. There is no user-visible change, so no changelog entry.How it was tested
ComarkStylePanelTestandComarkStyleSettingsTestpass; the panel builds every combo box with the new renderer.Generated by Claude Code