How to set tab width?


#1

Hey guys

I just want to know how to set tab width? and how to indent using spaces?

It’s simple when I use sublime, but I can’t find how to set it in Atom.

Thanks


#2

Another problem is How can I know the codes indents using spaces or tab?


#3

You can see those options in the Settings.


#4

@AbeEstrada
Thank you!


#5

where are the settings?


#6

Scroll down in the Settings View, which you can get to using Cmd+, on OS X or Ctrl+, on other platforms.


#7


#8

how do u open settings?


#9

Edit —> Preferences(Ctrl + ,) —> <>Editor settings —> Good Luck, good work :wink:


#10

Thanks for responses ! I appreciated :slight_smile:


#11

Is there any workaround for changing tab size for an existing file ?


#12

That setting should change it. Possibly, you have language specific settings active (check the language-*the_language* package you’re using) or you actually have spaces instead of tabs.