r/FlutterDev • • Feb 28 '19

Tooling VS Code extension adds Dart DevTools integration for a Flutter Inspector 🎉

https://dartcode.org/releases/v2-24/
110 Upvotes

25 comments sorted by

View all comments

2

u/starblazer13 Feb 28 '19 edited Feb 28 '19

Hmmm not working for me. Can't find Dart: Dev tools in the command palette.... anybody else?

edit: nm... have to have a project running before you can find the dev tools command....

Great tool! Wish there was a dark mode.

5

u/DanTup Feb 28 '19

Wish there was a dark mode.

There actually is, but we don't support spawning it from VS Code yet, in part because VS Code doesn't have an API to tell us whether you're using the Dark or Light theme (and seems unlikely to ever get one).

If we add support, it may have to be a user setting in VS Code to let you choose which theme you want? I've opened https://github.com/Dart-Code/Dart-Code/issues/1496

2

u/DanTup Feb 28 '19

That's right - the DevTools require a debugger to function. If this is a common confusion, we could have the command appear in the palette always and have it just show an error if you try to launch it without a debug session.

1

u/starblazer13 Feb 28 '19

That would definitely help for new VS Flutter users. Wasn't a big deal, but didn't see that small details in the release instructions.