Support extensions from globally activated pub packages
- 主要言語
- Dart
- スター
- 1.7k
- フォーク
- 404
- 平均マージ
- 6日 17時間
- マージ済み PR(30日)
- 18
説明
An example of an extension that fits this use case would be an arbitrary development tool package (like an AI-assisted development experience extension or a tool that interacts with the Dart analysis server). These extensions may be runtime or static extensions.
It would be a bit awkward to require a user to add a dev_dependency to every Dart project where they want to use this DevTools extension, since tools like these are not specific to a Dart / Flutter project, but rather to the general Dart / Flutter development experience. The workflow for an end user would be:
1. `dart pub global activate some_pkg`
2. If `some_pkg` provides a DevTools extension, we should be able to load this in DevTools (and also embedded in the IDE).
@jonasfj @sigmundch is there a way to tell from the pub cache what the globally activated pub packages are?
コントリビューションガイド
調査の方向性
まず、DevTools が拡張機能を検出して読み込む仕組みを追跡し、次に `dart pub global activate` の実行後に Dart pub cache を通じてグローバルに有効化されたパッケージを特定できるかどうかを調査します。これらのパッケージのランタイム拡張機能と静的拡張機能を DevTools と組み込み IDE でどのように表示すべきかを定義し、グローバルに有効化されたパッケージのエンドツーエンドのワークフローを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- dart
- 領域
- developer-experience, devtools
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100