Our current mechanism for "interactive refactors" (like Move to File) is currently Dart-specific, and code-action specific.
The Go team has specified a similar extension to the LSP protocol that supports collecting arguments interactively for any command:
Migrating to the same protocol will allow us to share front-end extension code and also collect user-input in more places than just CodeActions. This requires work in both the server and Dart-Code.
Related SDK issue: dart-lang/sdk#63371
Related PRs: