美文网首页
Vscode 个人设置

Vscode 个人设置

作者: Curious1990 | 来源:发表于2023-01-06 01:30 被阅读0次
{
  // 主题
  "workbench.colorTheme": "Material Theme",
  // Python 格式化
  "python.formatting.provider": "black",
  // Python 忽略无用的错误提示
  "python.linting.pylintArgs": ["--errors-only", "--disable=E0401"],
  // Code Runner 配置
  "code-runner.executorMap": {
    "python": "set PYTHONIOENCODING=utf8 && python3 -u"
  },
  // 保存时自动格式化
  "editor.formatOnSave": true,
  // 终端运行结果
  "code-runner.runInTerminal": true,
  "python.terminal.executeInFileDir": true,
  // Explorer 美化
  "workbench.tree.indent": 16,
  "workbench.tree.renderIndentGuides": "none",
  "javascript.suggestionActions.enabled": false,
  "editor.fontSize": 13,
  "workbench.startupEditor": "none",
  "workbench.iconTheme": "material-icon-theme",
  // Python 相对路径
  "terminal.integrated.env.osx": {
    "PYTHONPATH": "${workspaceFolder}",
  },
  "terminal.integrated.env.linux": {
    "PYTHONPATH": "${workspaceFolder}",
  },
  "terminal.integrated.env.windows": {
    "PYTHONPATH": "${workspaceFolder}",
  },
}

相关文章

网友评论

      本文标题:Vscode 个人设置

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