Formatting isn't using my preferred indent size

Problem description:
I am an Explorer. When I format, It formats with 4-space indent despite the settings showing that my preferred indent is 2-spaces.

Expected behavior:
Formats with 2-space indent instead of 4-space.

Actual behavior:
Formats with 4-space indent.

Steps to reproduce:
Click the Format icon in

Bug appears at this link:

Browser: Google Chrome
Device (Android, iOS, n/a leave blank): Windows 10
Plan (Free, Hacker, Pro Plan): Free plan

I believe this is a new feature. Actually, PEP 8 recommended 4 spaces not 2. Maybe Replit updated their system.


yeah ik, @QwertyQwerty88 told me. I’m not necessarily a big fan of it and prefer 2-space indent.


Disobeying user settings is an interesting feature. I hope this becomes less contradictory in the future. Two spaces is better when typing by hand (like when writing a code on Ask), but with Tab I’m not sure it ultimately matters. I’d still lean towards two space indents.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.