Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace devtools_tool exe with shorthand dt #8403

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

kenzieschmoll
Copy link
Member

This mirrors the repo tool for the flutter engine repo et.

devtools_tool can be cumbersome to type, so this is a small workflow improvement. devtools_tool will still be an alias for a fixed period of time until we remove it completely.

Fixes #8384.

@kenzieschmoll kenzieschmoll requested a review from a team as a code owner October 4, 2024 17:46
@kenzieschmoll kenzieschmoll requested review from bkonyi and removed request for a team October 4, 2024 17:46
@kenzieschmoll kenzieschmoll merged commit 8f116c5 into flutter:master Oct 4, 2024
23 of 24 checks passed
@kenzieschmoll kenzieschmoll deleted the dt branch October 4, 2024 20:33
DanTup added a commit to DanTup/devtools that referenced this pull request Oct 7, 2024
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).
kenzieschmoll pushed a commit that referenced this pull request Oct 7, 2024
…8410)

#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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace devtools_tool with shorthand version: dt
2 participants