vscode python开发环境_VS CODE Python开发环境配置

{

// 控制折行的方式。

// - off: 永不换行。

// - on: 将在视区宽度处换行。

// - wordWrapColumn: 在 `editor.wordWrapColumn` 处折行。

// - bounded: 在视区宽度和 `editor.wordWrapColumn` 中的较小值处折行。

"editor.wordWrap": "on",

// 在 `editor.wordWrap` 为 `wordWrapColumn` 或 `bounded` 时,控制编辑器的折行列。

"editor.wordWrapColumn": 400,

"editor.fontSize": 16,

// 在保存上格式化文件。格式化程序必须可用,延迟后文件不能保存,并且编辑器不能关闭。

"editor.formatOnSave": true,

// 控制编辑器在键入一行后是否自动格式化该行。

"editor.formatOnType": true,

// 调整窗口的缩放级别。原始大小是 0,每次递增(例如 1)或递减(例如 -1)表示放大或缩小 20%。也可以输入小数以便以更精细的粒度调整缩放级别。

"window.zoomLevel": 1.5,

// Arguments passed in. Each argument is a separate item in the array.

// 控制调试工具栏位置。其位置可为 `floating` (在所有视图之上浮动)、`docked` (停靠于“调试”视图) 或 `hidden` (隐藏)。

"debug.toolBarLocation": "docked",

"html.format.indentInnerHtml": true,

"python.linting.pylintArgs": [

"--load-plugins=pyling_django"

],

"python.linting.flake8Args": [

"--max-line-length=400"

],

// Whether to lint Python files using flake8

"python.linting.flake8Enabled": true,

// Whether to install Python modules globally when not using an environment.

"python.globalModuleInstallation": true,

"editor.renderIndentGuides": false,

"terminal.integrated.fontSize": 20,

// Arguments passed in. Each argument is a separate item in the array.

"python.formatting.yapfArgs": [

"{COLUMN_LIMIT: 400}"

],

"editor.wrappingIndent": "deepIndent",

"python.formatting.provider": "yapf",

// Arguments passed in. Each argument is a separate item in the array.

"python.formatting.blackArgs": [

"--lin-length=400"

],

"html.format.wrapLineLength": 400

}

来源:https://www.cnblogs.com/mcgill0217/p/10300461.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值