Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Latest commit

 

History

History
73 lines (53 loc) · 2.48 KB

README.md

File metadata and controls

73 lines (53 loc) · 2.48 KB

✨ ScoopType ✨

English | 简体中文 | Github | Gitee

license code size created


Note: It has been moved to a new repo (schema) to manage together.

Introduce

  • Provide friendly prompts and verification when writing app manifests.

How to use

  • When writing an app manifest, adding the following attributes can get prompts and validations from the editor.

    Recommend using vscode

    • The first way: Add this property directly in json file.

      "$schema": "https://abgox.github.io/schema/Scoop/en-US/manifest-min.json",
    • The second way: It can be added in the vscode configuration file (settings.json), which will apply to all matching json files.

      • If you're not using vscode, you'll need to look up the official configuration method for the editor you're using
      "json.schemas": [
              {
                  "url": "https://abgox.github.io/schema/Scoop/en-US/manifest-min.json",
                  "fileMatch": [
                      "bucket/**/*.json",
                      "deprecated/**/*.json"
                  ]
              }
          ]
    • The second way is recommended. It isn't intrusive on the original json file.

  • Url (Remove the -min from the file name, which means the uncompressed file.)

    • https://abgox.github.io/schema/Scoop/zh-CN/manifest-min.json

    • https://abgox.github.io/schema/Scoop/en-US/manifest-min.json

Demo

Demo