美文网首页
自定义 Visual Code 背景图

自定义 Visual Code 背景图

作者: 霍林河眼中的许先生 | 来源:发表于2019-05-31 14:34 被阅读0次

    1.下载并安装visual Code的插件background,Vusual Code自带的插件中心就有。

    2.打开设置中心,搜索background。在默认相关设置中点击前面的“小笔”(编辑),会自动再右边的用户设置中添加相应的代码,或者直接跳过这一步进行第三步


    02.png

    3.用户设置中添加代码

       // 配置background
        "update.enableWindowsBackgroundUpdates": true,
        "background.customImages": ["女朋友.jpg"],
        "background.enabled": true,
        "background.style": {
            "content": "''",
            "pointer-events": "none",
            "position": "absolute",
            "z-index": "99999",
            "width": "100%",
            "height": "100%",
            "background-position": "center",
            "background-repeat": "no-repeat",
            "background-attachment":"fixed",
           " background-size": "cover",
            "opacity": 0.35
        },
        "background.useFront": true,
        "background.useDefault": false
    

    4.重启打开

    这样敲代码心情就不一样了,当然想让透明点就调整代码里的参数就OK了。

    相关文章

      网友评论

          本文标题:自定义 Visual Code 背景图

          本文链接:https://www.haomeiwen.com/subject/oxnwtctx.html