flutter / flutter/devtools

Highlight constructor name on invocation for inspector

Aperta
#9,725 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
P3 screen: inspector
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

We have some IDE things like `Show Type Hierarchies` that highlight a range (in this case, the type name - see https://github.com/dart-lang/sdk/issues/62815 for a recent issue around it). I think it would be beneficial for the inspector if we could see the constructor invocation highlighted, too. Not just move the IDE focus to the line where it is, since that can be a bit ambiguous in case of nested similar structures.

CC @DanTup

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start in the DevTools Inspector entry point that handles IDE-driven highlighting, using the Show Type Hierarchies behavior as the comparison described in the issue. Trace how a requested source range is selected, then verify that a constructor invocation—not merely its line or an ambiguous nested location—is highlighted when the feature is complete.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.