vuejs / devtools

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools.vuejs.org/
MIT License
1.7k stars 121 forks source link

Restore keyboard shortcut for component selector #681

Closed J-Sek closed 2 weeks ago

J-Sek commented 2 weeks ago

Missing ALT+S shortcut is a major step down in terms of usability when working with DevTools. I was trying to hook into API and call inspectComponentInspector, but it has no meaningful effect - it just starts the overlay effect and does not scroll the component tree upon selection. The only discussion I can see here revolves around toggleComboKey that confusingly targets another "inspector" and opens code editor instead of scrolling component tree inside the DevTools panel. The problem is that I almost never want to open code editor :( I want to inspect internal state of particular component and properly debug a problem. Forcing me to click a tiny icon in the corner of the DevTools panel is distracting me.

Proposed solutions: