首页 > 其他分享 >我的 Vscode 配置

我的 Vscode 配置

时间:2022-10-15 10:12:40浏览次数:48  
标签:false Vscode 配置 integrated terminal python true leetcode

{
    "window.zoomLevel": 3,
    "editor.renderWhitespace": "all",
    // 特殊字体显示变量
    "editor.semanticHighlighting.enabled": true,
    // "workbench.colorTheme": "Dracula Soft",
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter-notebook"
    },
    // 行号和右边进度条显示当前修改的内容,非常重要。需要从绝对路径打开代码
    // WSL 下的代码推荐放在 unix 存储下(/home/xxx/ 而不是 c://xxx /mnt/c/xx)否则影响性能
    "scm.diffDecorations": "all",

    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,

    "git.ignoreLegacyWarning": true,
    "gitlens.currentLine.pullRequests.enabled": false,
    "gitlens.codeLens.enabled": false,
    "gitlens.hovers.avatars": false,
    "gitlens.currentLine.enabled": false,
    "gitlens.advanced.messages": {
        "suppressGitVersionWarning": true,
        "suppressLineUncommittedWarning": true
    },
    "python.analysis.autoImportCompletions": false,
    // "python.linting.flake8Path": "/home/xxx/miniconda3/envs/37/bin/flake8",
    "python.linting.flake8Enabled": true,
    "python.linting.flake8Args": ["--ignore=I100,H404,H405,F811,H903"],
    //I100: line too long, H404 H405: docstring, F811:unused func,
    // H903: Windows style line endings
    // 自定义导包路径
    // "python.analysis.extraPaths": ["/path"],
    "python.analysis.diagnosticSeverityOverrides": {
        "reportMissingModuleSource": "none"
    },

    "terminal.integrated.defaultProfile.windows": "Command Prompt",
    // make Ctrl+e work fine
    "terminal.integrated.allowChords": false,
    "terminal.integrated.fontSize": 12,

    "leetcode.endpoint": "leetcode-cn",
    "leetcode.workspaceFolder": "/home/xxx/code2/leetcode",
    "leetcode.hint.configWebviewMarkdown": false,
    "leetcode.defaultLanguage": "python3",
    "leetcode.showDescription": "In File Comment",
    "leetcode.enableStatusBar": false,

    "leetcode.hint.commentDescription": false,
    "leetcode.hint.commandShortcut": false,
    "remote.SSH.remotePlatform": {
        "addr.com": "linux"
    },
    "workbench.colorCustomizations": {
        "terminal.background": "#181818",
        "terminal.foreground": "#D8D8D8",
        "terminalCursor.background": "#D8D8D8",
        "terminalCursor.foreground": "#D8D8D8",
        "terminal.ansiBlack": "#181818",
        "terminal.ansiBlue": "#7CAFC2",
        "terminal.ansiBrightBlack": "#585858",
        "terminal.ansiBrightBlue": "#7CAFC2",
        "terminal.ansiBrightCyan": "#86C1B9",
        "terminal.ansiBrightGreen": "#A1B56C",
        "terminal.ansiBrightMagenta": "#BA8BAF",
        "terminal.ansiBrightRed": "#AB4642",
        "terminal.ansiBrightWhite": "#F8F8F8",
        "terminal.ansiBrightYellow": "#F7CA88",
        "terminal.ansiCyan": "#86C1B9",
        "terminal.ansiGreen": "#A1B56C",
        "terminal.ansiMagenta": "#BA8BAF",
        "terminal.ansiRed": "#AB4642",
        "terminal.ansiWhite": "#D8D8D8",
        "terminal.ansiYellow": "#F7CA88"
    },

    // 右侧大纲显示的信息
    "outline.showPackages": false,
    "outline.showVariables": false,
    "security.workspace.trust.untrustedFiles": "open",
    // terminal 光标样式
    "terminal.integrated.cursorStyle": "line",
    "terminal.integrated.cursorBlinking": true,
    "terminal.integrated.enableMultiLinePasteWarning": false,
    // 选中复制和右键粘贴
    "terminal.integrated.copyOnSelection": true,
    "python.languageServer": "Pylance",
    "python.testing.unittestEnabled": true,
    // Diff folders 对比工具,忽略pyc
    "l13Diff.exclude":[
        "**/.DS_Store",
        "**/.git",
        "**/.hg",
        "**/.svn",
        "**/CVS",
        "**/node_modules",
        ".stestr",
        "**/__pycache__",
        ".tox",
        "*egg-info",
    ]
}

标签:false,Vscode,配置,integrated,terminal,python,true,leetcode
From: https://www.cnblogs.com/jneeee/p/vscode_config.html

相关文章

  • tomcat配置中出现的问题
    1.在ecplise运行过程当中反复出现Could not publish server configuration for Tomcat v8.5 Server at localhost.此项报错,原因是因为    在server文......
  • mac系统下配置Sencha环境变量
    还原:开始安装了SenchaSDKTools-2.0.0-beta3,然后设置环境变量,之后执行sencha时报出<WARN>。。。isnotaSenchaSDKorapplication。。上网查资料发现此版本需要安装Sen......
  • 配置SASS过程
    1.首先在电脑上安装Node.js2.其次在命令行配置npm,命令:npminit。运行后会创建一个package.json文件3.然后输入命令配置npm中可以使用SASS的包,命令:npminstallnode-sass......
  • 手动配置ubuntu网络地址
    配置文件路径:/etc/netplan/*.yaml配置文件格式:network:ethernets:eth0:dhcp4:falseaddresses:-10.0.0.100/24gateway4:10.0.0......
  • k8s 配置 harbor仓库
    1.K8S在默认情况下只能拉取Harbor仓库中的公有镜像,拉取私有镜像会报错:ErrImagePull 或 ImagePullBackOff2.在每台服务器上配置harbor的地址,修改或创建/etc/docker/daemo......
  • VScode保存自动格式化
    一、配置1.点击左下角齿轮,打开设置2.在文本编辑器里下滑找到Code Actions On Save下面的在setting.json中编辑3.复制代码全部替换{ "eggHelper.serverPort":62......
  • win11+wls2+ubuntu2004配置cuda+cudnn+pytorch
    0.前置说明win11系统开启子系统wsl2安装Ubuntu2004版本子系统(2204版本未测试,请自测)1.安装wsl2-Ubuntu2004子系统win11以上默认是wsl2了,win10参考列表第一个子系统......
  • NACE 配置PO PR SA等打印对应的smartforms
    一般PO打印打印的配置点TCODENACE选择你对应的Application,选择outputtypes查看routines如果想找测试数据,可以根据type等到如果想找测试数据,可以根据type等到DB表:NAST去查......
  • 配置环境变量
    配置环境变量的目的:使在任意目录下都能执行java.exe这个应用程序两种方法方法一1找到jdk安装的路径,打开bin目录(因为java.exe这个程序在bin目录里面),复制当前路径 2右......
  • 项目概述、部署数据库服务mysql、配置网站服务、测试配置
    Project3_day01知识点:一、准备数据库服务器二、搭建数据库服务器三、配置MySQL主从同步四、配置读写分离服务器五、配置数据库服务器六、配置网站服务器七、测试配......