dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.26k stars 1.58k forks source link

Show setUp() and tearDown() in Flutter outline #49189

Open helin24 opened 2 years ago

helin24 commented 2 years ago

This is coming from: https://github.com/flutter/flutter-intellij/issues/5718

When writing tests using flutter_test, the Flutter Outline and Structure views helpfully show group() and test() calls in a hierarchical view.

It would like to ask that these views also show calls to setUp(), tearDown(), etc. in the same view.

This feature would greatly enhance navigation within larger test files.

bwilkerson commented 2 years ago

This would require a change to analysis_server/lib/src/computer/computer_outline.dart.