Intermediate API for plugins & hiding implementation detail behind a stable facade
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- java
調査の方向性
既存のプラグインモジュールと core との相互作用をマッピングすることから始めます。この issue では、特定のファイル、テスト、エントリポイントは指定されていません。現在プラグインが Recaf のロジックにどのようにアクセスしているかを確認し、提案されている JSR-330 または CDI のアプローチを評価します。安定した中間ファサードによってプラグインのアクションをすぐに開始でき、同時に core の実装詳細が隠蔽されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Create an intermediary plugin API to allow "quickstarting" plugins. Currently the plugin module is just a plugin system, with no direct relations to Recaf's logic. If a user wanted to be able to do something like "Insert X into context menu for Classes" there should be an API of sorts to allow such things to handled internally. The user would create their MenuItem instance and pass it off to the API and the rest gets handled by us.
This will also drastically reduce the amount of developer error when making plugins our of incorrect assumptions about the internal work. Plus we can create the API as the "preferred" means of interacting with Recaf and then be free to make wild breaking changes to core so long as the API stays in-tact.
This may require a LOT of internal restructuring to implement properly, probably involving Dependency injection (JSR-330) or a more in-depth CDI setup.
- 主要言語
- Java
- スター
- 7.5k
- フォーク
- 549
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Col-E/Recaf のほかの issue
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteオープン3rd party problem bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
needs discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openfga/openfga.dev#1436 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
jooby-project/jooby#4047 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
MinecraftForge/MinecraftForge#10926 ·
メンテナーはふだん 1 日以内に返信
-
Bug feat:Syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ignatov/intellij-erlang#1342 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
commons-app/apps-android-commons#7379 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信