IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
- IDEに新しいアクションを追加したいとき
- アクションの登録やアイコンを変更したいとき
- 表示名と説明文の定義を整理したいとき
IntelliJ PlatformのSwing画面にJewel Compose UIを組み込み、ツールウィンドウやSwingコンポーネントとの橋渡しを適切に設定します。
Embed Jewel Compose UI in Swing.
実行スコア 未検証
インストール方法を見るJewel Composeで作ったUIをSwingに組み込む方法を案内します。IntelliJ Platformのツールウィンドウには addComposeTab(...)、一般的なSwingホストには JewelComposePanel など、用途に合う入口を選びます。プラグイン画面では SwingBridgeTheme を使い、Swingの色や文字設定をComposeに反映します。必要に応じて合成機能を有効にし、Compose側からホストのSwingコンポーネントを取得したり、ファイル選択やダイアログをSwingに委ねたりする方法も扱います。
IntelliJプラグインの画面をComposeで作りつつ既存のSwing UIに載せたい場合や、独自のSwingパネルにJewel UIを表示したい場合に向いています。テーマ連携、重なり順やリサイズ、Swing側のダイアログ呼び出しなど、両者の境界で必要な設定を整理できます。
対象となるIntelliJ Platformの基準バージョンとJewel APIのバージョンを確認します。合成機能の手動有効化とテーマなしの入口は実験的な経路として扱い、無限反復アニメーションでは性能に影響する場合があります。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Embed Compose/Jewel into Swing with bridge primitives from ide-laf-bridge and foundation.
Tool window tab:
toolWindow.addComposeTab(tabDisplayName = "My Tab") {
SwingBridgeTheme {
MyToolWindowContent()
}
}
Generic Swing host:
val panel = JewelComposePanel {
MyPluginComposable()
}
Manual compositing enablement (non-toolwindow entrypoint):
enableNewSwingCompositing()
val panel = JewelComposePanel { MyPluginComposable() }
Pick the simplest valid entrypoint:
ToolWindow.addComposeTab(...).compose(...) / JewelComposePanel(...).composeWithoutTheme(...) / JewelComposeNoThemePanel(...).Default to themed entrypoints; use no-theme variants only when theme wrapping is intentionally external.
Call enableNewSwingCompositing() before attaching Compose content when needed.
Notes:
ToolWindow.addComposeTab(...) already does this internally.enableNewSwingCompositing() and no-theme entrypoints as advanced/experimental paths.Use SwingBridgeTheme for IntelliJ plugin UI:
Do not use standalone IntUiTheme for plugin-hosted Swing integration.
For bidirectional operations:
LocalComponent to get the host Swing component when APIs require Component.JFileChooser, etc.) from Compose callbacks.Treat this skill as Jewel-version scoped.
Before finishing:
SwingBridgeTheme (unless deliberately no-theme).LocalComponent.addComposeTab when applicable.ComposePanel wrappers.Read these source files when implementing:
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
IntelliJのJPSテストモジュールをBazelへ移行し、Bazelだけで起きる失敗を依存関係や実行環境から切り分ける手順を案内します。
IntelliJのKotlin・Javaコードを新規作成やレビューする際に、言語の選び方、書式、型の扱い、例外処理などのプロジェクト規約に沿って整えるスキルです。
IntelliJ向けの変更を適切な単位に分け、チケットの有無に応じた形式で、理由や判断も伝わるコミットメッセージを作成・修正するスキルです。
Pythonコードの型推論や型エラーを複数の型チェッカーで比較し、各ツールの判定と診断内容をまとめたレポートを作成します。
Compose Desktopの画面で状態や副作用をどこに持たせるか整理し、表示と判断の境界、再利用部品やリストの設計を整えます。