vscode

必备插件

  1. Go,python // 跟着你要运行代码来
  1. Code Runner // 代码运行工具
  1. IntelliJ IDEA Keybindings // 使用IDEA快捷键
  1. Markdown All in One // 如果不用别的软件写笔记可以用这个
  1. Pylance // 修正python语法与感知
  1. Black Formatter // 代码格式化工具

通用

{ // ————————————自定义的配置 ————————————start // commit: 设置路径 "terminal.integrated.env.windows": { "PYTHONPATH": "${workspaceFolder};${env:PYTHONPATH}" }, // commit: 设置乱码 "terminal.integrated.shellArgs.windows": [ "/K chcp 65001 >nul" ], // commit: 设置虚拟环境路径 "python.condaPath": "D:\\CodeSoftware\\anaconda3\\envs\\CrawlSpider\\python.exe", // commit: 设置python 环境路径 "code-runner.executorMap": { "python": "set PYTHONIOENCODING=utf-8 && D:\\CodeSoftware\\anaconda3\\envs\\CrawlSpider\\python.exe", }, // commit: 设置code-runner的配置路径 "code-runner.fileDirectoryAsCwd": true, // ————————————自定义的配置 ————————————end }