Skip to content

Make "Open DevTools in Web Browser" a top-level command #5000

Closed

Description

@f-person

Is your feature request related to a problem? Please describe.
I only use DevTools in the web browser, and having to go through an additional menu for that becomes annoying over time :)

Describe the solution you'd like
It'd be great to have the "Open DevTools in Web Browser" command be accessible on a top-level through ⌘+⇧+P (default shortcut)

Describe alternatives you've considered

Additional context
I think it also makes sense to have it since we have all the other ones as top-level AFAIK

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Feb 21, 2024
  2. DanTup commented on Feb 21, 2024

    @DanTup
    Member

    Have you tried setting the dart.devToolsLocation setting?

    "dart.devToolsLocation": {
    	"default": "external"
    },

    This will cause DevTools to always open externally. That way you can just use the button on the toolbar for Inspector, or any of the existing DevTools commands that take you directly to the page you want.

  3. added
    awaiting infoRequires more information from the customer to progress
    on Feb 21, 2024
  4. f-person commented on Feb 21, 2024

    @f-person
    Author

    Oh, thanks! This is a great workaround; I still occasionally use the inspector in Code itself, though, so it'd be nice to eventually have this :)

  5. DanTup commented on Feb 21, 2024

    @DanTup
    Member

    @f-person I don't know if it helps, but you can set a different option for each section:

    "dart.devToolsLocation": {
    	"inspector": "beside",
    	"default": "external"
    }
  6. added this to the v3.84.0 milestone on Feb 21, 2024
  7. added
    in devtoolsRelates to integration with Dart/Flutter DevTools
    and removed
    awaiting infoRequires more information from the customer to progress
    on Feb 21, 2024
  8. f-person commented on Feb 22, 2024

    @f-person
    Author

    Yeah, I noticed this and did something similar already, but didn't know I could just specify the default; that's great, thanks! I do think it'd still be nice to add it, though :)

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