DEV Community

Discussion on: Why tabs are better than spaces

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

In the modern era tabs are the way to go.

This is an overhang from when editors were simple and didn’t let you change the visual appearance of a tab and all handled them differently.

100% with you on this.

Yours sincerely,

a former space user (who used to use 3 spaces as that worked best for me 😱)

P.s. The only issues with this is I have never worked out how to use tabs in jsfiddle, codepen etc. If someone can enlighten me as to how to make that work I will be happy! ❤️🦄

Collapse
 
siddharthshyniben profile image
Siddharth

Here's a post detailing how to change indents in CodePen

Collapse
 
grahamthedev profile image
GrahamTheDev

Thanks Siddarth, that is really useful! ❤

Thread Thread
 
siddharthshyniben profile image
Siddharth

Welcome!

Collapse
 
mattkenefick profile image
Matt Kenefick

I'm more of a JSFiddle guy. They have a setting for tabs in their flyout menu. See "Indent with tabs"

example

Collapse
 
grahamthedev profile image
GrahamTheDev

Thank you!!!

How on Earth I never spotted that is beyond me (I was trying key combinations not thinking it would be a setting 🤦‍♂️)...that will save me a load of headaches! ❤