Different tabs in different directories


#1

I work on some code bases where we use 2 spaces for tabs and some where we use 4 spaces for tabs.
In my case, all python projects always use 4 spaces for tabs but the javascript varies from project to project.

In Atom I only see 1 single number of tabs independent of project or file syntax. How can I get a bit more flexibility there?


#2

There was a discussion here: Per Language/Syntax Settings

and a few plugins were posted about on there:


https://atom.io/packages/syntax-settings


#3

Ohh. Bummer.
Thanks for those links. They’ll have to tie me over until this gets solved properly.

At least this makes it possible to have multiple global preferences. It’s a start.


#4

Also worth mentioning for project specific syntax differences it’s worth looking at editorconfig and the Atom Plugin for it


#5

Closing as duplicate …


#6