首页 > 其他分享 >[FAQ] VScode 用户代码片段设置

[FAQ] VScode 用户代码片段设置

时间:2022-11-27 21:56:35浏览次数:67  
标签:body 片段 VScode FAQ echo prefix dde

 

 

以PHP为示例,配置如下:

{
    "dpe": {
        "prefix": "dpe",
        "body": [ 
            "echo '<pre>';",
            "print_r($1);",
            "die;",
        ],
    },
    "dde": {
        "prefix": "dde",
        "body": [
            "echo '<pre>';",
            "var_dump($1);",
            "die;",
        ],
    }
}

 

Ref:VisualStudioCode

Link:https://www.cnblogs.com/farwish/p/16902509.html

标签:body,片段,VScode,FAQ,echo,prefix,dde
From: https://www.cnblogs.com/farwish/p/16902509.html

相关文章