You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
I would love to have some status bar icon showing the current status of this flag (tabs or spaces). Something like a warning icon that says "hey, you have chosen to use spaces in the preferences, but this file uses tabs, so Atom will indent your lines with tabs". The current behaviour is far from intuitive.
Imho just a small icon with tabs/spaces (» or ···) symbol would be enough. And it could be grayed out if Atom is just using the default set in preferences.
indentation-indicator is doing the right thing. Instead of thinking of a smart icons you have to learn and understand, just put "Spaces: 4" or "Tabs: 2" in there. Could that package just be merged into the default status bar?
Check out the tab control package which allows you to do everything in this issue. It would be nice if this was in core though, it's in sublime and I'm pretty sure a lot of people would like it too.
The tab-control package works great, but this surely is a core feature, every other editor I used, and I used a lot of them along the last 20 years, includes this feature one way or another. Tab width assumptions change from file to file, from project to project, not only from language to language. The flexibility to change tab width on-the-fly is a must have.
Activity
mik01aj commentedon Feb 11, 2015
+1.
I mentioned the same enhancement in atom/atom#5497:
Imho just a small icon with tabs/spaces (» or ···) symbol would be enough. And it could be grayed out if Atom is just using the default set in preferences.
ricardograca commentedon Feb 11, 2015
There's this package which ticks all of those options except the last one, which I'd also like to have.
rbu commentedon May 12, 2015
indentation-indicator is doing the right thing. Instead of thinking of a smart icons you have to learn and understand, just put "Spaces: 4" or "Tabs: 2" in there. Could that package just be merged into the default status bar?
Abdillah commentedon Aug 13, 2015
Solving this issue is very important IMO, once this pull request is merged. It implements scoped setting of new
tabType
.benogle commentedon Aug 13, 2015
@Abdillah would you be interested in creating a PR to add this functionality?
Abdillah commentedon Aug 16, 2015
@benogle sure, let me try on this.
garygreen commentedon Aug 30, 2016
Check out the tab control package which allows you to do everything in this issue. It would be nice if this was in core though, it's in sublime and I'm pretty sure a lot of people would like it too.
memeplex commentedon May 16, 2019
The tab-control package works great, but this surely is a core feature, every other editor I used, and I used a lot of them along the last 20 years, includes this feature one way or another. Tab width assumptions change from file to file, from project to project, not only from language to language. The flexibility to change tab width on-the-fly is a must have.