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

Provide friendly prompts and verification when writing app manifests. 为 Scoop 应用清单的编写提供友好的提示和校验。

License

Notifications You must be signed in to change notification settings

abgox/ScoopType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

✨ 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

About

Provide friendly prompts and verification when writing app manifests. 为 Scoop 应用清单的编写提供友好的提示和校验。

Topics

Resources

License

Stars

Watchers

Forks