Skip to content

Add support for spawning the Dart Tooling Daemon and providing the URI to DevTools #4984

Closed

Description

@DanTup

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in devtoolsRelates to integration with Dart/Flutter DevTools
    on Feb 14, 2024
  2. added this to the v3.84.0 milestone on Feb 14, 2024
  3. DanTup commented on Feb 14, 2024

    @DanTup
    MemberAuthor

    Need to remove the check noted above.

  4. reopened this on Feb 14, 2024
  5. DanTup commented on Feb 15, 2024

    @DanTup
    MemberAuthor

    @kenzieschmoll @CoderDake this is essentially done (at least, starting the daemon, setting the IDE roots, and passing the URI to DevTools.. I'm not sure if there's more VS Code needs to do at this point?).

    I'll push it out in a pre-release of the extension soon - but I'd like flutter/devtools#7191 to land first, just to avoid any issues if using a local custom DevTools with it enabled.

    For now, it's behind a flag because I'd like some additional testing beyond my own before we enable it.

  6. DanTup commented on Feb 20, 2024

    @DanTup
    MemberAuthor

    @kenzieschmoll @CoderDake I pushed a pre-release version of the extension that includes this today (v3.83.20240220). It's still currently behind a VS Code settings flag:

    	"dart.experimentalToolingDaemon": true,

    You'll know when the daemon is running because it'll be in the language status area:

    image

    Let me know if you want to do some testing before I remove the flag (even without the flag, it'll only show up for Dart SDK >= 3.4.0-139.

  7. CoderDake commented on Feb 21, 2024

    @CoderDake

    Tested myself and LGTM!
    Also looked at the PR that added the changes and it looks right on to me :D

  8. DanTup commented on Feb 21, 2024

    @DanTup
    MemberAuthor

    Thanks - do you want me to remove the experimental flag (so from the next release, everyone on master will be spawning the daemon), or do you want me to leave it until there's been more work done (like testing it over longer sessions) first?

    (part of me thinks the sooner we enable it the sooner we'll find issues, but part of me also worries about unleashing crashing bugs because so far it's had very limited testing 😄)

  9. CoderDake commented on Feb 27, 2024

    @CoderDake

    @DanTup
    DTD is pretty low surface area, so even if we have issues with it crashing, it should effect any vital behaviours.
    Right now the only behaviours would be in development for extensions being created. :)

    So I think we are ok to expose it :)

  10. DanTup commented on Feb 28, 2024

    @DanTup
    MemberAuthor

    Today's pre-release (v3.83.20240228) removes the flag from this. Please upgrade and let me know if you spot any issues (a stable release with this is likely later in the week).

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 devtoolsRelates to integration with Dart/Flutter DevToolsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions