Was format {} option of Snippets intentionally removed on Chromium 114.0.5715.0?

150 views
Skip to first unread message

guest271314

unread,
Apr 15, 2023, 5:56:00 PM4/15/23
to Chrome DevTools
Was format {} option of Snippets intentionally removed on Chromium 114.0.5715.0?

Benedikt Meurer

unread,
Apr 16, 2023, 4:03:35 AM4/16/23
to google-chrome-...@googlegroups.com
Yes, the idea was to provide just the inline pretty printing for minified files.

Do you find value in being able to format snippets? If so, could you file a feature request on crbug.com please?

cheers,
Benedikt

On Sat, Apr 15, 2023 at 11:56 PM guest271314 <guest...@gmail.com> wrote:
Was format {} option of Snippets intentionally removed on Chromium 114.0.5715.0?

--
You received this message because you are subscribed to the Google Groups "Chrome DevTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/0b8dcaff-0ad0-419e-88d3-f6e7adf67069n%40googlegroups.com.


--

Benedikt Meurer

Chrome DevTools Lead

bme...@google.com


Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Liana Sebastian

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. 

     

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.

guest271314

unread,
Apr 16, 2023, 11:43:47 AM4/16/23
to google-chrome-...@googlegroups.com
> Do you find value in being able to format snippets? 

Yes.

I've been using that feature for years now.

> If so, could you file a feature request on crbug.com please?

Chromium authors banned from from contributing there. Somebody else will have to file the feature request and shepherd it through.


guest271314

unread,
Apr 16, 2023, 5:07:10 PM4/16/23
to Chrome DevTools
> Yes, the idea was to provide just the inline pretty printing for minified files.

Snippets panel is still there. 

I don't understand the decision to remove the capability to format the code pasted, dropped, or opened there.

This is what I've come up with so far https://github.com/guest271314/devtools_panel_code_formatter as a substitute.

Benedikt Meurer

unread,
Apr 17, 2023, 1:13:57 AM4/17/23
to google-chrome-...@googlegroups.com
The functionality was removed with https://crrev.com/c/4417396 as part of the removal of the legacy formatting (in favor of the inplace pretty printing).

But given that there's a good reason to keep the inplace formatting for Snippets, I'll revert that CL.

Thanks for the feedback!

cheers,
Benedikt

guest271314

unread,
Apr 17, 2023, 10:00:44 AM4/17/23
to google-chrome-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages