You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make "Open DevTools in Web Browser" a top-level command #5000
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
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.
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 :)
Activity
DanTup commentedon Feb 21, 2024
Have you tried setting the
dart.devToolsLocationsetting?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.
f-person commentedon Feb 21, 2024
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 :)
DanTup commentedon Feb 21, 2024
@f-person I don't know if it helps, but you can set a different option for each section:
f-person commentedon Feb 22, 2024
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 :)