Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
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

Closed

Description

@lee-dohm

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.

Activity

  1. pdf commented on Oct 4, 2016

    @pdf

    I'd suggest perhaps both tabType and softTabs settings should be provided in language-* GUI settings, per discussion in atom/atom#4054.

  2. lee-dohm commented on Oct 4, 2016

    @lee-dohm
    ContributorAuthor

    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.

  3. pdf commented on Oct 4, 2016

    @pdf

    What's the harm in adding both? What if the user wants to retain the tabType auto 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.

  4. lee-dohm commented on Oct 5, 2016

    @lee-dohm
    ContributorAuthor

    The harm in adding both is extra maintenance and confusion. If we could get rid of the softTabs option completely without breaking things, we would.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions