Skip to content

Flutter beta testing #318

Closed
Closed

Description

@DanTup

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

Gitter Chat

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 VSIX command 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 get and pub upgrade packages have been replaced by flutter commands in the command palette/pubspec.yaml toolbar
  • 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 - select Flutter which will open launch.json and then hit F5 again 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 Restart button (also Ctrl+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 get and pub upgrade packages have been replaced by flutter commands in the command palette/pubspec.yaml toolbar
  • 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 - select Flutter which will open launch.json and then hit F5 again 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 Restart button (also Ctrl+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 get and pub upgrade packages have been replaced by flutter commands in the command palette/pubspec.yaml toolbar
  • 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 - select Flutter which will open launch.json and then hit F5 again 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 Restart button (also Ctrl+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.

Activity

  1. Skylled commented on Jun 13, 2017

    @Skylled
    Contributor

    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. :)

  2. DanTup commented on Jun 13, 2017

    @DanTup
    MemberAuthor

    Can't you just double-click the vsix file?

  3. pulyaevskiy commented on Jun 13, 2017

    @pulyaevskiy
    Contributor

    Can't you just double-click the vsix file?

    Not on Mac at least.

  4. Skylled commented on Jun 13, 2017

    @Skylled
    Contributor

    Definitely not for me (Windows). And using "Open with Code Insiders" just tried to open the binary for editing.

  5. pulyaevskiy commented on Jun 13, 2017

    @pulyaevskiy
    Contributor

    @DanTup This is a silly question but I can't seem to find how to run the app...

  6. mit-mit commented on Jun 13, 2017

    @mit-mit
    Contributor

    @pulyaevskiy Hit Debug > Start Debugging and when prompted add a 'Flutter mobile app' launch config.

  7. mit-mit commented on Jun 13, 2017

    @mit-mit
    Contributor

    @DanTup is there a device/target picker somewhere?

  8. Skylled commented on Jun 13, 2017

    @Skylled
    Contributor

    @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.)

  9. mit-mit commented on Jun 13, 2017

    @mit-mit
    Contributor

    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?

  10. Skylled commented on Jun 13, 2017

    @Skylled
    Contributor

    @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.

  11. DanTup commented on Jun 13, 2017

    @DanTup
    MemberAuthor

    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 F5 is easiest, though the first time you'll need to do select Flutter then do it again (the first time populates the launch.json file 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)

  12. pulyaevskiy commented on Jun 13, 2017

    @pulyaevskiy
    Contributor

    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.

  13. DanTup commented on Jun 13, 2017

    @DanTup
    MemberAuthor

    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!

  14. xster commented on Jun 13, 2017

    @xster

    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.

  15. DanTup commented on Jun 13, 2017

    @DanTup
    MemberAuthor

    Weird; does sound like a Code bug. I've added a note to uninstall the old version before installing this at the top.

  16. 39 remaining items

  17. mit-mit commented on Jun 23, 2017

    @mit-mit
    Contributor

    @DanTup I believe we added that support for IJ via flutter/flutter-intellij#305

  18. DanTup commented on Jun 23, 2017

    @DanTup
    MemberAuthor

    @mit-mit Aha! That would explain it; if the breakpoints are lost I'll need to resend them. Should be easy. Thanks! :-)

  19. added
    in flutter
    on Jun 24, 2017
  20. DanTup commented on Jun 25, 2017

    @DanTup
    MemberAuthor

    Possibly related to the issues people had with vsix installs: microsoft/vscode#19259

    An extension which is installed manually through a VSIX and an extension with the same ID that gets fetch from the gallery are not considered to be the same extension.

    Based on this, when v1.5 releases for real, you'll need to be sure to install the vsix version explicitly!

  21. DanTup commented on Jun 29, 2017

    @DanTup
    MemberAuthor

    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!

  22. DanTup commented on Jul 5, 2017

    @DanTup
    MemberAuthor

    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.

  23. DanTup commented on Jul 6, 2017

    @DanTup
    MemberAuthor

    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.

  24. amugofjava commented on Jul 6, 2017

    @amugofjava

    I'll try and give it another go on my Ubuntu setup tomorrow if I get chance. :)

  25. DanTup commented on Jul 7, 2017

    @DanTup
    MemberAuthor

    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:

  26. mit-mit commented on Jul 7, 2017

    @mit-mit
    Contributor

    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.

  27. DanTup commented on Jul 7, 2017

    @DanTup
    MemberAuthor

    @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 :-(

  28. DanTup commented on Jul 10, 2017

    @DanTup
    MemberAuthor

    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!

  29. DanTup commented on Jul 14, 2017

    @DanTup
    MemberAuthor

    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).

  30. DanTup commented on Dec 29, 2017

    @DanTup
    MemberAuthor

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in flutteris discussion / feedback

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions