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.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Add "Tab Type" to language-specific settings list #835
A couple language packages, specifically language-python and language-yaml, override the editor.tabType setting. But this isn't shown in the language-specific settings list and therefore can't be discovered or customized easily.
We shouldn't need a softTabs language-specific setting if we have a tabType language-specific setting. softTabs is only necessary if the tabType setting is auto. So if you need a specific tab type for a given language, just set the tabType setting.
What's the harm in adding both? What if the user wants to retain the tabTypeauto setting, but set their default preference for softTabs per-language?
More poignantly, some of the languages are setting softTabs (see python), so there ought to be a way to override that from the GUI. Just adding both settings is the safe option, rather than making assumptions that may come back to bite users later.
Activity
pdf commentedon Oct 4, 2016
I'd suggest perhaps both
tabTypeandsoftTabssettings should be provided in language-* GUI settings, per discussion in atom/atom#4054.lee-dohm commentedon Oct 4, 2016
We shouldn't need a
softTabslanguage-specific setting if we have atabTypelanguage-specific setting.softTabsis only necessary if thetabTypesetting isauto. So if you need a specific tab type for a given language, just set thetabTypesetting.pdf commentedon Oct 4, 2016
What's the harm in adding both? What if the user wants to retain the
tabTypeautosetting, but set their default preference forsoftTabsper-language?More poignantly, some of the languages are setting
softTabs(see python), so there ought to be a way to override that from the GUI. Just adding both settings is the safe option, rather than making assumptions that may come back to bite users later.lee-dohm commentedon Oct 5, 2016
The harm in adding both is extra maintenance and confusion. If we could get rid of the
softTabsoption completely without breaking things, we would.