Skip to content

Restore "devtools_tool" with deprecation warning for Windows users - #8410

Merged
kenzieschmoll merged 1 commit into
flutter:masterfrom
DanTup:restore-devtools-tool-windows
Oct 7, 2024
Merged

kenzieschmoll merged 1 commit into
flutter:masterfrom
DanTup:restore-devtools-tool-windows

Conversation

@DanTup

@DanTup DanTup commented Oct 7, 2024

Copy link
Copy Markdown
Contributor

#8403 changed devtools_tool to dt, but only left a temporary compatibility wrapper for Mac/Linux. We need the same for Windows, otherwise:

  1. Any users running devtools_tool may trigger the bash script and Windows will ask "What do you want to open this file with?"
  2. Using the dart.customDevTools setting in VS Code assumes devtools_tool so it fails to start DevTools

As a temporary measure, we should put this wrapper script in similar to the Mac/Linux version. I'll update Dart-Code to not assume devtools_tool exists in a future version (when it's less likely contributors are on older branches without the dt file).

flutter#8403 changed devtools_tool to dt, but only left a temporary compatibility wrapper for Mac/Linux. We need the same for Windows, otherwise:

1. Any users running `devtools_tool` may trigger the bash script and Windows will ask "What do you want to open this file with?"
2. Using the `dart.customDevTools` setting in VS Code assumes `devtools_tool` so it fails to start DevTools

As a temporary measure, we should put this wrapper script in similar to the Mac/Linux version. I'll update Dart-Code to not assume `devtools_tool` exists in a future version (when it's less likely contributors are on older branches without the `dt` file).
@DanTup
DanTup requested a review from kenzieschmoll as a code owner October 7, 2024 15:32
@kenzieschmoll
kenzieschmoll merged commit 392575e into flutter:master Oct 7, 2024
@DanTup
DanTup deleted the restore-devtools-tool-windows branch October 7, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants