vscode編輯器替換編輯器背景圖
阿新 • • 發佈:2018-11-05
1、開啟vscode 安裝一下拓展
2、載入完成以後,開啟首選項設定頁面,在裡面搜background;
然後把一下程式碼貼上上去
注:background.customImages為你圖片的路徑,也可設定顏色
{
"editor.wordWrapColumn":0,
"html.format.wrapAttributes": "auto",
"editor.wordWrap": "on",
"update.enableWindowsBackgroundUpdates": true,
"background.customImages": ["file:///D:/VScode/background_vscode/A.png"],
"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.32
},
"background.useFront": true,
"background.useDefault": false
}