vscode
以管理员身份运行VS Code,安装background插件
![在这里插入图片描述](https://img-blog.csdnimg.cn/957bc97d340c49609a3536723bdd7a6c.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA6Lez6Lez55qE5bCP5Y-k6aOO,size_20,color_FFFFFF,t_70,g_se,x_16)
打开 “文件-首选项-设置” 用户设置 setting
![在这里插入图片描述](https://img-blog.csdnimg.cn/1bafe78363534190bed7c8b918258ee4.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA6Lez6Lez55qE5bCP5Y-k6aOO,size_20,color_FFFFFF,t_70,g_se,x_16)
在用户设置中输入以下代码,修改完后按Ctrl+S保存,可以自由选择输入样式
"workbench.colorCustomizations": {
"[Atom One Light]": {
"editor.background": "#b0dab6",
"sideBar.background": "#b0dab6",
"sideBarSectionHeader.background": "#9acea1",
"focusBorder": "#9acea1",
"foreground": "#519657",
"activityBar.background": "#b0dab6",
"activityBar.foreground": "#519657",
"activityBarBadge.background": "#519657",
"activityBarBadge.foreground": "#FFFFFF",
"terminal.background": "#b0dab6",
"tab.inactiveBackground": "#b0dab6",
"tab.activeBackground": "#9acea1",
"tab.activeForeground": "#519657",
"tab.inactiveForeground": "#97b498",
"tab.border": "#c8e6c9",
"editor.lineHighlightBackground": "#9acea1",
"editor.selectionBackground": "#9acea1",
"editorWidget.background": "#c8e6c9",
"editorHoverWidget.background": "#9acea1",
"editorHoverWidget.border": "#9acea1",
"editorLineNumber.foreground": "#9acea1",
"editorWhitespace.foreground": "#9acea1",
"editorIndentGuide.background": "#c8e6c9",
"editorIndentGuide.activeBackground": "#9acea1",
"editorSuggestWidget.background": "#c8e6c9",
"editorSuggestWidget.border": "#9acea1",
"editorSuggestWidget.foreground": "#338a3e",
"editorSuggestWidget.highlightForeground": "#338a3e",
"editorSuggestWidget.selectedBackground": "#9acea1",
"editorLineNumber.activeForeground": "#519657",
"input.background": "#c8e6c9",
"input.border": "#c8e6c9",
"badge.background": "#519657",
"statusBar.background": "#b0dab6",
"statusBar.foreground": "#519657",
"statusBarItem.hoverBackground": "#9acea1",
"statusBar.noFolderBackground": "#519657",
"statusBar.debuggingBackground": "#519657",
"statusBar.debuggingForeground": "#00701a",
"debugToolBar.background": "#9acea1",
"editorGroupHeader.tabsBackground": "#c8e6c9",
"button.background": "#70af72",
"button.foreground": "#FFFFFF",
"button.hoverBackground": "#519657",
"extensionButton.prominentBackground": "#70af72",
"extensionButton.prominentHoverBackground": "#70af72",
"scrollbar.shadow": "#81c784",
"scrollbarSlider.background": "#81c784",
"scrollbarSlider.hoverBackground": "#81c784",
"scrollbarSlider.activeBackground": "#81c784",
"list.activeSelectionBackground": "#9acea1",
"list.activeSelectionForeground": "#519657",
"list.inactiveSelectionBackground": "#9acea1",
"list.inactiveSelectionForeground": "#519657",
"list.hoverBackground": "#9acea1",
"list.highlightForeground": "#9acea1",
"gitDecoration.modifiedResourceForeground": "#00600f",
"dropdown.background": "#c8e6c9",
"dropdown.border": "#9acea1",
"titleBar.activeBackground": "#b0dab6",
"titleBar.activeForeground": "#519657",
"titleBar.inactiveBackground": "#9acea1",
"titleBar.inactiveForeground": "#519657"
},
},
效果如下
![在这里插入图片描述](https://img-blog.csdnimg.cn/558f6035b533451abc87595d8435b85f.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA6Lez6Lez55qE5bCP5Y-k6aOO,size_20,color_FFFFFF,t_70,g_se,x_16)
单独设置编辑器背景图片
"background.customImages": [
"file:///C:/Users/Administrator/Desktop/ba.jpg"
],
"background.style": {
"content": "''",
"pointer-events": "none",
"background-position": "center",
"background-repeat": "no-repeat",
"background-size": "100%,100%",
"opacity": 0.4
},
webstorm
打开-“文件-设置”-Background Image
![在这里插入图片描述](https://img-blog.csdnimg.cn/90527eba98c84c31af25df93a69c2563.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA6Lez6Lez55qE5bCP5Y-k6aOO,size_20,color_FFFFFF,t_70,g_se,x_16)
选择图片路径
![在这里插入图片描述](https://img-blog.csdnimg.cn/2d4f54c2b4904c2e829d4496f6801386.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA6Lez6Lez55qE5bCP5Y-k6aOO,size_20,color_FFFFFF,t_70,g_se,x_16)
![在这里插入图片描述](https://img-blog.csdnimg.cn/1df6c66ed1e84b399a4d58eff5c95a0d.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA6Lez6Lez55qE5bCP5Y-k6aOO,size_20,color_FFFFFF,t_70,g_se,x_16)
效果如下
![在这里插入图片描述](https://img-blog.csdnimg.cn/f084beead70d4448b8e3cc94a4724217.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA6Lez6Lez55qE5bCP5Y-k6aOO,size_20,color_FFFFFF,t_70,g_se,x_16)