Ask coding questions

← Back to all posts
4 spaces for tab
StephanePlaisan

Great platform, thanks!
Could I set somewhere the tab to be 4-spaces, when I copy python code from here to my editor I have 2-spaces indents which violate flake8
Thanks

Answered by IMayBeMe [earned 5 cycles]
View Answer
Voters
StephanePlaisan
Comments
hotnewtop
IMayBeMe

Yeah it should be on the sidebar of the editor with the settings icon. You should see and option to set indents

StephanePlaisan

thanks a lot @IMayBeMe, I did not notice the settings gear before, now fixed :-)
Cheers