DEV Community

loading...
Cover image for Chrome DevTools tip: use cmd+shift+p

Chrome DevTools tip: use cmd+shift+p

Vasily Polovnyov
Rails, Ruby, RSpec, JS and engineering culture
・1 min read

Today I learned about extremely useful Chrome DevTools hotkey: cmd+shift+p.

Let's imagine that we need to highlight all the redrawable areas in green (Show paint flashing rectangles). Without the hotkey we have to open the panel with additional tools, switch to Rendering and check the Paint Flashing checkbox.

With hotkey it's faster: open DevTools with cmd+alt+i, press cmd+shift+p, start typing "paint" and press enter:
Alt Text

tl;dr: there's cmd+shift+p in Chrome DevTools, just like in Sublime Text or any other modern text editor.

Discussion (0)

Forem Open with the Forem app