VSCODE个人设置

{
    "editor.rulers": [
        130,160
    ],
    "workbench.colorCustomizations": {
        "editorRuler.foreground": "#ff4081"
    },
    "editor.fontSize": 16,
    "editor.minimap.renderCharacters": false,
    "editor.wordWrap": "wordWrapColumn",
    "editor.wordWrapColumn": 190,
    "workbench.tree.indent": 30,
    "workbench.tree.renderIndentGuides": "always",
    "files.autoGuessEncoding": true,
    "files.autoSave": "onFocusChange",
    "workbench.preferredDarkColorTheme": "Visual Studio Dark - C++",
    "workbench.tree.expandMode": "doubleClick",
    "workbench.view.alwaysShowHeaderActions": true,
    "workbench.editor.limit.value": 20,
    "python.formatting.autopep8Args": [
        "item --max-line-length=150"
    ],
    "python.formatting.yapfPath": "autopep8",
    "window.zoomLevel": 1,
    "explorer.confirmDelete": false,
    "python.venvPath": "D:/cache/wnc",
    "terminal.integrated.fontSize": 18,
    "workbench.colorTheme": "Visual Studio Light",
    "workbench.startupEditor": "none",
    "diffEditor.ignoreTrimWhitespace": false,
    "compareFolders.excludeFilter": [
        "**/res",
        "**/app",
        "**/.vscode",
        "**/release",
        "**/bin",
        "**/_pycache",
        "*.pyc",
        "*.so",
        "*.o",
        "*.i",
        "*.obj",
        "*.bin",
        "*.iml",
        "*.code-workspace",
        "*.dblite",
        "test_main",
        "_.*",
    ],
    "workbench.editor.enablePreview": false,
    "compareFolders.ignoreAllWhiteSpaces": true,
    "security.workspace.trust.untrustedFiles": "open",
    "workbench.editorAssociations": {
        "*.md": "default"
    },
    "l13Diff.exclude":[
        "**/.DS_Store",
        "**/.git",
        "**/.hg",
        "**/.svn",
        "**/.vs",
        "**/.vscode",
        "**/.idea",
        "**/.editorconfig",
        "**/.sconsign.dblite",
        "**/*.bin",
        "**/*.o",
        "**/*.obj",
        "**/*.pyc",
        "**/*.out",
        "**/*.so",
        "**/*.iml",
        "**/*.sln",
        "**/*.vcxproj*",
        "**/CVS",
        "**/Debug",
        "**/bin",
        "**/app",
        "**/runtime",
        "**/release",
        "**/res",
        "**/node_modules",
        "libwysmarthome"
    ],
    "C_Cpp.default.customConfigurationVariables": {},
    "files.eol": "\n",
    "files.exclude": {
        "**/__pycache__": true,
        "**/.idea": true,
        "**/*.o": true,
        "**/*.obj": true,
        "**/*.pyc": true,
        "**/Debug": true
    }
### 如何在 VSCode设置背景 VSCode 默认并不支持直接更改编辑器背景图片的功能,但可以通过安装扩展来实现这一需求。对于希望自定义开发环境外观的用户来说,有几种方法可以间接达到设置背景的效果。 #### 方法一:使用主题扩展 一种常见的方式是利用社区提供的各种颜色主题,这些主题不仅能够改变编辑器的颜色方案,还可以调整侧边栏、状态栏等界面元素的颜色,从而营造不同的视觉效果[^1]。 如果想要更进一步定制化,比如添加特定图像作为背景,则需要借助第三方插件: #### 方法二:安装 Background Cover 扩展 Background Cover 是一款广受好评的用于给 Visual Studio Code 添加桌面壁纸样式的工具。安装此扩展后,可以根据个人喜好上传本地图片或在线链接作为编辑区域背后的装饰图案[^2]。 具体操作如下: 1. 打开 VSCode; 2. 进入 Extensions 视图 (Ctrl+Shift+X) 并搜索 `background cover`; 3. 安装由 shyykoserhiy 开发的那个版本; 4. 按照提示重启应用程序完成激活; 5. 使用命令面板 (`F1`) 输入并选择 `Preferences: Open Settings (JSON)` 来打开全局/工作区级别的 settings.json 文件; 6. 将下面这段 JSON 片段加入其中以指定要使用的背景图片 URL 地址(记得替换为你自己的资源位置): ```json { "backgroundCover": { "url": "https://example.com/path/to/image.jpg", "opacity": 0.5, "blur": true } } ``` 以上就是关于如何在 VSCode 设置背景的主要介绍[^3]。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值