[Feature Request] Make "Navigate to source code" optional
- 主要言語
- Dart
- スター
- 1.7k
- フォーク
- 404
- 平均マージ
- 6日 17時間
- マージ済み PR(30日)
- 18
説明
It can be very annoying when you select a widget in the inspector while also e.g. double-checking some code in your editor and always getting thrown to the source of the widget you selected or worse a miss-click happens, and you end up in a whole other file in another directory tree.
Another case: Emulator/Screen Capture/Browser is above the editor and as soon as a widget is selected the editor is forced into the foreground, hiding the application.
It would be nice to make this behavior optional.
### Current behavior:
DevTools (nearly) always focuses the editor and scrolls to the source for the widget that was selected.
Sometimes it fails to focus somehow, but that seems more like a bug than a defined behavior.
### Desired behavior:
Make this optional, for example, through a small toggle in the DevTools.
コントリビューションガイド
調査の方向性
まず、エディターにフォーカスを移し、選択したウィジェットのソースへ移動する DevTools の動作を追跡します。ユーザー向けのトグルでその動作を制御できる場所を確認し、そのトグルの有効化と無効化が、既存のデフォルト動作を予期せず変更することなく、要求されたオプションのナビゲーションと一致することを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- dart, flutter
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100