mirror of
https://github.com/flutter/flutter.git
synced 2026-02-12 05:42:27 +08:00
This change adds support for two DTD Editor service RPCs and makes functionality that's dependent on the availability of the Editor service reactive to the service availability changing. The newly added `getActiveLocation` Editor RPC now allows for us to properly determine which source file is selected at startup, removing the need for special casing around initializing the filtered preview set. The `navigateToCode` Editor RPC is now supported, and URIs in stack traces can now be clicked to navigate to the source location in the IDE. Both filtering previews by selected file and stack frame navigation links are only enabled when the Editor service is available. Fixes https://github.com/flutter/flutter/issues/176113