Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkey for "Select an element in the page to inspect it" in Chrome extension #17298

Open
skoshy opened this issue Nov 7, 2019 · 10 comments
Open

Comments

@skoshy
Copy link

skoshy commented Nov 7, 2019

Reopening facebook/react-devtools#966 as I feel it'd still be a great feature to have.

To reiterate, it'd be great to have a hotkey to trigger the "Select an element in the page to inspect it" functionality, similar to how Ctrl + Shift + C triggers Chrome's element inspector mode.

@gejimayu
Copy link

I'll give this a try !

@stale
Copy link

stale bot commented Feb 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.

@stale stale bot added the Resolution: Stale Automatically closed due to inactivity label Feb 9, 2020
@stale
Copy link

stale bot commented Feb 16, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

@stale stale bot closed this as completed Feb 16, 2020
@eps1lon
Copy link
Collaborator

eps1lon commented Jan 14, 2021

Reopening since the PR that would implement this feature is still open.

@eps1lon eps1lon reopened this Jan 14, 2021
@stale stale bot removed the Resolution: Stale Automatically closed due to inactivity label Jan 14, 2021
@happylolonly

This comment has been minimized.

@SimsonEnduro
Copy link

👍

@LakeYS
Copy link

LakeYS commented Jul 31, 2022

+1 for this.

For fellow Googlers:
An easy workaround for this is to use the normal element selector (Ctrl-shift-C) and then switch to the Components tab, where the corresponding React component (or something close to it) will be selected.

@shaunlebron
Copy link

shaunlebron commented Aug 16, 2023

Improving on @LakeYS’s workaround (thanks!)

In DevTools, drag the React Components tab next to Elements, like this:

CleanShot 2023-08-16 at 15 49 22@2x

So you can use these hotkeys in succession:

  1. Shift C selects the element
  2. ] switches to React panel (with component highlighted)

@spacecat
Copy link

Wow, surprised this isn't implemented.

@happylolonly
Copy link

Wow, surprised this isn't implemented.

yes, me too...

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

No branches or pull requests

9 participants