Skip to content

[CLOSED] Validate editor preferences #6497

@core-ai-bot

Description

@core-ai-bot

Issue by redmunds
Thursday Mar 13, 2014 at 02:53 GMT
Originally opened as adobe/brackets#7186


This is for #7020.

I did a slight refactoring so editor prefs can be validated when ever they change. Currently only validate "tabSize" and "spaceUnits" which are numbers. All other prefs are boolean, so the only thing validation would do is to enforce default if user mucks up the prefs file.

I started a ValidationUtils module that might be useful in other places.


redmunds included the following code: https://github.com/adobe/brackets/pull/7186/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