Skip to content

[CLOSED] Fix #6558. Resurrect language layer #7072

@core-ai-bot

Description

@core-ai-bot

Issue by busykai
Tuesday May 20, 2014 at 14:34 GMT
Originally opened as adobe/brackets#7889


This fixes #6558.

LanguageLayer allows specifying language-specific prefs in the following manner:

{
    "spaceUnits": 4,
    "language": {
        "html": {
            "spaceUnits": 2
        }
    }
}

Language layers are added to user and project scopes. Path layer will take precedence over language layer.

LanguageLayers could be used by #7362. Related to PR #6409 (which creates a special event to inform language changes) and should be taken into account by whichever lands last.

CC:@dangoor


busykai included the following code: https://github.com/adobe/brackets/pull/7889/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions