Skip to content

JSON Schema validation #324

Closed
Closed

Description

@fxha

Description

Validate settings (preferences.md code block) with JSON Schema. If the validation fails, load default settings.

http://json-schema.org/

Activity

  1. Jocs commented on Jun 9, 2018

    @Jocs
    Member

    I think that we can validate user preferences before he save it, if it not validated, we can show some message in the opened window?

  2. fxha commented on Jun 9, 2018

    @fxha
    ContributorAuthor

    Sounds good, but how to check if current file is preferences.md. We have to hard code full-path for macOS, Linux and Windows.

  3. Jocs commented on Jun 9, 2018

    @Jocs
    Member

    @fxha

    In the open window, save a state value, such as isOpenPreference. When saving, transfer this state value to the main process. So we know weather it is save user preferences?

  4. Jocs commented on Sep 11, 2018

    @Jocs
    Member

    @fxha Maybe I will optimize the user preference recently and change it to the operation interface, which will be more convenient to use.

  5. added
    🦄 feature request
    on May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🦄 feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions