{ // 控制折行的方式。 // - 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 }