Closed Bug 1577900 Opened 5 years ago Closed 4 years ago

Button to pretty-print editor input

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: Harald, Assigned: rnons)

References

(Blocks 1 open bug)

Details

User Story

When writing longer snippets, copying minified bookmarklets or copying code together, I need to format the output, so that I can read it better and edit it effectively.

Attachments

(1 file)

No description provided.
No longer depends on: 1577898

Jason suggested to pull in prettier for this

Follow up could add an option (or button state) to pretty-on-save/paste option as well to get closer to an IDE-like typing experience.

Assignee: nobody → remotenonsense
Status: NEW → ASSIGNED
Attachment #9185035 - Attachment description: Bug 1577900: Add a beautify button to the multiline editor of devtools. r=nchevobbe → Bug 1577900: Add a prettyPrint button to the multiline editor of devtools. r=nchevobbe
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1766ea267c5e
Add a prettyPrint button to the multiline editor of devtools. r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: