I've accidentally clicked the never show
option for pretty print tool on Chrome when I was debugging an website and can't find the option to reactivate this feature again. Looked all over preferences and Googled it already, still no clue.
Yes! This has become available: In Dev Tools: ⋮ > Settings ( F1 ) > Experiments > Automatically pretty print in the Sources Panel .
You can turn off pretty-print formatting by deselecting the Pretty Print on Save option in any window that has the setting. All artifacts you save will then use the default JSON format. Any windows that are open at the time will need to be closed and reopen to deactivate pretty-printing.
Drill down to the file you and double-click to open it in the preview pane: If you look in the lower left corner, you'll see 2 curly brackets. By clicking on this, the minified file expands open to an unminified state.
I'm not sure what panel of DevTools you're looking at. If it's the Sources panel, you can manually enable or disable pretty-printing by clicking Format.
In general, if you see that icon anywhere, clicking it will enable or disable pretty-printing.
I just did the same thing because of the really poor UI there. There's another option before "never show" with no separator, which makes these look like "never" and "show" are 2 separate options, not a single "never show" one.
I did find the solution though. Shut down Chrome, go to %USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\
and edit the JSON file called Preferences
. In it, find prettyPrintInfobarDisabled
which will be set to true
and change it back to false
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With