-
Notifications
You must be signed in to change notification settings - Fork 295
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
flutter "toggle debug paint" command #372
Comments
@devoncarew @eseidelGoogle Is this command available via |
@DanTup, the atom-flutter sources have not been maintained - I would not look to them for examples. The IntelliJ sources (Flutter related) are here: https://github.com/flutter/flutter-intellij. For this, we're calling a service extension - contributed by the flutter runtime - called And specifically, we're using the daemon API to proxy the service extension call ( Hope that helps - |
@devoncarew Perfect, thanks! Are there any docs on these service extensions, or is the IntelliJ source the best place to see everything available? |
I've added all of the commands I could find in the intelliJ file, will be included in v2.3 (with the exception of opening Observatory timeline, that may or may not be included in 2.3). |
No docs as such; the IntelliJ sources will be the best system of record for a bit. You can also skim the flutter repo code, and you should be able to get a list of service protocol extensions from the protocol.
🎉 |
Default flutter app template has the following comment:
It would be nice if Dart-Code would support "debug paint" as well. There are more commands that
flutter run
supports, but this was the most helpful in my opinion. And "full restart": #368.The text was updated successfully, but these errors were encountered: