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:
make api.inspectComponentInspector() scroll the component tree if DevTools are open
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 callinspectComponentInspector
, 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 aroundtoggleComboKey
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:
api.inspectComponentInspector()
scroll the component tree if DevTools are openapi.selectComponent()