Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MScriptsNew to Visual Studio Code? Get it now.
MScripts

MScripts

feng.j.l

|
2 installs
| (0) | Free
MScript script editor for project configuration files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

mscript README

This is extension for mcgs web4.0 script.

项目配置文件 ".mscript/config.json" 内容格式:

{
    "entry": "./public/project/index.json",
    "options": {
        "Utils": null, //不为空时,替换内置工具定义
        "Nodes": null  //不为空时,替换内置节点定义
    },
    "exoptions": {
        "Utils": { // 按子节点替换内置工具类,内置工具类不存在时,则追加工具类
            "MyUtil": {
                "detail": "自定义工具类"
            }
        },
        "Nodes": { // 按子节点替换内置节点定义,内置节点定义不存在时,则追加节点定义
            "MyWidget": {
                "detail": "自定义节点",
                "extends": [
                    "VObject"
                ]
            }
        }
    }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft