Skip to content

Support DevTools extensions embedded inside VS Code #4952

Closed

Description

@kenzieschmoll

As of flutter/devtools@0fba400, DevTools extensions are now shown in the debug session DevTools menu:
Screenshot 2024-01-17 at 2 20 53 PM

This extension screens open by default in the browser. What will it take to enable extension screens to be opened inside VS code like other devtools screens are?

Activity

  1. added
    in flutter sidebarRelates to something in the "Flutter sidebar" that's provided via DevTools
    in devtoolsRelates to integration with Dart/Flutter DevTools
    on Jan 19, 2024
  2. DanTup commented on Jan 25, 2024

    @DanTup
    Member

    @kenzieschmoll is there anything special I need to do for this to show up? I'm on latest DevTools and I see my extension when I click "Open in Browser" from the sidebar, but it doesn't show up in the menu itself:

    image

    I had a look through flutter/devtools@0fba400 but didn't spot any obvious reason for this.

  3. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    relies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
    on Jan 25, 2024
  4. added this to the v3.82.0 milestone on Jan 25, 2024
  5. DanTup commented on Jan 30, 2024

    @DanTup
    Member
    embedded_extensions.mp4
  6. DanTup commented on Jan 30, 2024

    @DanTup
    Member

    @kenzieschmoll this is in today's pre-release (3.81.20240130) if you want to try it out.

    It inherits the default setting from dart.devToolsLocation but
    because of #4387 you can control it individually:

    "dart.devToolsLocation": {
    	"default": "beside", // default for unlisted pages
    	"inspector": "active", // built-in page
    	"danny_library_ext": "external", // extension page
    }

    The default setting remains that everything is "beside" (eg. open a second tab next to the active one).

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 DevToolsin flutter sidebarRelates to something in the "Flutter sidebar" that's provided via DevToolsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.relies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions