Closed Bug 1838857 Opened 2 years ago Closed 2 years ago

Automatic CSS pretty printing does not honor devtools.editor.tabsize pref

Categories

(DevTools :: Style Editor, defect)

defect

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

When devtools.editor.expandtab is set to true, the CSS is indented with only 1 space

We used to only indent with one space when devtools.editor.expandtab was true.
Unit test is updated to make sure we do use the pref value now.

Depends on D181221

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f915e41e9023 [devtools] Use `devtools.editor.tabsize` value for space indentation in `prettifyCSS`. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: