[Feature Request] Make "Navigate to source code" optional
- Langage dominant
- Dart
- Étoiles
- 1.7k
- Forks
- 404
- Merge moyen
- 6 j 17 h
- PR mergées (30 j)
- 18
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par retracer le comportement de DevTools qui donne le focus à l’éditeur et accède au code source du widget sélectionné. Vérifiez où un bouton de basculement accessible à l’utilisateur pourrait contrôler ce comportement, puis vérifiez que son activation et sa désactivation correspondent à la navigation facultative demandée, sans modifier de manière inattendue le comportement par défaut existant.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, flutter
- Domaine
- devtools
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100