Repository navigation
Closed
Labels
Milestone
Description
Download v1.5.0-beta.flutter.5 here
If testing, please post feedback in this thread including which platform you were testing on (Win/Mac/Linux). Any problems/issues can be raised as new issues but general feedback (even if everything works) is encouraged to help gauge stability (esp on platforms I can't test).
Since there may be updates to this beta version, you may wish to subscribe to this thread to get notifications
Installing
- Uninstall any existing version of Dart Code from Code and restart Code
- Download the vsix from the link above
- Run the
Extensions: Install from VSIXcommand from the Code command palette and browse to the downloaded vsix file - Restart Code again
Note: To revert to the marketplace version of the extension you will need to uninstall the beta version explicitly first.
Some things to test
If you test any of these any they work, please let me know (and on which platform)!
Windows
- Flutter projects are detected as flutter and the Dart SDK version number in the status bar (right) shows that it's the Flutter version
- Standard Dart projects are still detected as Dart and the Dart SDK version number in the status bar (right) does not mention Flutter
-
pub getandpub upgradepackages have been replaced byfluttercommands in the command palette/pubspec.yamltoolbar - The status bar shows when a device is connected and if multiple devices are connected you can click on it to select the one to use for launching/debugging
- You can launch apps on the selected device by pressing
F5(note: the first time you do this, Code will ask what type of app - selectFlutterwhich will openlaunch.jsonand then hitF5again to launch - Breakpoints are hit correctly and you can step with the debugger
- Other debugger features work correctly (stack traces shows, can be navigated, watched variables/locals etc. work)
- Pressing the debugger
Restartbutton (alsoCtrl+Shift+F5) causes a hot reload - Breakpoints work after hot-reloading
Mac
- Flutter projects are detected as flutter and the Dart SDK version number in the status bar (right) shows that it's the Flutter version
- Standard Dart projects are still detected as Dart and the Dart SDK version number in the status bar (right) does not mention Flutter
-
pub getandpub upgradepackages have been replaced byfluttercommands in the command palette/pubspec.yamltoolbar - The status bar shows when a device is connected and if multiple devices are connected you can click on it to select the one to use for launching/debugging
- You can launch apps on the selected device by pressing
F5(note: the first time you do this, Code will ask what type of app - selectFlutterwhich will openlaunch.jsonand then hitF5again to launch - Breakpoints are hit correctly and you can step with the debugger
- Other debugger features work correctly (stack traces shows, can be navigated, watched variables/locals etc. work)
- Pressing the debugger
Restartbutton (alsoCtrl+Shift+F5) causes a hot reload - Breakpoints work after hot-reloading
Linux
- Flutter projects are detected as flutter and the Dart SDK version number in the status bar (right) shows that it's the Flutter version
- Standard Dart projects are still detected as Dart and the Dart SDK version number in the status bar (right) does not mention Flutter
-
pub getandpub upgradepackages have been replaced byfluttercommands in the command palette/pubspec.yamltoolbar - The status bar shows when a device is connected and if multiple devices are connected you can click on it to select the one to use for launching/debugging
- You can launch apps on the selected device by pressing
F5(note: the first time you do this, Code will ask what type of app - selectFlutterwhich will openlaunch.jsonand then hitF5again to launch - Breakpoints are hit correctly and you can step with the debugger
- Other debugger features work correctly (stack traces shows, can be navigated, watched variables/locals etc. work)
- Pressing the debugger
Restartbutton (alsoCtrl+Shift+F5) causes a hot reload - Breakpoints work after hot-reloading
If you get stuck, feel free to give me a shout in Gitter Chat.
Reacted by Anatoly Pulyaevskiy
Reacted by Michael Thomsen, Kyle Bradshaw, Anatoly Pulyaevskiy, xster, Robert Felker and Suresh
Activity
Skylled commentedon Jun 13, 2017
For those who haven't had to manually install an extension before, the Command Palette has
Extensions: Install from VSIX. Navigate it to your downloaded copy and you're set. :)DanTup commentedon Jun 13, 2017
Can't you just double-click the vsix file?
pulyaevskiy commentedon Jun 13, 2017
Not on Mac at least.
Skylled commentedon Jun 13, 2017
Definitely not for me (Windows). And using "Open with Code Insiders" just tried to open the binary for editing.
pulyaevskiy commentedon Jun 13, 2017
@DanTup This is a silly question but I can't seem to find how to run the app...
mit-mit commentedon Jun 13, 2017
@pulyaevskiy Hit Debug > Start Debugging and when prompted add a 'Flutter mobile app' launch config.
mit-mit commentedon Jun 13, 2017
@DanTup is there a device/target picker somewhere?
Skylled commentedon Jun 13, 2017
@mit-mit It should be the device name in the bottom-right corner. (I don't have 2 devices to test right now, but that's what I remember being discussed.)
mit-mit commentedon Jun 13, 2017
Oh, I see that now. I'm used to the that lower bar being an "output only" status bar. Is that usually used for input in VSCode?
Skylled commentedon Jun 13, 2017
@mit-mit I believe it was to keep in-line with where VS Code lets you select the current file's Language Mode, Encoding, EoL type, etc. I guess that's just the way VS Code does things.
DanTup commentedon Jun 13, 2017
Oops, sorry, thought you could double-click! I've added some notes on installing/using to the top of this page (inc. a bunch of things work testing).
@pulyaevskiy
F5is easiest, though the first time you'll need to do selectFlutterthen do it again (the first time populates thelaunch.jsonfile and opens it for editing in case you need to fill anything in - for now you don't).@mit-mit Yeah, this is consistent with similar things in Code (eg. setting indentation, language, encoding and other things that appear in the status bar). That said; I think those other things may also have commands in the command palette to invoke them - I'll check when next at PC and if so, I'll add one for this too (that probably also makes it possible for the user to key-bind)
pulyaevskiy commentedon Jun 13, 2017
Thanks @mit-mit , @DanTup . My issue was that I installed beta version on top of the stable one, which made VSCode very confused. It didn't want to show me launch option for Flutter.
I had to do multiple restarts of VSCode deleting the beta version first, then the stable version and only after that installing beta again.
DanTup commentedon Jun 13, 2017
Strange; I would've expected it to work fine (though you do need to restart once after installing normally). Glad it's sorted now!
I added a checklist to the top; would appreciate notes on things that work/don't, esp for people on Mac/Linux since I've not been able to do any testing of them!
xster commentedon Jun 13, 2017
I had the same issue as @pulyaevskiy. Probably not important and likely more a install vsix on top of stable extension issue than a Dart-Code issue but it was showing me the reload button on the Dart-Code extension even after reloading with that button. I think in practice, the extension never updated even if I quit the app, reopen the project etc.
Only uninstalling the stable version and installing straight from the vsix worked.
DanTup commentedon Jun 13, 2017
Weird; does sound like a Code bug. I've added a note to uninstall the old version before installing this at the top.
39 remaining items
mit-mit commentedon Jun 23, 2017
@DanTup I believe we added that support for IJ via flutter/flutter-intellij#305
DanTup commentedon Jun 23, 2017
@mit-mit Aha! That would explain it; if the breakpoints are lost I'll need to resend them. Should be easy. Thanks! :-)
DanTup commentedon Jun 25, 2017
Possibly related to the issues people had with vsix installs: microsoft/vscode#19259
Based on this, when v1.5 releases for real, you'll need to be sure to install the vsix version explicitly!
DanTup commentedon Jun 29, 2017
Unfortunately I've hit another issue with debugging flutter apps. Breakpoints don't seem to work after a hot reload (even after I've implemented what I understood to be required). I've raised flutter/flutter#11040 hoping for some input; though it means it's likely to be a little longer before this is ready to release (I'd hoped it'd be in a reasonable state this weekend, but it's very unlikely now).
Once I managed to get to the bottom of these issues I'll upload another beta for some final testing before it goes live. Thanks for all the testing so far!
DanTup commentedon Jul 5, 2017
I've uploaded a new beta version.
Please uninstall the previous beta and try this one; it will hopefully resolve issues with breakpoints not being hit after a hot reload (note: there is a race condition caused by flutter/flutter#10934 which needs fixing in the SDK).
Let me know if you hit any issues; I've only been able to test on Windows.
DanTup commentedon Jul 6, 2017
I've had a little feedback on this so far, but only from Windows users. If anyone is able to give beta4 a test on Linux and/or Mac I'd appreciate it.
I believe this is basically complete and plan to ship 2.0 next week once I've finished a couple more minor changes.
amugofjava commentedon Jul 6, 2017
I'll try and give it another go on my Ubuntu setup tomorrow if I get chance. :)
DanTup commentedon Jul 7, 2017
I've pushed a final flutter beta (beta5) here:
https://github.com/Dart-Code/Dart-Code/releases/tag/v1.5.0-beta.flutter5
I believe this is basically feature complete and will be shipped as v2.0 in the next week or so (maybe with some fixes, depending on feedback). If you're able to try this out, please let me know how it works (and on what platform).
In addition to fixes in previous betas there have been some other minor tweaks:
Ctrl+F5don't connect debuggerFLUTTER_HOSTenv var for Flutter tools telemetarymit-mit commentedon Jul 7, 2017
I tested beta5 on macOS, and unfortunately seem to be having some issues with breakpoints, opened #357.
All non-breakpoint related items on the checklist work fine on macOS.
DanTup commentedon Jul 7, 2017
@mit-mit Thanks; I've added some notes to that case that might help track it down. Not sure if it might've been a one-off (the error is weird, and probably not my fault).
Curious if anyone else has same behaviour on Mac OS (@devoncarew on Mac?); I don't have access to one to test :-(
DanTup commentedon Jul 10, 2017
I'm planning on pushing Dart Code v2 out tomorrow evening (~26 hours from now). I should have some time on Thurs/Fri to push out an update if it does happen to have issues and I can fix them.
@mit-mit I'll tackle #357 in 2.1 if you can still repro and provide some more info.
Thanks everyone that helped test and provided feedback; it's great to (finally) publish this!
DanTup commentedon Jul 14, 2017
ICYMI, Dart Code v2 is available in the marketplace. Be sure to uninstall any beta version and restart Code before installing (Code doesn't properly consider vsix and marketplace extensions as the same).
DanTup commentedon Dec 29, 2017
I noticed in the stats there are still some people using the Flutter beta version of Dart Code! :/
In older versions of Dart Code, vsix extensions didn't upgrade cleanly when the marketplace version was newer. If you installed a beta version of Dart Code and don't think you've seen any updates recently, please try uninstalling the extension, restart Code, check whether it still appears installed (and if so, uninstall again and restart Code again) and then install again from the marketplace!