语言设置中文显示
1)打开vscode工具;
2)使用快捷键组合【Ctrl+Shift+p】,在搜索框中输入“configure display language”,
python 编辑环境的基本设置
在设置中输入 settings.json,并进入settings.json
或者使用快捷键组合【Ctrl+Shift+p】输入 settings.json,并进入settings.json
{
“editor.fontSize”: 20, //设置字体大小
“editor.fontFamily”: “monospace”, //设置字体
“python.pythonPath”: “/home/wuzhao/py3/bin/python”, //这个是python解释器的路径
“python.linting.flake8Enabled”: true, //错误提示
“python.formatting.provider”: “autopep8”, //文本格式化
“python.formatting.yapfPath”: “yapf”, //文本格式化
“editor.tabCompletion”: “on”, //启用tab健不全功能
“editor.tabSize”: 4, //tab设置为4个空格
“editor.wordWrapColumn”: 79, //每行最多显示79个字符
“editor.wordWrap”: “on”, //每行超过79个字符 会自动换行
“terminal.integrated.fontSize”: 20, //控制台的文字大小
“files.associations”: {
“*.vue”:“html”
}, //设置html自动补全功能!
//下载插件:open-in-browser
“open-in-browser.default”: “chrome”, //使用chrome打开html界面,Alt+B是快捷键
}
下面默认设置项,是系统替我们设置好的,作为 了解vscode的设置参考
一下内容是默认的设置,没有在setting.json中设置时都会使用 defaultSettings.json中的默认 设置项
{
// 控制在差异编辑器中是否把前导空格或尾随空格的改动显示为差异。
“diffEditor.ignoreTrimWhitespace”: true,
// 控制差异编辑器是否为添加/删除的更改显示 +/- 指示符号。
"diffEditor.renderIndicators": true,
// 控制差异编辑器的显示方式是并排还是内联。
"diffEditor.renderSideBySide": true,
// 控制是否应在遇到提交字符时接受建议。例如,在 JavaScript 中,半角分号 (`;`) 可以为提交字符,能够在接受建议的同时键入该字符。
"editor.acceptSuggestionOnCommitCharacter": true,
// 控制除了 `Tab` 键以外, `Enter` 键是否同样可以接受建议。这能减少“插入新行”和“接受建议”命令之间的歧义。
// - on
// - smart: 仅当建议包含文本改动时才可使用 `Enter` 键进行接受。
// - off
"editor.acceptSuggestionOnEnter": "on",
// 控制编辑器是否应运行在对屏幕阅读器进行优化的模式。
// - auto: 编辑器将使用平台 API 以检测是否附加了屏幕阅读器。
// - on: 编辑器将对屏幕阅读器的使用进行永久优化。
// - off: 编辑器将不再对屏幕阅读器的使用进行优化。
"editor.accessibilitySupport": "auto",
// 控制编辑器是否在左括号后自动插入右括号。
// - always
// - languageDefined: 使用语言配置确定何时自动闭合括号。
// - beforeWhitespace: 仅当光标位于空白字符左侧时,才自动闭合括号。
// - never
"editor.autoClosingBrackets": "languageDefined",
// 控制编辑器是否应改写右引号或右括号。
// - always: 始终改写右引号或右括号。
// - auto: 仅在自动插入时才改写右引号或右括号。
// - never: 切勿改写右引号或右括号。
"editor.autoClosingOvertype": "auto",
// 控制编辑器是否在左引号后自动插入右引号。
// - always
// - languageDefined: 使用语言配置确定何时自动闭合引号。
// - beforeWhitespace: 仅当光标位于空白字符左侧时,才自动闭合引号。
// - never
"editor.autoClosingQuotes": "languageDefined",
// 控制编辑器是否在用户键入、粘贴或移动行时自动调整缩进。必须安装包含此语言缩进规则的扩展。
"editor.autoIndent": true,
// 控制编辑器是否应自动包住所选内容。
// - languageDefined: 使用语言配置确定何时自动包住所选内容。
// - brackets: 使用括号而非引号来包住所选内容。
// - quotes: 使用引号而非括号来包住所选内容。
// - never
"editor.autoSurround": "languageDefined",
// 在保存时运行的代码操作类型。
"editor.codeActionsOnSave": {},
// 控制在保存文件时进行的代码操作的超时时间 (毫秒)。
"editor.codeActionsOnSaveTimeout": 750,
// 控制是否在编辑器中显示 CodeLens。
"editor.codeLens": true,
// 控制编辑器是否显示内联颜色修饰器和颜色选取器。
"editor.colorDecorators": true,
// 控制在复制时是否同时复制语法高亮。
"editor.copyWithSyntaxHighlighting": true,
// 控制光标的动画样式。
"editor.cursorBlinking": "blink",
// 控制是否启用平滑插入动画。
"editor.cursorSmoothCaretAnimation": false,
// 控制光标样式。
"editor.cursorStyle": "line",
// 控制光标周围可见的前置行和尾随行的最小数目。在其他一些编辑器中称为“scrollOff”或“scrollOffset”。
"editor.cursorSurroundingLines": 0,
// 当 `editor.cursorStyle` 设置为 `line` 时,控制光标的宽度。
"editor.cursorWidth": 0,
// 定义一个默认格式化程序, 该格式化程序优先于所有其他格式化程序设置。必须是提供格式化程序的扩展的标识符。
// - null: 没有
// - vscode.configuration-editing: Provides capabilities (advanced IntelliSense, auto-fixing) in configuration files like settings, launch, and extension recommendation files.
// - vscode.css-language-features: Provides rich language support for CSS, LESS and SCSS files.
// - vscode.debug-auto-launch: Helper for auto-attach feature when node-debug extensions are not active.
// - vscode.debug-server-ready: Open URI in browser if server under debugging is ready.
// - vscode.emmet: Emmet support for VS Code
// - vscode.extension-editing: Provides linting capabilities for authoring extensions.
// - vscode.git: Git SCM Integration
// - vscode.git-ui: Git SCM UI Integration
// - vscode.grunt: Extension to add Grunt capabilities to VS Code.
// - vscode.gulp: Extension to add Gulp capabilities to VSCode.
// - vscode.html-language-features: Provides rich language support for HTML and Handlebar files
// - vscode.jake: Extension to add Jake capabilities to VS Code.
// - vscode.json-language-features: Provides rich language support for JSON files.
// - vscode.markdown-language-features: Provides rich language support for Markdown.
// - vscode.merge-conflict: Highlighting and commands for inline merge conflicts.
// - ms-vscode.node-debug: Node.js debugging support (versions < 8.0)
// - ms-vscode.node-debug2: Node.js debugging support
// - ms-vscode.references-view: Reference Search results as separate, stable view in the sidebar
// - vscode.npm: Extension to add task support for npm scripts.
// - vscode.php-language-features: Provides rich language support for PHP files.
// - vscode.python: Provides syntax highlighting, bracket matching and folding in Python files.
// - vscode.typescript-language-features: Provides rich language support for JavaScript and TypeScript.
// - ms-python.python: Linting, Debugging (multi-threaded, remote), Intellisense, code formatting, refactoring, unit tests, snippets, and more.
"editor.defaultFormatter": null,
// 控制是否在打开文件时,基于文件内容自动检测 `editor.tabSize#` 和 `#editor.insertSpaces`。
"editor.detectIndentation": true,
// 控制在编辑器中是否允许通过拖放来移动选中内容。
"editor.dragAndDrop": true,
// 控制在没有选择内容时进行复制是否复制当前行。
"editor.emptySelectionClipboard": true,
// 按下"Alt"时滚动速度倍增。
"editor.fastScrollSensitivity": 5,
// 控制 "查找小部件" 是否应在编辑器顶部添加额外的行。如果为 true, 则可以在 "查找小工具" 可见时滚动到第一行之外。
"editor.find.addExtraSpaceOnTop": true,
// 在执行查找操作时,在编辑器中的选中文本中还是整个文件中进行查找。
"editor.find.autoFindInSelection": false,
// 控制是否将编辑器选中内容作为搜索词填入到查找小组件中。
"editor.find.seedSearchStringFromSelection": true,
// 控制编辑器是否启用了代码折叠。
"editor.folding": true,
// 控制计算折叠范围的策略。`auto` 将使用语言特定的折叠策略 (若可用)。`indentation` 将使用基于缩进的折叠策略。
"editor.foldingStrategy": "auto",
// 控制字体系列。
"editor.fontFamily": "'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
// 启用或禁用字体连字。
"editor.fontLigatures": false,
// 以像素为单位控制字体大小。
"editor.fontSize": 14,
// 控制字体粗细。
"editor.fontWeight": "normal",
// 控制编辑器是否自动格式化粘贴的内容。格式化程序必须可用,并且能针对文档中的某一范围进行格式化。
"editor.formatOnPaste": false,
// 在保存时格式化文件。格式化程序必须可用,延迟后文件不能保存,并且编辑器不能关闭。
"editor.formatOnSave": false,
// 控制在保存文件时进行格式化的超时时间 (毫秒)。
"editor.formatOnSaveTimeout": 750,
// 控制编辑器在键入一行后是否自动格式化该行。
"editor.formatOnType": false,
// 控制编辑器是否应呈现垂直字形边距。字形边距最常用于调试。
"editor.glyphMargin": true,
// 当存在多个目标位置时, 控制 "Go To" 命令 (如 "Go To Definition") 的行为。
// - peek: 显示结果的预览视图 (默认值)
// - gotoAndPeek: 转到主结果并显示预览视图
// - goto: 转到主结果,并对其他人启用防偷窥导航
"editor.gotoLocation.multiple": "peek",
// 控制是否在概览标尺中隐藏光标。
"editor.hideCursorInOverviewRuler": false,
// 控制是否突出显示编辑器中活动的缩进参考线。
"editor.highlightActiveIndentGuide": true,
// 控制显示悬停提示前的等待时间 (毫秒)。
"editor.hover.delay": 300,
// 控制是否显示悬停提示。
"editor.hover.enabled": true,
// 控制当鼠标移动到悬停提示上时,其是否保持可见。
"editor.hover.sticky": true,
// 按 `Tab` 键时插入空格。该设置在 `editor.detectIndentation` 启用时根据文件内容可能会被覆盖。
"editor.insertSpaces": true,
// 对大型文件进行特殊处理,禁用某些内存密集型功能。
"editor.largeFileOptimizations": true,
// 控制以像素为单位的字母间距。
"editor.letterSpacing": 0,
// 在编辑器中启用代码操作小灯泡提示。
"editor.lightbulb.enabled": true,
// 控制行高。为 0 时则通过字体大小自动计算。
"editor.lineHeight": 0,
// 控制行号的显示。
// - off: 不显示行号。
// - on: 将行号显示为绝对行数。
// - relative: 将行号显示为与光标相隔的行数。
// - interval: 每 10 行显示一次行号。
"editor.lineNumbers": "on",
// 控制是否在编辑器中检测链接并使其可被点击。
"editor.links": true,
// 当选择其中一项时,将突出显示匹配的括号。
"editor.matchBrackets": true,
// 由于性能原因,超过这个长度的行将不会被标记
"editor.maxTokenizationLineLength": 20000,
// 控制是否显示缩略图。
"editor.minimap.enabled": true,
// 限制缩略图的宽度,控制其最多显示的列数。
"editor.minimap.maxColumn": 120,
// 渲染每行的实际字符,而不是色块。
"editor.minimap.renderCharacters": true,
// 控制是否自动隐藏缩略图滑块。
"editor.minimap.showSlider": "mouseover",
// 控制在哪一侧显示缩略图。
"editor.minimap.side": "right",
// 对鼠标滚轮滚动事件的 `deltaX` 和 `deltaY` 乘上的系数。
"editor.mouseWheelScrollSensitivity": 1,
// 按住 `Ctrl` 键并滚动鼠标滚轮时对编辑器字体大小进行缩放。
"editor.mouseWheelZoom": false,
// 当多个光标重叠时进行合并。
"editor.multiCursorMergeOverlapping": true,
// 在通过鼠标添加多个光标时使用的修改键。“转到定义”和“打开链接”功能所需的鼠标动作将会相应调整,不与多光标修改键冲突。[阅读详细信息](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier)。
// - ctrlCmd: 映射为 `Ctrl` (Windows 和 Linux) 或 `Command` (macOS)。
// - alt: 映射为 `Alt` (Windows 和 Linux) 或 `Option` (macOS)。
"editor.multiCursorModifier": "alt",
// 控制编辑器是否突出显示语义符号的匹配项。
"editor.occurrencesHighlight": true,
// 控制是否在概览标尺周围绘制边框。
"editor.overviewRulerBorder": true,
// 控制概览标尺中同一位置可显示的提示数量。
"editor.overviewRulerLanes": 3,
// 控制参数提示菜单在到达列表末尾时进行循环还是关闭。
"editor.parameterHints.cycle": false,
// 在输入时显示含有参数文档和类型信息的小面板。
"editor.parameterHints.enabled": true,
// 控制是否在键入时自动显示建议。
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
// 控制显示快速建议前的等待时间 (毫秒)。
"editor.quickSuggestionsDelay": 10,
// 控制编辑器是否显示控制字符。
"editor.renderControlCharacters": false,
// 当文件以换行符结束时, 呈现最后一行的行号。
"editor.renderFinalNewline": true,
// 控制编辑器是否显示缩进参考线。
"editor.renderIndentGuides": true,
// 控制编辑器的当前行进行高亮显示的方式。
// - none
// - gutter
// - line
// - all: 同时突出显示导航线和当前行。
"editor.renderLineHighlight": "line",
// 控制编辑器在空白字符上显示符号的方式。
// - none
// - boundary: Render whitespace characters except for single spaces between words.
// - selection: 仅在选定文本上呈现空白字符。
// - all
"editor.renderWhitespace": "none",
// 控制选区是否有圆角。
"editor.roundedSelection": true,
// 在一定数量的等宽字符后显示垂直标尺。输入多个值,显示多个标尺。若数组为空,则不绘制标尺。
"editor.rulers": [],
// 控制编辑器水平滚动时可以超过范围的字符数。
"editor.scrollBeyondLastColumn": 5,
// 控制编辑器是否可以滚动到最后一行之后。
"editor.scrollBeyondLastLine": true,
// 控制是否支持 Linux 主剪贴板。
"editor.selectionClipboard": true,
// 控制编辑器是否应突出显示与所选内容类似的匹配项。
"editor.selectionHighlight": true,
// 控制是否自动隐藏导航线上的折叠控件。
"editor.showFoldingControls": "mouseover",
// 控制是否淡化未使用的代码。
"editor.showUnused": true,
// 控制编辑器是否在滚动时使用动画。
"editor.smoothScrolling": false,
// 控制代码片段是否与其他建议一起显示及其排列的位置。
// - top: 在其他建议上方显示代码片段建议。
// - bottom: 在其他建议下方显示代码片段建议。
// - inline: 在其他建议中穿插显示代码片段建议。
// - none: 不显示代码片段建议。
"editor.snippetSuggestions": "inline",
// 在速览编辑器中,即使双击其中的内容或者按 `Esc` 键,也保持其打开状态。
"editor.stablePeek": false,
// 控制是否应从 IntelliSense 中筛选某些建议类型。建议类型的列表可以在这里找到: https://code.visualstudio.com/docs/editor/intellisense#_types-of-completions。
"editor.suggest.filteredTypes": {
"keyword": true,
"snippet": true
},
// 控制对建议的筛选和排序是否考虑小的拼写错误。
"editor.suggest.filterGraceful": true,
// 控制排序时是否提高靠近光标的词语的优先级。
"editor.suggest.localityBonus": false,
// 控制在显示滚动条之前 IntelliSense 将显示的建议数 (最多 15个)。
"editor.suggest.maxVisibleSuggestions": 12,
// 控制是否在多个工作区和窗口间共享记忆的建议选项(需要 `editor.suggestSelection`)。
"editor.suggest.shareSuggestSelections": false,
// 控制是否在建议中显示或隐藏图标。
"editor.suggest.showIcons": true,
// 控制在活动代码片段内是否禁用快速建议。
"editor.suggest.snippetsPreventQuickSuggestions": true,
// 建议小部件的字号。如果设置为 `0`,则使用 `editor.fontSize` 的值。
"editor.suggestFontSize": 0,
// 建议小部件的行高。如果设置为 `0`,则使用 `editor.lineHeight` 的值。
"editor.suggestLineHeight": 0,
// 控制在键入触发字符后是否自动显示建议。
"editor.suggestOnTriggerCharacters": true,
// 控制在建议列表中如何预先选择建议。
// - first: 始终选择第一个建议。
// - recentlyUsed: 选择最近的建议,除非进一步键入选择其他项。例如 `console. -> console.log`,因为最近补全过 `log`。
// - recentlyUsedByPrefix: 根据之前补全过的建议的前缀来进行选择。例如,`co -> console`、`con -> const`。
"editor.suggestSelection": "recentlyUsed",
// 启用 Tab 补全。
// - on: 在按下 Tab 键时进行 Tab 补全,将插入最佳匹配建议。
// - off: 禁用 Tab 补全。
// - onlySnippets: 在前缀匹配时进行 Tab 补全。在 "quickSuggestions" 未启用时体验最好。
"editor.tabCompletion": "off",
// 一个制表符等于的空格数。在 `editor.detectIndentation` 启用时,根据文件内容,该设置可能会被覆盖。
"editor.tabSize": 4,
// 覆盖当前所选颜色主题中的编辑器颜色和字体样式。
"editor.tokenColorCustomizations": {},
// 删除自动插入的尾随空白符号。
"editor.trimAutoWhitespace": true,
// 根据制表位插入和删除空格。
"editor.useTabStops": true,
// 控制是否根据文档中的文字计算自动完成列表。
"editor.wordBasedSuggestions": true,
// 执行单词相关的导航或操作时作为单词分隔符的字符。
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",
// 控制折行的方式。
// - off: 永不换行。
// - on: 将在视区宽度处换行。
// - wordWrapColumn: 在 `editor.wordWrapColumn` 处折行。
// - bounded: 在视区宽度和 `editor.wordWrapColumn` 中的较小值处折行。
"editor.wordWrap": "off",
// 在 `editor.wordWrap` 为 `wordWrapColumn` 或 `bounded` 时,控制编辑器的折行列。
"editor.wordWrapColumn": 80,
// 控制折行的缩进。
// - none: 没有缩进。折行从第 1 列开始。
// - same: 折行的缩进量与其父级相同。
// - indent: 折行的缩进量比其父级多 1。
// - deepIndent: 折行的缩进量比其父级多 2。
"editor.wrappingIndent": "same",
// 控制是否在“源代码管理”视图中始终显示内联操作。
"scm.alwaysShowActions": false,
// 控制是否显示源代码管理提供程序部分,即使只有一个已注册的提供程序。
"scm.alwaysShowProviders": false,
// 控制源计数控制挂件。
// - all: 显示所有源代码管理提供程序计数锁屏提醒的总和。
// - focused: 显示焦点源控制提供程序的计数标记。
// - off: 禁用源代码管理计数徽章。
"scm.countBadge": "all",
// 控制编辑器中差异的显示效果。
"scm.diffDecorations": "all",
// 控制水槽中不同装饰的宽度(px)(添加&修改)。
"scm.diffDecorationsGutterWidth": 3,
// 控制在 "源代码管理提供程序" 部分中可见的提供程序数。设置为 "0", 以便能够手动调整视图的大小。
"scm.providers.visible": 10,
// 控制工作台中活动栏的可见性。
"workbench.activityBar.visible": true,
// 覆盖当前所选颜色主题的颜色。
"workbench.colorCustomizations": {},
// 指定用在工作台中的颜色主题。
"workbench.colorTheme": "Default Dark+",
// 控制命令面板中保留最近使用命令的数量。设置为 0 时禁用命令历史功能。
"workbench.commandPalette.history": 50,
// 当再次打开命令面板时,控制是否恢复上一次输入的内容。
"workbench.commandPalette.preserveInput": false,
// 如果在居中布局中打开了超过一组编辑器,控制是否自动将宽度调整为最大宽度值。当回到只打开了一组编辑器的状态,将自动将宽度调整为原始的居中宽度值。
"workbench.editor.centeredLayoutAutoResize": true,
// 控制编辑器组中最后一个选项卡关闭时这个空组的行为。若启用,将自动关闭空组。若禁用,空组仍将保留在网格布局中。
"workbench.editor.closeEmptyGroups": true,
// 当文件被其他进程删除或重命名时,控制是否自动关闭在这个期间内打开了此文件的编辑器。若禁用此项,在这种情况下将保留编辑器。请注意,若从应用内部进行删除,将始终关闭编辑器,并且为了保护您的数据,已更新文件始终不会关闭。
"workbench.editor.closeOnFileDelete": false,
// 控制打开的编辑器是否为预览编辑器。预览编辑器在被固定 (例如,通过双击或编辑) 前可重用,其字体样式为斜体。
"workbench.editor.enablePreview": true,
// 控制从 Quick Open 打开的编辑器是否为预览编辑器。预览编辑器在被固定 (例如,通过双击或编辑) 前可重用。
"workbench.editor.enablePreviewFromQuickOpen": true,
// 控制是否按最常使用的顺序或从左到右的顺序关闭选项卡。
"workbench.editor.focusRecentEditorAfterClose": true,
// 控制是否绘制已修改 (存在更新) 的编辑器选项卡的顶部边框。
"workbench.editor.highlightModifiedTabs": false,
// 控制编辑器标签的格式。
// - default: 显示文件名。当启用选项卡且在同一组内有两个相同名称的文件时,将添加每个文件路径中可以用于区分的部分。在选项卡被禁用且编辑器活动时,将显示相对于工作区文件夹的路径。
// - short: 在文件的目录名之后显示文件名。
// - medium: 在文件相对当前工作区文件夹的路径之后显示文件名。
// - long: 在文件的绝对路径之后显示文件名。
"workbench.editor.labelFormat": "default",
// 使用鼠标按钮 4 和鼠标按钮 5 (如果提供)在打开的文件之间导航。
"workbench.editor.mouseBackForwardToNavigate": true,
// 控制编辑器打开的位置。选择 `left` 或 `right` 可分别在当前活动编辑器的左侧或右侧打开。选择 `first` (最前) 或 `last` (最后) 打开的位置与当前活动编辑器无关。
"workbench.editor.openPositioning": "right",
// 控制编辑器在并排打开时 (比如从资源管理器) 出现的默认位置。默认在当前活动编辑器右侧打开。若更改为 `down`,则在当前活动编辑器下方打开。
"workbench.editor.openSideBySideDirection": "right",
// 在重新打开已关闭文件时,还原最后一个视图的状态 (如滚动位置)。
"workbench.editor.restoreViewState": true,
// 控制是否在打开的任何可见组中显示编辑器。如果禁用,编辑器将优先在当前活动的编辑器组中打开。如果启用,将会显示在已打开的编辑器,而不是在当前活动的编辑器组中再次打开。请注意,有些情况下会忽略此设置,例如,强制编辑器在特定组中打开或当前活动组的一侧时。
"workbench.editor.revealIfOpen": false,
// 控制是否在编辑器选项卡中显示图标。要求同时启用图标主题。
"workbench.editor.showIcons": true,
// 控制打开的编辑器是否显示在选项卡中。
"workbench.editor.showTabs": true,
// 控制编辑器选项卡中关闭按钮的位置,或是设置为 `off` 禁用。
"workbench.editor.tabCloseButton": "right",
// 控制编辑器选项卡的大小。
// - fit: 始终将标签页保持足够大,能够完全显示编辑器标签。
// - shrink: 在不能同时显示所有选项卡时,允许选项卡缩小。
"workbench.editor.tabSizing": "fit",
// 从 Microsoft 联机服务中获取要进行的实验。
"workbench.enableExperiments": true,
// 指定在工作台中使用的图标主题,或指定 "null" 以不显示任何文件图标。
// - null: 无文件图标
// - vs-minimal
// - vs-seti
"workbench.iconTheme": "vs-seti",
// 控制列表和树中的键盘导航是否仅通过键入自动触发。如果设置为 `false` ,键盘导航只在执行 `list.toggleKeyboardNavigation` 命令时触发,您可以为该命令指定键盘快捷方式。
"workbench.list.automaticKeyboardNavigation": true,
// 控制列表和树是否支持在工作台中进行水平滚动。
"workbench.list.horizontalScrolling": false,
// 控制工作台中的列表和树的键盘导航样式。它可为“简单”、“突出显示”或“筛选”。
// - simple: 简单键盘导航聚焦与键盘输入相匹配的元素。仅对前缀进行匹配。
// - highlight: 高亮键盘导航会突出显示与键盘输入相匹配的元素。进一步向上和向下导航将仅遍历突出显示的元素。
// - filter: 筛选器键盘导航将筛选出并隐藏与键盘输入不匹配的所有元素。
"workbench.list.keyboardNavigation": "highlight",
// 在通过鼠标多选树和列表条目时使用的修改键 (例如“资源管理器”、“打开的编辑器”和“源代码管理”视图)。“在侧边打开”功能所需的鼠标动作 (若可用) 将会相应调整,不与多选修改键冲突。
// - ctrlCmd: 映射为 `Ctrl` (Windows 和 Linux) 或 `Command` (macOS)。
// - alt: 映射为 `Alt` (Windows 和 Linux) 或 `Option` (macOS)。
"workbench.list.multiSelectModifier": "ctrlCmd",
// 控制在树和列表中怎样使用鼠标来展开子项(若支持)。对于树中的父节点,此设置将控制是使用单击还是双击来展开。注意,某些不适用于此设置的树或列表可能会忽略此项。
"workbench.list.openMode": "singleClick",
// 控制工作台中新Octicons样式的可见性。
"workbench.octiconsUpdate.enabled": false,
// 控制面板 (终端、调试控制台、输出、问题) 的默认位置。可显示在工作台的底部或右侧。
"workbench.panel.defaultLocation": "bottom",
// 控制 Quick Open 是否在其失去焦点时自动关闭。
"workbench.quickOpen.closeOnFocusLost": true,
// 在打开 Quick Open 视图时,控制是否自动恢复上一次输入的值。
"workbench.quickOpen.preserveInput": false,
// 配置默认使用的设置编辑器。
// - ui: 使用设置 ui 编辑器。
// - json: 使用 json 文件编辑器。
"workbench.settings.editor": "ui",
// 控制是否在设置中启用自然语言搜索。自然语言搜索由 Microsoft 联机服务提供。
"workbench.settings.enableNaturalLanguageSearch": true,
// 控制在打开按键绑定设置时是否同时打开显示所有默认按键绑定的编辑器。
"workbench.settings.openDefaultKeybindings": false,
// 控制在打开设置时是否同时打开显示所有默认设置的编辑器。
"workbench.settings.openDefaultSettings": false,
// 控制设置编辑器的目录在搜索时的行为。
// - hide: 在搜索时隐藏目录。
// - filter: 筛选目录为仅显示含有匹配设置的类别。单击一个类别将仅显示该类别的结果。
"workbench.settings.settingsSearchTocBehavior": "filter",
// 控制在将设置编辑为 json 时是否使用拆分 json 编辑器。
"workbench.settings.useSplitJSON": false,
// 控制边栏的位置。它可显示在工作台的左侧或右侧。
"workbench.sideBar.location": "left",
// 在没有从上一会话中恢复出信息的情况下,控制启动时显示的编辑器。
// - none: 在启动时不打开编辑器。
// - welcomePage: 打开欢迎页面 (默认)。
// - readme: 打开包含一个自述文件的文件夹时, 打开自述文件, 否则回退到 "欢迎页面"。
// - newUntitledFile: 打开新的无标题文件 (仅在打开空工作区时适用)。
// - welcomePageInEmptyWorkbench: 在打开空工作区时打开欢迎页面。
"workbench.startupEditor": "welcomePage",
// 控制工作台底部状态栏的可见性。
"workbench.statusBar.visible": true,
// 启用后,当没有打开编辑器时将显示水印提示。
"workbench.tips.enabled": true,
// 此设置已弃用,请改用“workbench.list.horizontalScrolling”。
// 控制工作台中的树控件是否支持水平滚动。
"workbench.tree.horizontalScrolling": false,
// 控制树缩进(以像素为单位)。
"workbench.tree.indent": 8,
// 控制树是否应呈现缩进参考线。
"workbench.tree.renderIndentGuides": "onHover",
// 启用工作台的网格布局。此设置可能会为工作台组件启用其他布局选项。
"workbench.useExperimentalGridLayout": true,
// 控制是否显示视图头部的操作项。视图头部操作项可以一直,或是仅当聚焦到和悬停在视图上时显示。
"workbench.view.alwaysShowHeaderActions": false,
// 控制在关闭最后一个编辑器时是否关闭整个窗口。此设置仅适用于没有显示文件夹的窗口。
"window.closeWhenEmpty": false,
// 控制是否通过按 Alt 键聚焦菜单栏。此设置对使用 Alt 键切换菜单栏没有任何影响。
"window.customMenuBarAltFocus": true,
// 如果启用, 双击标题栏中的应用程序图标将关闭窗口, 并且该窗口无法通过图标拖动。此设置仅在 "#window.titleBarStyle#" 设置为 "custom" 时生效。
"window.doubleClickIconToClose": false,
// 控制是否可通过 Alt 键快捷键打开主菜单。如果禁用助记符,则可将这些 Alt 键快捷键绑定到编辑器命令。
"window.enableMenuBarMnemonics": true,
// 控制菜单栏的可见性。“切换”设置表示隐藏菜单栏,按一次 Alt 键则将显示此菜单栏。默认情况下,除非窗口为全屏,否则菜单栏可见。
// - default: 菜单仅在全屏模式下隐藏。
// - visible: 菜单始终可见,即使处于全屏模式下。
// - toggle: 菜单隐藏,但可以通过 Alt 键显示。
// - hidden: 菜单始终隐藏。
"window.menuBarVisibility": "default",
// 控制在已有窗口时新开窗口的尺寸。请注意,此设置对第一个打开的窗口无效。第一个窗口将始终恢复关闭前的大小和位置。
// - default: 在屏幕中心打开新窗口。
// - inherit: 以与上一个活动窗口相同的尺寸打开新窗口。
// - maximized: 打开最大化的新窗口。
// - fullscreen: 在全屏模式下打开新窗口。
"window.newWindowDimensions": "default",
// 控制是否在新窗口中打开文件。
// 注意,此设置可能会被忽略 (例如,在使用 `--new-window` 或 `--reuse-window` 命令行选项时)。
// - on: 在新窗口中打开文件。
// - off: 在文件所在文件夹的已有窗口中或在上一个活动窗口中打开文件。
// - default: 在新窗口中打开文件,除非文件从应用程序内进行选取 (例如,通过“文件”菜单)。
"window.openFilesInNewWindow": "off",
// 控制打开文件夹时是在新窗口打开还是替换上一个活动窗口。
// 注意,此设置可能会被忽略 (例如,在使用 `--new-window` 或 `--reuse-window` 命令行选项时)。
// - on: 在新窗口中打开文件夹。
// - off: 文件夹将替换上一个活动窗口。
// - default: 在新窗口中打开文件夹,除非文件夹从应用程序内进行选取 (例如,通过“文件”菜单)。
"window.openFoldersInNewWindow": "default",
// 在另一实例无参启动时,控制是打开新的空窗口或是聚焦到最后运行的实例。
// 注意,此设置可能会被忽略 (例如,在使用 `--new-window` 或 `--reuse-window` 命令行选项时)。
// - on: 打开一个新的空窗口。
// - off: 聚焦到上一活动的运行实例。
"window.openWithoutArgumentsInNewWindow": "on",
// 若窗口在处于全屏模式时退出,控制其在恢复时是否还原到全屏模式。
"window.restoreFullscreen": false,
// 控制窗口在重启后再次打开的方式。
// - all: 重新打开所有窗口。
// - folders: 重新打开所有文件夹。空工作区将不会被恢复。
// - one: 重新打开上一个活动窗口。
// - none: 永远不重新打开窗口。总是以一个空窗口启动。
"window.restoreWindows": "one",
// 根据活动编辑器控制窗口标题。变量是根据上下文替换的:
// - "${activeEditorShort}": 文件名 (例如 myFile.txt)。
// - "${activeEditorMedium}": 相对于工作区文件夹的文件路径 (例如, myFolder/myFileFolder/myFile.txt)。
// - "${activeEditorLong}": 文件的完整路径 (例如 /Users/Development/myFolder/myFileFolder/myFile.txt)。
// - "${activeFolderShort}": 文件所在的文件夹名称 (例如, myFileFolder)。
// - "${activeFolderMedium}": 相对于工作区文件夹的、包含文件的文件夹的路径, (例如 myFolder/myFileFolder)。
// - "${activeFolderLong}": 文件所在文件夹的完整路径 (例如 /Users/Development/myFolder/myFileFolder)。
// - "${folderName}": 文件所在工作区文件夹的名称 (例如 myFolder)。
// - "${folderpath}": 文件所在工作区文件夹的路径 (例如 /Users/Development/myFolder)。
// - "${rootName}": 工作区的名称 (例如, myFolder 或 myWorkspace)。
// - "${rootPath}": 工作区的文件路径 (例如 /Users/Development/myWorkspace)。
// - "${appName}": 例如 VS Code。
// - "${dirty}": 表示活动编辑器为脏的脏指示器。
// - "${separator}": 一种条件分隔符 ("-"), 仅在被包含值或静态文本的变量包围时显示。
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}",
// 调整窗口标题栏的外观。在 Linux 和 Windows 上,此设置也会影响应用程序和上下文菜单的外观。更改需要完全重新启动才能应用。
"window.titleBarStyle": "native",
// 调整窗口的缩放级别。原始大小是 0,每次递增(例如 1)或递减(例如 -1)表示放大或缩小 20%。也可以输入小数以便以更精细的粒度调整缩放级别。
"window.zoomLevel": 0,
// 控制在打开禅模式时是否启用居中布局。
"zenMode.centerLayout": true,
// 控制在打开禅模式时是否将工作台切换到全屏。
"zenMode.fullScreen": true,
// 控制在打开禅模式时是否隐藏工作台左侧的活动栏。
"zenMode.hideActivityBar": true,
// 控制在打开禅模式时是否隐藏编辑器行号。
"zenMode.hideLineNumbers": true,
// 控制在打开禅模式时是否隐藏工作台底部的状态栏。
"zenMode.hideStatusBar": true,
// 控制在打开禅模式时是否隐藏工作台选项卡。
"zenMode.hideTabs": true,
// 若窗口在处于禅模式时退出,控制其在恢复时是否还原到禅模式。
"zenMode.restore": false,
// 仅在截屏模式下显示键盘快捷键。
"screencastMode.onlyKeyboardShortcuts": false,
// 控制截屏模式叠加的垂直偏移,从底部作为工作台高度的百分比。
"screencastMode.verticalOffset": 20,
// 配置语言的文件关联 (如: `"*.extension": "html"`)。这些关联的优先级高于已安装语言的默认关联。
"files.associations": {},
// 启用后,将在文件打开时尝试猜测字符集编码。可以按语言对此项进行配置。
"files.autoGuessEncoding": false,
// 控制已更新文件的自动保存。可在[此处](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save)阅读有关自动保存的详细信息。
// - off: 永不自动保存更新后的文件。
// - afterDelay: 当文件修改后的时间超过 `files.autoSaveDelay` 中配置的值时自动进行保存。
// - onFocusChange: 编辑器失去焦点时自动保存更新后的文件。
// - onWindowChange: 窗口失去焦点时自动保存更新后的文件。
"files.autoSave": "off",
// 控制自动保存已更新文件的延迟时间 (毫秒)。仅在 `files.autoSave` 设置为 `afterDelay` 时生效。
"files.autoSaveDelay": 1000,
// 分配给新文件的默认语言模式。
"files.defaultLanguage": "",
// 在删除文件或文件夹时,将它们移动到操作系统的“废纸篓”中 (Windows 为“回收站”)。禁用此设置将永久删除文件或文件夹。
"files.enableTrash": true,
// 在读取和写入文件时使用的默认字符集编码。可以按语言对此项进行配置。
// - utf8: UTF-8
// - utf8bom: UTF-8 with BOM
// - utf16le: UTF-16 LE
// - utf16be: UTF-16 BE
// - windows1252: Western (Windows 1252)
// - iso88591: Western (ISO 8859-1)
// - iso88593: Western (ISO 8859-3)
// - iso885915: Western (ISO 8859-15)
// - macroman: Western (Mac Roman)
// - cp437: DOS (CP 437)
// - windows1256: Arabic (Windows 1256)
// - iso88596: Arabic (ISO 8859-6)
// - windows1257: Baltic (Windows 1257)
// - iso88594: Baltic (ISO 8859-4)
// - iso885914: Celtic (ISO 8859-14)
// - windows1250: Central European (Windows 1250)
// - iso88592: Central European (ISO 8859-2)
// - cp852: Central European (CP 852)
// - windows1251: Cyrillic (Windows 1251)
// - cp866: Cyrillic (CP 866)
// - iso88595: Cyrillic (ISO 8859-5)
// - koi8r: Cyrillic (KOI8-R)
// - koi8u: Cyrillic (KOI8-U)
// - iso885913: Estonian (ISO 8859-13)
// - windows1253: Greek (Windows 1253)
// - iso88597: Greek (ISO 8859-7)
// - windows1255: Hebrew (Windows 1255)
// - iso88598: Hebrew (ISO 8859-8)
// - iso885910: Nordic (ISO 8859-10)
// - iso885916: Romanian (ISO 8859-16)
// - windows1254: Turkish (Windows 1254)
// - iso88599: Turkish (ISO 8859-9)
// - windows1258: Vietnamese (Windows 1258)
// - gbk: Simplified Chinese (GBK)
// - gb18030: Simplified Chinese (GB18030)
// - cp950: Traditional Chinese (Big5)
// - big5hkscs: Traditional Chinese (Big5-HKSCS)
// - shiftjis: Japanese (Shift JIS)
// - eucjp: Japanese (EUC-JP)
// - euckr: Korean (EUC-KR)
// - windows874: Thai (Windows 874)
// - iso885911: Latin/Thai (ISO 8859-11)
// - koi8ru: Cyrillic (KOI8-RU)
// - koi8t: Tajik (KOI8-T)
// - gb2312: Simplified Chinese (GB 2312)
// - cp865: Nordic DOS (CP 865)
// - cp850: Western European DOS (CP 850)
"files.encoding": "utf8",
// 默认行尾字符。
// - \n: LF
// - \r\n: CRLF
// - auto: 使用具体操作系统规定的行末字符。
"files.eol": "auto",
// 配置排除的文件和文件夹的 glob 模式。例如,文件资源管理器将根据此设置决定要显示或隐藏的文件和文件夹。可在[此处](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)阅读有关 glob 模式的详细信息。
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
// 控制是否在会话间记住未保存的文件,以允许在退出编辑器时跳过保存提示。
// - off: 禁用热退出。
// - onExit: 在 Windows/Linux 平台关闭最后一个窗口,或者在全平台触发 `workbench.action.quit` 命令 (命令托盘、键绑定、菜单) 时进行热退出。下次启动时将还原所有已备份的窗口。
// - onExitAndWindowClose: 在 Windows/Linux 平台关闭最后一个窗口、触发 `workbench.action.quit` 命令 (命令托盘、键绑定、菜单) 会引起应用程序关闭。对于任何有文件夹打开的窗口,则不论该窗口是否是最后一个窗口进行热退出。下次启动时将还原所有未打开文件夹的窗口。若要还原打开有文件夹的窗口,请将 `window.restoreWindows` 设置为 `all`。
"files.hotExit": "onExit",
// 启用后,保存文件时在文件末尾插入一个最终新行。
"files.insertFinalNewline": false,
// 在打开大型文件时,控制 VS Code 可在重启后使用的内存。在命令行中指定 `--max-memory=新的大小` 参数可达到相同效果。
"files.maxMemoryForLargeFilesMB": 4096,
// 启用简单文件对话框。启用时,简单文件对话框将替换系统文件对话框。
"files.simpleDialog.enable": false,
// 启用后,保存文件时将删除在最终新行后的所有新行。
"files.trimFinalNewlines": false,
// 启用后,将在保存文件时删除文件末尾的空格。
"files.trimTrailingWhitespace": false,
// 配置文件路径的 glob 模式以从文件监视排除。模式必须在绝对路径上匹配(例如 ** 前缀或完整路径需正确匹配)。更改此设置需要重启。如果在启动时遇到 Code 消耗大量 CPU 时间,则可以排除大型文件夹以减少初始加载。
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true
},
// 控制资源管理器是否在打开文件时自动显示并选择。
"explorer.autoReveal": true,
// 控制资源管理器是否在把文件删除到废纸篓时进行确认。
"explorer.confirmDelete": true,
// 控制在资源管理器内拖放移动文件或文件夹时是否进行确认。
"explorer.confirmDragAndDrop": true,
// 控制文件修饰是否应使用徽章。
"explorer.decorations.badges": true,
// 控制文件修饰是否应使用颜色。
"explorer.decorations.colors": true,
// 控制资源管理器是否允许通过拖放移动文件和文件夹。
"explorer.enableDragAndDrop": true,
// 选择在粘贴同名文件(夹)时要使用的重命名方式。
// - simple: 在重复名称的末尾附加单词“copy”,后面可能跟一个数字
// - smart: 在重复名称的末尾添加一个数字。如果某个号码已经是名称的一部分,请尝试增加该号码
"explorer.incrementalNaming": "simple",
// 在“打开的编辑器”窗格中显示的编辑器数量。
"explorer.openEditors.visible": 9,
// 控制文件和文件夹在资源管理器中的排列顺序。
// - default: 按名称的字母顺序排列文件和文件夹。文件夹显示在文件前。
// - mixed: 按名称的字母顺序排列文件和文件夹。两者穿插显示。
// - filesFirst: 按名称的字母顺序排列文件和文件夹。文件显示在文件夹前。
// - type: 按扩展名的字母顺序排列文件和文件夹。文件夹显示在文件前。
// - modified: 按最后修改日期降序排列文件和文件夹。文件夹显示在文件前。
"explorer.sortOrder": "default",
// 在搜索视图中控制操作栏的位置。
// - auto: 当搜索视图较窄时将操作栏置于右侧,当搜索视图较宽时,将它紧接在内容之后。
// - right: 始终将操作栏放置在右侧。
"search.actionsPosition": "auto",
// 控制是折叠还是展开搜索结果。
// - auto: Files with less than 10 results are expanded. Others are collapsed.
// - alwaysCollapse
// - alwaysExpand
"search.collapseResults": "auto",
// 配置在搜索中排除的文件和文件夹的 glob 模式。已经继承 `files.exclude` 设置的所有 glob 模式。可在[此处](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)阅读有关 glob 模式的详细信息。
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true
},
// 控制是否在搜索中跟踪符号链接。
"search.followSymlinks": true,
// 控制搜索功能是显示在侧边栏,还是显示在水平空间更大的面板区域。
"search.location": "sidebar",
// 启用后,搜索服务进程将保持活动状态,而不是在一个小时不活动后关闭。这将使文件搜索缓存保留在内存中。
"search.maintainFileSearchCache": false,
// 是否在 Quick Open 的文件结果中包含最近打开的文件。
"search.quickOpen.includeHistory": true,
// 控制 Quick Open 文件结果中是否包括全局符号搜索的结果。
"search.quickOpen.includeSymbols": false,
// 控制是否在扩展宿主中运行搜索。重启后才能生效。
"search.runInExtensionHost": false,
// 控制是否显示搜索结果所在的行号。
"search.showLineNumbers": false,
// 若搜索词全为小写,则不区分大小写进行搜索,否则区分大小写进行搜索。
"search.smartCase": false,
// 控制在搜索文件时是否使用全局 `.gitignore` 和 `.ignore` 文件。
"search.useGlobalIgnoreFiles": false,
// 控制在搜索文件时是否使用 `.gitignore` 和 `.ignore` 文件。
"search.useIgnoreFiles": true,
// 弃用。当使用仅 PCRE2 支持的正则表达式功能时,将自动使用 PCRE2。
// 是否在文本搜索中使用 pcre2 正则表达式引擎。这允许使用一些高级正则表达式功能, 如前瞻和反向引用。但是, 并非所有 pcre2 功能都受支持-仅支持 javascript 也支持的功能。
"search.usePCRE2": false,
// 控制在选择或替换匹配项时是否打开“替换预览”视图。
"search.useReplacePreview": true,
// 已弃用。请考虑使用 "search.usePCRE2" 获取对高级正则表达式功能的支持。
// 此设置已被弃用,将回退到 "search.usePCRE2"。
"search.useRipgrep": true,
// 已弃用。请改用 "search.runInExtensionHost"
// 控制是否在扩展宿主中运行搜索
"searchRipgrep.enable": false,
// 此设置已弃用,请改用“update.mode”。
// 配置是否接收自动更新。更改后需要重新启动。更新是从微软在线服务获取的。
"update.channel": "default",
// 配置是否接收自动更新。更改后需要重新启动。更新是从微软在线服务获取的。
// - none: 禁用更新。
// - manual: 禁用自动后台更新检查。如果手动检查更新,更新将可用。
// - start: 仅在启动时检查更新。禁用自动后台更新检查。
// - default: 启用自动更新检查。代码将定期自动检查更新。
"update.mode": "default",
// 在更新后显示发行说明。发行说明将从 Microsoft 联机服务中获取。
"update.showReleaseNotes": true,
// 控制按键的分派逻辑以使用 "code" (推荐) 或 "keyCode"。
"keyboard.dispatch": "code",
// 要使用的代理设置。如果未设置,则将从 "http_proxy" 和 "https_proxy" 环境变量中继承。
"http.proxy": "",
// 要作为每个网络请求的 "Proxy-Authorization" 标头发送的值。
"http.proxyAuthorization": null,
// 控制是否根据提供的 CA 列表验证代理服务器证书。
"http.proxyStrictSSL": true,
// 对扩展使用代理支持。
// - off: 禁用对扩展的代理支持。
// - on: 为扩展启用代理支持。
// - override: 为扩展启用代理支持,覆盖请求选项。
"http.proxySupport": "override",
// 控制是否应从操作系统加载 CA 证书。(在 Windows 和 macOS 上, 关闭此窗口后需要重新加载窗口。
"http.systemCertificates": true,
// 允许在任何文件中设置断点。
"debug.allowBreakpointsEverywhere": false,
// 控制调试控制台中的字体系列。
"debug.console.fontFamily": "default",
// 控制调试控制台中的字体大小(以像素为单位)。
"debug.console.fontSize": 14,
// 设置调试控制台中的行高(以像素为单位)。使用 0 来计算从字体大小开始的行高。
"debug.console.lineHeight": 0,
// 控制是否应在调试控制台中换行。
"debug.console.wordWrap": true,
// 控制调试过程中是否启用非调试悬停提示。启用后,将调用悬停提供程序来提供悬停提示。即使启用此项设置,普通悬停提示也不会显示。
"debug.enableAllHovers": false,
// 控制当调试器中断时,工作台窗口是否应获得焦点。
"debug.focusWindowOnBreak": true,
// 当处于调试过程中时,在编辑器中内联显示变量值。
"debug.inlineValues": false,
// 控制何时打开内部调试控制台。
"debug.internalConsoleOptions": "openOnFirstSessionStart",
// 控制何时打开“调试”视图。
"debug.openDebug": "openOnSessionStart",
// 在调试会话结束时自动打开资源管理器视图。
"debug.openExplorerOnEnd": false,
// 控制何时显示调试状态栏。
// - never: 在状态栏中不再显示调试
// - always: 始终在状态栏中显示调试
// - onFirstSessionStart: 仅于第一次启动调试后在状态栏中显示调试
"debug.showInStatusBar": "onFirstSessionStart",
// 控制调试子会话是否显示在调试工具栏中。当此设置为 false 时, 子会话上的 stop 命令也将停止父会话。
"debug.showSubSessionsInToolBar": false,
// 控制调试工具栏的位置。可在所有视图中“浮动”、在调试视图中“停靠”,也可“隐藏”。
"debug.toolBarLocation": "floating",
// 全局调试启动配置。应当作为跨工作区共享的 \"launch.json\" 的替代方法。
"launch": {
"configurations": [],
"compounds": []
},
// 控制评论面板应何时打开。
"comments.openPanel": "openOnSessionStartWithComments",
// Enable/disable autoclosing of HTML tags.
"html.autoClosingTags": true,
// A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/Microsoft/vscode-html-languageservice/blob/master/docs/customData.md).
//
// VS Code loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.
//
// The file paths are relative to workspace and only workspace folder settings are considered.
"html.customData": [],
// This setting is no longe experimental. Use `html.customData` instead.
// A list of JSON file paths that define custom tags, properties and other HTML syntax constructs. Only workspace folder setting will be read.
"html.experimental.customData": [],
// List of tags, comma separated, where the content shouldn't be reformatted. `null` defaults to the `pre` tag.
"html.format.contentUnformatted": "pre,code,textarea",
// Enable/disable default HTML formatter.
"html.format.enable": true,
// End with a newline.
"html.format.endWithNewline": false,
// List of tags, comma separated, that should have an extra newline before them. `null` defaults to `"head, body, /html"`.
"html.format.extraLiners": "head, body, /html",
// Format and indent `{{#foo}}` and `{{/foo}}`.
"html.format.indentHandlebars": false,
// Indent `` and `` sections.
"html.format.indentInnerHtml": false,
// Maximum number of line breaks to be preserved in one chunk. Use `null` for unlimited.
"html.format.maxPreserveNewLines": null,
// Controls whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text.
"html.format.preserveNewLines": true,
// List of tags, comma separated, that shouldn't be reformatted. `null` defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content.
"html.format.unformatted": "wbr",
// Wrap attributes.
// - auto: Wrap attributes only when line length is exceeded.
// - force: Wrap each attribute except first.
// - force-aligned: Wrap each attribute except first and keep aligned.
// - force-expand-multiline: Wrap each attribute.
// - aligned-multiple: Wrap when line length is exceeded, align attributes vertically.
// - preserve: Preserve wrapping of attributes
// - preserve-aligned: Preserve wrapping of attributes but align.
"html.format.wrapAttributes": "auto",
// Maximum amount of characters per line (0 = disable).
"html.format.wrapLineLength": 120,
// Controls whether the built-in HTML language support suggests HTML5 tags, properties and values.
"html.suggest.html5": true,
// Traces the communication between VS Code and the HTML language server.
"html.trace.server": "off",
// Controls whether the built-in HTML language support validates embedded scripts.
"html.validate.scripts": true,
// Controls whether the built-in HTML language support validates embedded styles.
"html.validate.styles": true,
// The setting `json.colorDecorators.enable` has been deprecated in favor of `editor.colorDecorators`.
// Enables or disables color decorators
"json.colorDecorators.enable": true,
// Enable/disable default JSON formatter
"json.format.enable": true,
// Associate schemas to JSON files in the current project
"json.schemas": [],
// Traces the communication between VS Code and the JSON language server.
"json.trace.server": "off",
// Sets how line-breaks are rendered in the markdown preview. Setting it to 'true' creates a
for every newline.
"markdown.preview.breaks": false,
// Double click in the markdown preview to switch to the editor.
"markdown.preview.doubleClickToSwitchToEditor": true,
// Controls the font family used in the markdown preview.
"markdown.preview.fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', 'Ubuntu', 'Droid Sans', sans-serif",
// Controls the font size in pixels used in the markdown preview.
"markdown.preview.fontSize": 14,
// Controls the line height used in the markdown preview. This number is relative to the font size.
"markdown.preview.lineHeight": 1.6,
// Enable or disable conversion of URL-like text to links in the markdown preview.
"markdown.preview.linkify": true,
// Mark the current editor selection in the markdown preview.
"markdown.preview.markEditorSelection": true,
// How should clicking on links to markdown files be handled in the preview.
// - inPreview: Try to open links in the markdown preview
// - inEditor: Try to open links in the editor
"markdown.preview.openMarkdownLinks": "inPreview",
// When a markdown preview is scrolled, update the view of the editor.
"markdown.preview.scrollEditorWithPreview": true,
// When a markdown editor is scrolled, update the view of the preview.
"markdown.preview.scrollPreviewWithEditor": true,
// This setting has been replaced by 'markdown.preview.scrollPreviewWithEditor' and no longer has any effect.
// [Deprecated] Scrolls the markdown preview to reveal the currently selected line from the editor.
"markdown.preview.scrollPreviewWithEditorSelection": true,
// A list of URLs or local paths to CSS style sheets to use from the markdown preview. Relative paths are interpreted relative to the folder open in the explorer. If there is no open folder, they are interpreted relative to the location of the markdown file. All '\' need to be written as '\\'.
"markdown.styles": [],
// Enable debug logging for the markdown extension.
"markdown.trace": "off",
// Controls whether the built-in PHP language suggestions are enabled. The support suggests PHP globals and variables.
"php.suggest.basic": true,
// Enable/disable built-in PHP validation.
"php.validate.enable": true,
// Points to the PHP executable.
"php.validate.executablePath": null,
// Whether the linter is run on save or on type.
"php.validate.run": "onSave",
// Enable/disable automatic closing of JSX tags. Requires using TypeScript 3.0 or newer in the workspace.
"javascript.autoClosingTags": true,
// Enable/disable default JavaScript formatter.
"javascript.format.enable": true,
// Defines space handling after a comma delimiter.
"javascript.format.insertSpaceAfterCommaDelimiter": true,
// Defines space handling after the constructor keyword. Requires using TypeScript 2.3.0 or newer in the workspace.
"javascript.format.insertSpaceAfterConstructor": false,
// Defines space handling after function keyword for anonymous functions.
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
// Defines space handling after keywords in a control flow statement.
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
// Defines space handling after opening and before closing JSX expression braces.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
// Defines space handling after opening and before closing non-empty braces. Requires using TypeScript 2.3.0 or newer in the workspace.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
// Defines space handling after opening and before closing non-empty brackets.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
// Defines space handling after opening and before closing non-empty parenthesis.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
// Defines space handling after opening and before closing template string braces.
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
// Defines space handling after a semicolon in a for statement.
"javascript.format.insertSpaceAfterSemicolonInForStatements": true,
// Defines space handling after a binary operator.
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
// Defines space handling before function argument parentheses.
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
// Defines whether an open brace is put onto a new line for control blocks or not.
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": false,
// Defines whether an open brace is put onto a new line for functions or not.
"javascript.format.placeOpenBraceOnNewLineForFunctions": false,
// Enable/disable semantic checking of JavaScript files. Existing jsconfig.json or tsconfig.json files override this setting. Requires using TypeScript 2.3.1 or newer in the workspace.
"javascript.implicitProjectConfig.checkJs": false,
// Enable/disable `experimentalDecorators` for JavaScript files that are not part of a project. Existing jsconfig.json or tsconfig.json files override this setting. Requires using TypeScript 2.3.1 or newer in the workspace.
"javascript.implicitProjectConfig.experimentalDecorators": false,
// Preferred path style for auto imports.
// - auto: Automatically select import path style. Prefers using a relative import if `baseUrl` is configured and the relative path has fewer segments than the non-relative import.
// - relative: Relative to the file location.
// - non-relative: Based on the `baseUrl` configured in your `jsconfig.json` / `tsconfig.json`.
"javascript.preferences.importModuleSpecifier": "auto",
// Preferred quote style to use for quick fixes: `single` quotes, `double` quotes, or `auto` infer quote type from existing imports. Requires using TypeScript 2.9 or newer in the workspace.
"javascript.preferences.quoteStyle": "auto",
// Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.
"javascript.preferences.renameShorthandProperties": true,
// Enable/disable references CodeLens in JavaScript files.
"javascript.referencesCodeLens.enabled": false,
// Enable/disable auto import suggestions. Requires using TypeScript 2.6.1 or newer in the workspace.
"javascript.suggest.autoImports": true,
// Complete functions with their parameter signature.
"javascript.suggest.completeFunctionCalls": false,
// Enable/disable suggestion to complete JSDoc comments.
"javascript.suggest.completeJSDocs": true,
// Enabled/disable autocomplete suggestions.
"javascript.suggest.enabled": true,
// Enable/disable including unique names from the file in JavaScript suggestions.
"javascript.suggest.names": true,
// Enable/disable suggestions for paths in import statements and require calls.
"javascript.suggest.paths": true,
// Enable/disable suggestion diagnostics for JavaScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace.
"javascript.suggestionActions.enabled": true,
// Enable/disable automatic updating of import paths when you rename or move a file in VS Code. Requires using TypeScript 2.9 or newer in the workspace.
// - prompt: Prompt on each rename.
// - always: Always update paths automatically.
// - never: Never rename paths and don't prompt.
"javascript.updateImportsOnFileMove.enabled": "prompt",
// Enable/disable JavaScript validation.
"javascript.validate.enable": true,
// Enable/disable automatic closing of JSX tags. Requires using TypeScript 3.0 or newer in the workspace.
"typescript.autoClosingTags": true,
// Check if NPM is installed for Automatic Type Acquisition.
"typescript.check.npmIsInstalled": true,
// Disables automatic type acquisition. Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.
"typescript.disableAutomaticTypeAcquisition": false,
// Enable/disable default TypeScript formatter.
"typescript.format.enable": true,
// Defines space handling after a comma delimiter.
"typescript.format.insertSpaceAfterCommaDelimiter": true,
// Defines space handling after the constructor keyword. Requires using TypeScript 2.3.0 or newer in the workspace.
"typescript.format.insertSpaceAfterConstructor": false,
// Defines space handling after function keyword for anonymous functions.
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
// Defines space handling after keywords in a control flow statement.
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
// Defines space handling after opening and before closing JSX expression braces.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
// Defines space handling after opening and before closing non-empty braces. Requires using TypeScript 2.3.0 or newer in the workspace.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
// Defines space handling after opening and before closing non-empty brackets.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
// Defines space handling after opening and before closing non-empty parenthesis.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
// Defines space handling after opening and before closing template string braces.
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
// Defines space handling after a semicolon in a for statement.
"typescript.format.insertSpaceAfterSemicolonInForStatements": true,
// Defines space handling after type assertions in TypeScript. Requires using TypeScript 2.4 or newer in the workspace.
"typescript.format.insertSpaceAfterTypeAssertion": false,
// Defines space handling after a binary operator.
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
// Defines space handling before function argument parentheses.
"typescript.format.insertSpaceBeforeFunctionParenthesis": false,
// Defines whether an open brace is put onto a new line for control blocks or not.
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": false,
// Defines whether an open brace is put onto a new line for functions or not.
"typescript.format.placeOpenBraceOnNewLineForFunctions": false,
// Enable/disable implementations CodeLens. This CodeLens shows the implementers of an interface.
"typescript.implementationsCodeLens.enabled": false,
// Sets the locale used to report JavaScript and TypeScript errors. Requires using TypeScript 2.6.0 or newer in the workspace. Default of `null` uses VS Code's locale.
"typescript.locale": null,
// Specifies the path to the NPM executable used for Automatic Type Acquisition. Requires using TypeScript 2.3.4 or newer in the workspace.
"typescript.npm": null,
// Preferred path style for auto imports.
// - auto: Automatically select import path style. Prefers using a relative import if `baseUrl` is configured and the relative path has fewer segments than the non-relative import.
// - relative: Relative to the file location.
// - non-relative: Based on the `baseUrl` configured in your `jsconfig.json` / `tsconfig.json`.
"typescript.preferences.importModuleSpecifier": "auto",
// Preferred quote style to use for quick fixes: `single` quotes, `double` quotes, or `auto` infer quote type from existing imports. Requires using TypeScript 2.9 or newer in the workspace.
"typescript.preferences.quoteStyle": "auto",
// Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.
"typescript.preferences.renameShorthandProperties": true,
// Enable/disable references CodeLens in TypeScript files.
"typescript.referencesCodeLens.enabled": false,
// Report style checks as warnings.
"typescript.reportStyleChecksAsWarnings": true,
// Enable/disable auto import suggestions. Requires using TypeScript 2.6.1 or newer in the workspace.
"typescript.suggest.autoImports": true,
// Complete functions with their parameter signature.
"typescript.suggest.completeFunctionCalls": false,
// Enable/disable suggestion to complete JSDoc comments.
"typescript.suggest.completeJSDocs": true,
// Enabled/disable autocomplete suggestions.
"typescript.suggest.enabled": true,
// Enable/disable suggestions for paths in import statements and require calls.
"typescript.suggest.paths": true,
// Enable/disable suggestion diagnostics for TypeScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace.
"typescript.suggestionActions.enabled": true,
// Enabled/disable occasional surveys that help us improve VS Code's JavaScript and TypeScript support.
"typescript.surveys.enabled": true,
// Controls auto detection of tsc tasks.
// - on: Create both build and watch tasks.
// - off: Disable this feature.
// - build: Only create single run compile tasks.
// - watch: Only create compile and watch tasks.
"typescript.tsc.autoDetect": "on",
// Specifies the folder path containing the tsserver and lib*.d.ts files to use.
"typescript.tsdk": null,
// Enables logging of the TS server to a file. This log can be used to diagnose TS Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project.
"typescript.tsserver.log": "off",
// Additional paths to discover Typescript Language Service plugins. Requires using TypeScript 2.3.0 or newer in the workspace.
"typescript.tsserver.pluginPaths": [],
// Enables tracing of messages sent to the TS server. This trace can be used to diagnose TS Server issues. The trace may contain file paths, source code, and other potentially sensitive information from your project.
"typescript.tsserver.trace": "off",
// Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols. Requires using TypeScript 3.4.0 or newer in the workspace.
"typescript.tsserver.useSeparateSyntaxServer": true,
// Enable/disable automatic updating of import paths when you rename or move a file in VS Code. Requires using TypeScript 2.9 or newer in the workspace.
// - prompt: Prompt on each rename.
// - always: Always update paths automatically.
// - never: Never rename paths and don't prompt.
"typescript.updateImportsOnFileMove.enabled": "prompt",
// Enable/disable TypeScript validation.
"typescript.validate.enable": true,
// By default, VS Code triggers property value completion after selecting a CSS property. Use this setting to disable this behavior.
"css.completion.triggerPropertyValueCompletion": true,
// A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/Microsoft/vscode-css-languageservice/blob/master/docs/customData.md).
//
// VS Code loads custom data on startup to enhance its CSS support for the custom CSS properties, at directives, pseudo classes and pseudo elements you specify in the JSON files.
//
// The file paths are relative to workspace and only workspace folder settings are considered.
"css.customData": [],
// This setting is no longe experimental. Use `css.customData` instead.
// A list of JSON file paths that define custom CSS data that loads custom properties, at directives, pseudo classes / elements.
"css.experimental.customData": [],
// Invalid number of parameters.
"css.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
"css.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific properties.
"css.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
"css.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
"css.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
"css.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
"css.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
"css.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
"css.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
"css.lint.ieHack": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
"css.lint.important": "ignore",
// Import statements do not load in parallel.
"css.lint.importStatement": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
"css.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
"css.lint.universalSelector": "ignore",
// Unknown at-rule.
"css.lint.unknownAtRules": "warning",
// Unknown property.
"css.lint.unknownProperties": "warning",
// Unknown vendor specific property.
"css.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"css.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
"css.lint.vendorPrefix": "warning",
// No unit for zero needed.
"css.lint.zeroUnits": "ignore",
// Traces the communication between VS Code and the CSS language server.
"css.trace.server": "off",
// Enables or disables all validations.
"css.validate": true,
// Invalid number of parameters.
"less.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
"less.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific properties.
"less.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
"less.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
"less.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
"less.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
"less.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
"less.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
"less.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
"less.lint.ieHack": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
"less.lint.important": "ignore",
// Import statements do not load in parallel.
"less.lint.importStatement": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
"less.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
"less.lint.universalSelector": "ignore",
// Unknown property.
"less.lint.unknownProperties": "warning",
// Unknown vendor specific property.
"less.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"less.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
"less.lint.vendorPrefix": "warning",
// No unit for zero needed.
"less.lint.zeroUnits": "ignore",
// Enables or disables all validations.
"less.validate": true,
// Invalid number of parameters.
"scss.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
"scss.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific properties.
"scss.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
"scss.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
"scss.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
"scss.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
"scss.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
"scss.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
"scss.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
"scss.lint.ieHack": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
"scss.lint.important": "ignore",
// Import statements do not load in parallel.
"scss.lint.importStatement": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
"scss.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
"scss.lint.universalSelector": "ignore",
// Unknown property.
"scss.lint.unknownProperties": "warning",
// Unknown vendor specific property.
"scss.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"scss.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
"scss.lint.vendorPrefix": "warning",
// No unit for zero needed.
"scss.lint.zeroUnits": "ignore",
// Enables or disables all validations.
"scss.validate": true,
// 启用后,将自动检查扩展更新。若扩展存在更新,将在“扩展”视图中将其标记为过时扩展。更新将从 Microsoft 联机服务中获取。
"extensions.autoCheckUpdates": true,
// 启用后,将自动安装扩展更新。更新将从 Microsoft 联机服务中获取。
"extensions.autoUpdate": true,
// 启用后,将在离开“扩展”视图时,自动关闭扩展详细信息页面。
"extensions.closeExtensionDetailsOnViewChange": false,
// 当此处列出扩展名时,该扩展名处理URI时将不会显示确认提示。
"extensions.confirmedUriHandlerExtensionIds": [],
// 启用后,将不会显示扩展建议的通知。
"extensions.ignoreRecommendations": false,
// 启用后,除非用户特别进行请求,将不会获取或显示推荐。某些推荐将从 Microsoft 联机服务中获取。
"extensions.showRecommendationsOnlyOnDemand": false,
// 自定义要启动的终端类型。
// - integrated: 使用 VS Code 的集成终端。
// - external: 使用设定的外部终端。
"terminal.explorerKind": "integrated",
// 自定义要在 Linux 上运行的终端。
"terminal.external.linuxExec": "x-terminal-emulator",
// 定义在 macOS 上运行的终端应用程序。
"terminal.external.osxExec": "Terminal.app",
// 自定义要在 Windows 上运行的终端。
"terminal.external.windowsExec": "C:\\Windows\\System32\\cmd.exe",
// A path that when set will override `terminal.integrated.shell.linux` and ignore `shellArgs` values for automation-related terminal usage like tasks and debug.
"terminal.integrated.automationShell.linux": null,
// A path that when set will override `terminal.integrated.shell.osx` and ignore `shellArgs` values for automation-related terminal usage like tasks and debug.
"terminal.integrated.automationShell.osx": null,
// A path that when set will override `terminal.integrated.shell.windows` and ignore `shellArgs` values for automation-related terminal usage like tasks and debug.
"terminal.integrated.automationShell.windows": null,
// 一组命令 ID,其键绑定不会发送到 shell,而是始终由 Code 处理。这样,通常由 shell 使用的键绑定的作用与终端未聚焦时相同,例如 ctrl + p 启动 "快速打开"。
// 默认跳过的命令:- editor.action.toggleTabFocusMode
// - workbench.action.debug.continue
// - workbench.action.debug.pause
// - workbench.action.debug.restart
// - workbench.action.debug.run
// - workbench.action.debug.start
// - workbench.action.debug.stepInto
// - workbench.action.debug.stepOut
// - workbench.action.debug.stepOver
// - workbench.action.debug.stop
// - workbench.action.firstEditorInGroup
// - workbench.action.focusActiveEditorGroup
// - workbench.action.focusEighthEditorGroup
// - workbench.action.focusFifthEditorGroup
// - workbench.action.focusFirstEditorGroup
// - workbench.action.focusFourthEditorGroup
// - workbench.action.focusLastEditorGroup
// - workbench.action.focusSecondEditorGroup
// - workbench.action.focusSeventhEditorGroup
// - workbench.action.focusSixthEditorGroup
// - workbench.action.focusThirdEditorGroup
// - workbench.action.lastEditorInGroup
// - workbench.action.navigateDown
// - workbench.action.navigateLeft
// - workbench.action.navigateRight
// - workbench.action.navigateUp
// - workbench.action.nextPanelView
// - workbench.action.nextSideBarView
// - workbench.action.openNextRecentlyUsedEditorInGroup
// - workbench.action.openPreviousRecentlyUsedEditorInGroup
// - workbench.action.previousPanelView
// - workbench.action.previousSideBarView
// - workbench.action.quickOpen
// - workbench.action.quickOpenPreviousEditor
// - workbench.action.quickOpenView
// - workbench.action.showCommands
// - workbench.action.tasks.build
// - workbench.action.tasks.reRunTask
// - workbench.action.tasks.restartTask
// - workbench.action.tasks.runTask
// - workbench.action.tasks.showLog
// - workbench.action.tasks.showTasks
// - workbench.action.tasks.terminate
// - workbench.action.tasks.test
// - workbench.action.terminal.clear
// - workbench.action.terminal.clearSelection
// - workbench.action.terminal.copySelection
// - workbench.action.terminal.deleteToLineStart
// - workbench.action.terminal.deleteWordLeft
// - workbench.action.terminal.deleteWordRight
// - workbench.action.terminal.findNextTerminalFocus
// - workbench.action.terminal.findPreviousTerminalFocus
// - workbench.action.terminal.focus
// - workbench.action.terminal.focusAtIndex1
// - workbench.action.terminal.focusAtIndex2
// - workbench.action.terminal.focusAtIndex3
// - workbench.action.terminal.focusAtIndex4
// - workbench.action.terminal.focusAtIndex5
// - workbench.action.terminal.focusAtIndex6
// - workbench.action.terminal.focusAtIndex7
// - workbench.action.terminal.focusAtIndex8
// - workbench.action.terminal.focusAtIndex9
// - workbench.action.terminal.focusFindWidget
// - workbench.action.terminal.focusNext
// - workbench.action.terminal.focusNextPane
// - workbench.action.terminal.focusPrevious
// - workbench.action.terminal.focusPreviousPane
// - workbench.action.terminal.hideFindWidget
// - workbench.action.terminal.kill
// - workbench.action.terminal.moveToLineEnd
// - workbench.action.terminal.moveToLineStart
// - workbench.action.terminal.navigationModeExit
// - workbench.action.terminal.navigationModeFocusNext
// - workbench.action.terminal.navigationModeFocusPrevious
// - workbench.action.terminal.new
// - workbench.action.terminal.newInActiveWorkspace
// - workbench.action.terminal.paste
// - workbench.action.terminal.resizePaneDown
// - workbench.action.terminal.resizePaneLeft
// - workbench.action.terminal.resizePaneRight
// - workbench.action.terminal.resizePaneUp
// - workbench.action.terminal.runActiveFile
// - workbench.action.terminal.runSelectedText
// - workbench.action.terminal.scrollDown
// - workbench.action.terminal.scrollDownPage
// - workbench.action.terminal.scrollToBottom
// - workbench.action.terminal.scrollToNextCommand
// - workbench.action.terminal.scrollToPreviousCommand
// - workbench.action.terminal.scrollToTop
// - workbench.action.terminal.scrollUp
// - workbench.action.terminal.scrollUpPage
// - workbench.action.terminal.selectAll
// - workbench.action.terminal.selectToNextCommand
// - workbench.action.terminal.selectToNextLine
// - workbench.action.terminal.selectToPreviousCommand
// - workbench.action.terminal.selectToPreviousLine
// - workbench.action.terminal.sendSequence
// - workbench.action.terminal.split
// - workbench.action.terminal.splitInActiveWorkspace
// - workbench.action.terminal.toggleFindCaseSensitiveTerminalFocus
// - workbench.action.terminal.toggleFindRegexTerminalFocus
// - workbench.action.terminal.toggleFindWholeWordTerminalFocus
// - workbench.action.terminal.toggleTerminal
// - workbench.action.toggleFullScreen
// - workbench.action.toggleMaximizedPanel
// - workbench.action.togglePanel
"terminal.integrated.commandsToSkipShell": [],
// 在存在活动终端会话的情况下,是否在退出时进行确认。
"terminal.integrated.confirmOnExit": false,
// 控制是否将终端中选定的文本复制到剪贴板。
"terminal.integrated.copyOnSelection": false,
// 控制终端光标是否闪烁。
"terminal.integrated.cursorBlinking": false,
// 控制终端光标的样式。
"terminal.integrated.cursorStyle": "block",
// 将在其中启动终端的一个显式起始路径,它用作 shell 进程的当前工作目录(cwd)。当根目录为不方便的 cwd 时,此路径在工作区设置中可能十分有用。
"terminal.integrated.cwd": "",
// 控制终端中的粗体文本是否始终使用 ANSI 的“明亮”颜色样式。
"terminal.integrated.drawBoldTextInBrightColors": true,
// 控制终端铃声是否启用。
"terminal.integrated.enableBell": false,
// 要添加到 VS Code 进程中的带有环境变量的对象,其将被 Linux 终端使用。设置为 `null` 可删除环境变量。
"terminal.integrated.env.linux": {},
// 要添加到 VS Code 进程中的带有环境变量的对象,其将被 macOS 终端使用。设置为 `null` 可删除环境变量。
"terminal.integrated.env.osx": {},
// 要添加到 VS Code 进程中的带有环境变量的对象,其将被 Windows 终端使用。设置为 `null` 可删除环境变量。
"terminal.integrated.env.windows": {},
// An experimental setting that will refresh the terminal renderer when the system is resumed.
"terminal.integrated.experimentalRefreshOnResume": false,
// An experimental setting that will use the terminal title event for the dropdown title. This setting will only apply to new terminals.
"terminal.integrated.experimentalUseTitleEvent": false,
// 控制终端的字体系列,默认为 `editor.fontFamily` 的值。
"terminal.integrated.fontFamily": "",
// 控制终端的字号(以像素为单位)。
"terminal.integrated.fontSize": 14,
// 终端中非粗体字使用的字重。
"terminal.integrated.fontWeight": "normal",
// 终端中粗体字使用的字重。
"terminal.integrated.fontWeightBold": "bold",
// Whether new shells should inherit their environment from VS Code. This is not supported on Windows.
"terminal.integrated.inheritEnv": true,
// 控制终端字符的间距。此项的值为整数,表示在字符间添加的额外像素数。
"terminal.integrated.letterSpacing": 0,
// 控制终端的行高,此数字乘上终端字号得到实际行高(以像素为单位)。
"terminal.integrated.lineHeight": 1,
// 在 macOS 中,控制是否在按住 Option 键并单击时进行强制选择。这将强制进行常规 (行) 选择并禁用列选择模式; 同时允许使用常规终端选择来进行复制与粘贴,例如,可在 tmux 启用了鼠标模式时适用。
"terminal.integrated.macOptionClickForcesSelection": false,
// 控制是否在 macOS 终端中,使用 Option 键作为 Meta 键。
"terminal.integrated.macOptionIsMeta": false,
// 控制终端的渲染方式。
// - auto: 让 VS Code 决定要使用的渲染器。
// - canvas: 使用标准 GPU/基于 canvas 的渲染器
// - dom: 使用基于 DOM 的备用渲染器。
"terminal.integrated.rendererType": "auto",
// 控制终端对右键单击的响应方式。
// - default: 显示上下文菜单。
// - copyPaste: 当有内容选中时进行复制,否则进行粘贴。
// - selectWord: 选择光标下的单词并显示上下文菜单。
"terminal.integrated.rightClickBehavior": "default",
// 控制终端保持在缓冲区的最大行数。
"terminal.integrated.scrollback": 1000,
// 控制是否在终端启动时设置语言区域变量。
"terminal.integrated.setLocaleVariables": true,
// The path of the shell that the terminal uses on Linux (default: /bin/bash). [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shell.linux": null,
// The path of the shell that the terminal uses on macOS (default: /bin/bash). [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shell.osx": null,
// The path of the shell that the terminal uses on Windows (default: cmd.exe). [Read more about configuring the shell](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration).
"terminal.integrated.shell.windows": null,
// 在 Linux 终端上使用的命令行参数。[阅读有关配置 Shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shellArgs.linux": [],
// 在 macOS 终端上使用的命令行参数。[阅读有关配置 Shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shellArgs.osx": [
"-l"
],
// 在 Windows 终端上使用的命令行参数。[阅读有关配置 Shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration)。
"terminal.integrated.shellArgs.windows": [],
// 当退出代码非零时,控制是否显示“终端进程以某退出代码终止”的警告。
"terminal.integrated.showExitAlert": true,
// 控制拆分终端的初始工作目录。
// - workspaceRoot: 新拆分终端将使用工作区根目录作为工作目录。在多根目录工作区中,可选择要使用的根目录。
// - initial: 新拆分终端将使用父终端起始目录作为工作目录。
// - inherited: 在macOS和Linux上,一个新的分割终端将使用父终端的工作目录。在Windows上,这与初始值相同。
"terminal.integrated.splitCwd": "inherited",
// 是否要将 ConPTY 用于 Windows 终端进程通信(需要 Windows 10 内部版本号 18309+)。如果此为 false,则将使用 Winpty。
"terminal.integrated.windowsEnableConpty": true,
// 在打开文件时,控制是否在“问题”视图中对其进行定位。
"problems.autoReveal": true,
// 在文件和文件夹上显示错误和警告。
"problems.decorations.enabled": true,
// 启用/禁用导航路径。
"breadcrumbs.enabled": true,
// 控制是否及如何在“导航路径”视图中显示文件路径。
// - on: 在导航路径视图中显示文件路径。
// - off: 不在导航路径视图中显示文件路径。
// - last: 在导航路径视图中仅显示文件路径的最后一个元素。
"breadcrumbs.filePath": "on",
// 使用图标渲染面包屑导航项。
"breadcrumbs.icons": true,
// 控制是否及如何在“导航路径”视图中显示符号。
// - on: 在“导航路径”视图中显示所有符号。
// - off: 不在导航路径视图中显示符号。
// - last: 在导航路径视图中仅显示当前符号。
"breadcrumbs.symbolPath": "on",
// 控制“导航路径”大纲视图中符号的排序方式。
// - position: 以文件位置顺序显示符号大纲。
// - name: 以字母顺序显示符号大纲。
// - type: 以符号类型顺序显示符号大纲。
"breadcrumbs.symbolSortOrder": "position",
// 将崩溃报告发送到 Microsoft 联机服务。
// 此选项在重新启动后才能生效。
"telemetry.enableCrashReporter": true,
// 将使用数据和错误发送到 Microsoft 联机服务。
"telemetry.enableTelemetry": true,
// 显示大纲元素的图标。
"outline.icons": true,
// 使用错误和警告的徽章。
"outline.problems.badges": true,
// 使用颜色表示错误和警告。
"outline.problems.colors": true,
// 显示大纲元素上的错误和警告。
"outline.problems.enabled": true,
// Path to a writable folder where analyzer can cache its data. Change requires restart.
"python.analysis.cacheFolderPath": "",
// Delay before diagnostic messages are transferred to the problems list (in milliseconds).
"python.analysis.diagnosticPublishDelay": 1000,
// List of suppressed diagnostic messages.
"python.analysis.disabled": [],
// List of diagnostics messages to be shown as errors.
"python.analysis.errors": [],
// List of diagnostics messages to be shown as information.
"python.analysis.information": [],
// Defines type of log messages language server writes into the output window.
"python.analysis.logLevel": "Error",
// Allows code analysis to keep parser trees in memory. Increases memory consumption but may improve performance with large library analysis.
"python.analysis.memory.keepLibraryAst": false,
// Allows code analysis to keep library function local variables. Allows code navigation in Python libraries function bodies. Increases memory consumption.
"python.analysis.memory.keepLibraryLocalVariables": false,
// Only show errors and warnings for open files rather than for the entire workspace.
"python.analysis.openFilesOnly": true,
// Limits depth of the symbol tree in the document outline.
"python.analysis.symbolsHierarchyDepthLimit": 10,
// Paths to Typeshed stub folders. Default is Typeshed installed with the language server. Change requires restart.
"python.analysis.typeshedPaths": [],
// List of diagnostics messages to be shown as warnings.
"python.analysis.warnings": [],
// Automatically add brackets for functions.
"python.autoComplete.addBrackets": false,
// List of paths to libraries and the like that need to be imported by auto complete engine. E.g. when using Google App SDK, the paths are not in system path, hence need to be added into this list.
"python.autoComplete.extraPaths": [],
// Controls appearance of methods with double underscores in the completion list.
"python.autoComplete.showAdvancedMembers": true,
// Specifies paths to local typeshed repository clone(s) for the Python language server.
"python.autoComplete.typeshedPaths": [],
// Automatically update the language server.
"python.autoUpdateLanguageServer": true,
// Path to the conda executable to use for activation (version 4.4+).
"python.condaPath": "",
// After running a cell, add a 'Goto' code lens on the cell. Note, disabling all code lenses disables this code lens as well.
"python.dataScience.addGotoCodeLenses": true,
// Allows a user to import a jupyter notebook into a python file anytime one is opened.
"python.dataScience.allowImportFromNotebook": true,
// Allow the inputting of python code directly into the Python Interactive window
"python.dataScience.allowInput": true,
// Allow the Python Interactive window to be shared during a Live Share session
"python.dataScience.allowLiveShare": true,
// Allow for connecting the Python Interactive window to a https Jupyter server that does not have valid certificates. This can be a security risk, so only use for known and trusted servers.
"python.dataScience.allowUnauthorizedRemoteConnection": false,
// Warn the user before restarting a kernel.
"python.dataScience.askForKernelRestart": true,
// Warn the user before trying to open really large data frames.
"python.dataScience.askForLargeDataFrames": true,
// When opening ipynb files, automatically preview the contents in the Python Interactive window.
"python.dataScience.autoPreviewNotebooksInInteractivePane": false,
// When importing or exporting a Jupyter Notebook add a directory change command to allow relative path loading to work.
"python.dataScience.changeDirOnImportExport": true,
// Set of commands to put as code lens above a cell. Defaults to 'python.datascience.runcell, python.datascience.runallcellsabove, python.datascience.debugcell'
"python.dataScience.codeLenses": "python.datascience.runcell, python.datascience.runallcellsabove, python.datascience.debugcell",
// Regular expression used to identify code cells. All code until the next match is considered part of this cell.
// Defaults to '^(#\s*%%|#\s*\|#\s*In\[\d*?\]|#\s*In\[ \])' if left blank
"python.dataScience.codeRegularExpression": "^(#\\s*%%|#\\s*\\|#\\s*In\\[\\d*?\\]|#\\s*In\\[ \\])",
// Collapse cell input code by default.
"python.dataScience.collapseCellInputCodeByDefault": true,
// Whether or not to use the theme's peek color as the background for the input box.
"python.dataScience.colorizeInputBox": true,
// Set of debug commands to put as code lens above a cell while debugging.
"python.dataScience.debugCodeLenses": "python.datascience.debugcontinue, python.datascience.debugstop, python.datascience.debugstepover",
// When debugging, debug just my code.
"python.dataScience.debugJustMyCode": true,
// Draw a highlight behind the currently active cell.
"python.dataScience.decorateCells": true,
// Enables moving to the next cell when clicking on a 'Run Cell' code lens.
"python.dataScience.enableAutoMoveToNextCell": true,
// Enables code lens for 'cells' in a python file.
"python.dataScience.enableCellCodeLens": true,
// Enable the experimental data science features in the python extension.
"python.dataScience.enabled": true,
// Enable code gathering for single cells in the interactive window (experimental).
"python.dataScience.enableGather": false,
// Modify plot output so that it can be expanded into a plot viewer window.
"python.dataScience.enablePlotViewer": true,
// No longer necessary as the theme colors are used for error messages
// Background color (in hex) for exception messages in the Python Interactive window.
"python.dataScience.errorBackgroundColor": "#FFFFFF",
// Enable exporting a python file into a jupyter notebook and run all cells when doing so.
"python.dataScience.exportWithOutputEnabled": false,
//
"python.dataScience.gatherRules": [
{
"objectName": "df",
"functionName": "head",
"doesNotModify": [
"OBJECT"
]
},
{
"objectName": "df",
"functionName": "describe",
"doesNotModify": [
"OBJECT"
]
},
{
"objectName": "df",
"functionName": "tail",
"doesNotModify": [
"OBJECT"
]
},
{
"functionName": "print",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "KMeans",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "scatter",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "fit",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "sum",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "len",
"doesNotModify": [
"ARGUMENTS"
]
}
],
// Don't use the VS Code theme in the Python Interactive window (requires reload of VS Code). This forces the Python Interactive window to use 'Light +(default light)' and disables matplotlib defaults.
"python.dataScience.ignoreVscodeTheme": false,
// Amount of time (in ms) to wait for an interrupt before asking to restart the Jupyter kernel.
"python.dataScience.jupyterInterruptTimeout": 10000,
// Number of times to attempt to connect to the Jupyter Notebook
"python.dataScience.jupyterLaunchRetries": 3,
// Amount of time (in ms) to wait for the Jupyter Notebook server to start.
"python.dataScience.jupyterLaunchTimeout": 60000,
// Select the Jupyter server URI to connect to. Select 'local' to launch a new Juypter server on the local machine.
"python.dataScience.jupyterServerURI": "local",
// Amount of time to wait for guest connections to verify they have the Python extension installed.
"python.dataScience.liveShareConnectionTimeout": 1000,
// Uncomment shell assignments (#!), line magic (#!%) and cell magic (#!%%) when parsing code cells.
"python.dataScience.magicCommandsAsComments": false,
// Regular expression used to identify markdown cells. All comments after this expression are considered part of the markdown.
// Defaults to '^(#\s*%%\s*\[markdown\]|#\s*\)' if left blank
"python.dataScience.markdownRegularExpression": "^(#\\s*%%\\s*\\[markdown\\]|#\\s*\\)",
// Maximum size (in pixels) of text output in the Python Interactive window before a scrollbar appears. Set to -1 for infinity.
"python.dataScience.maxOutputSize": 400,
// Set the root directory for loading files for the Python Interactive window.
"python.dataScience.notebookFileRoot": "${workspaceFolder}",
// Path to ptvsd experimental bits for debugging cells.
"python.dataScience.ptvsdDistPath": "",
// When debugging a cell, open this port on the remote box. If -1 is specified, a random port between 8889 and 9000 will be attempted.
"python.dataScience.remoteDebuggerPort": -1,
// A series of Python instructions that will be executed when the interactive window loads.
"python.dataScience.runMagicCommands": "",
// Search all installed Python interpreters for a Jupyter installation when starting the Python Interactive window
"python.dataScience.searchForJupyter": true,
// Determines if selected code in a python file will go to the terminal or the Python Interactive window when hitting shift+enter
"python.dataScience.sendSelectionToInteractiveWindow": false,
// Show cell input code.
"python.dataScience.showCellInputCode": true,
// Show the variable explorer in the Python Interactive window.
"python.dataScience.showJupyterVariableExplorer": true,
// Stop running cells if a cell throws an exception.
"python.dataScience.stopOnError": true,
// When debugging a cell, stop on the first line.
"python.dataScience.stopOnFirstLineWhileDebugging": true,
// Limit the amount of text in Python Interactive cell text output to this value. 0 to allow any amount of characters.
"python.dataScience.textOutputLimit": 20000,
// When running Jupyter locally, create a default empty Jupyter config for the Python Interactive window
"python.dataScience.useDefaultConfigForJupyter": true,
// Types to exclude from showing in the Python Interactive variable explorer
"python.dataScience.variableExplorerExclude": "module;function;builtin_function_or_method",
// Enable source map support for meaningful stack traces in error logs.
"python.diagnostics.sourceMapsEnabled": false,
// Whether to check if Python is installed (also warn when using the macOS-installed Python).
"python.disableInstallationCheck": false,
// Absolute path to a file containing environment variable definitions.
"python.envFile": "${workspaceFolder}/.env",
// Arguments passed in. Each argument is a separate item in the array.
"python.formatting.autopep8Args": [],
// Path to autopep8, you can use a custom version of autopep8 by modifying this setting to include the full path.
"python.formatting.autopep8Path": "autopep8",
// Arguments passed in. Each argument is a separate item in the array.
"python.formatting.blackArgs": [],
// Path to Black, you can use a custom version of Black by modifying this setting to include the full path.
"python.formatting.blackPath": "black",
// Provider for formatting. Possible options include 'autopep8', 'black', and 'yapf'.
"python.formatting.provider": "autopep8",
// Arguments passed in. Each argument is a separate item in the array.
"python.formatting.yapfArgs": [],
// Path to yapf, you can use a custom version of yapf by modifying this setting to include the full path.
"python.formatting.yapfPath": "yapf",
// Whether to install Python modules globally when not using an environment.
"python.globalModuleInstallation": false,
// Set to "weekly" or "daily" to automatically download and install the latest Insiders builds of the python extension, which include upcoming features and bug fixes.
"python.insidersChannel": "off",
// Enables Jedi as IntelliSense engine instead of Microsoft Python Analysis Engine.
"python.jediEnabled": true,
// Memory limit for the Jedi completion engine in megabytes. Zero (default) means 1024 MB. -1 means unlimited (disable memory limit check)
"python.jediMemoryLimit": 0,
// Path to directory containing the Jedi library (this path will contain the 'Jedi' sub directory).
"python.jediPath": "",
// Arguments passed in. Each argument is a separate item in the array.
"python.linting.banditArgs": [],
// Whether to lint Python files using bandit.
"python.linting.banditEnabled": false,
// Path to bandit, you can use a custom version of bandit by modifying this setting to include the full path.
"python.linting.banditPath": "bandit",
// Whether to lint Python files.
"python.linting.enabled": true,
// Arguments passed in. Each argument is a separate item in the array.
"python.linting.flake8Args": [],
// Severity of Flake8 message type 'E'.
"python.linting.flake8CategorySeverity.E": "Error",
// Severity of Flake8 message type 'F'.
"python.linting.flake8CategorySeverity.F": "Error",
// Severity of Flake8 message type 'W'.
"python.linting.flake8CategorySeverity.W": "Warning",
// Whether to lint Python files using flake8
"python.linting.flake8Enabled": false,
// Path to flake8, you can use a custom version of flake8 by modifying this setting to include the full path.
"python.linting.flake8Path": "flake8",
// Patterns used to exclude files or folders from being linted.
"python.linting.ignorePatterns": [
".vscode/*.py",
"**/site-packages/**/*.py"
],
// Whether to lint Python files when saved.
"python.linting.lintOnSave": true,
// Controls the maximum number of problems produced by the server.
"python.linting.maxNumberOfProblems": 100,
// Arguments passed in. Each argument is a separate item in the array.
"python.linting.mypyArgs": [
"--ignore-missing-imports",
"--follow-imports=silent",
"--show-column-numbers"
],
// Severity of Mypy message type 'Error'.
"python.linting.mypyCategorySeverity.error": "Error",
// Severity of Mypy message type 'Note'.
"python.linting.mypyCategorySeverity.note": "Information",
// Whether to lint Python files using mypy.
"python.linting.mypyEnabled": false,
// Path to mypy, you can use a custom version of mypy by modifying this setting to include the full path.
"python.linting.mypyPath": "mypy",
// Arguments passed in. Each argument is a separate item in the array.
"python.linting.pep8Args": [],
// Severity of Pep8 message type 'E'.
"python.linting.pep8CategorySeverity.E": "Error",
// Severity of Pep8 message type 'W'.
"python.linting.pep8CategorySeverity.W": "Warning",
// Whether to lint Python files using pep8
"python.linting.pep8Enabled": false,
// Path to pep8, you can use a custom version of pep8 by modifying this setting to include the full path.
"python.linting.pep8Path": "pep8",
// Arguments passed in. Each argument is a separate item in the array.
"python.linting.prospectorArgs": [],
// Whether to lint Python files using prospector.
"python.linting.prospectorEnabled": false,
// Path to Prospector, you can use a custom version of prospector by modifying this setting to include the full path.
"python.linting.prospectorPath": "prospector",
// Arguments passed in. Each argument is a separate item in the array.
"python.linting.pydocstyleArgs": [],
// Whether to lint Python files using pydocstyle
"python.linting.pydocstyleEnabled": false,
// Path to pydocstyle, you can use a custom version of pydocstyle by modifying this setting to include the full path.
"python.linting.pydocstylePath": "pydocstyle",
// Arguments passed in. Each argument is a separate item in the array.
"python.linting.pylamaArgs": [],
// Whether to lint Python files using pylama.
"python.linting.pylamaEnabled": false,
// Path to pylama, you can use a custom version of pylama by modifying this setting to include the full path.
"python.linting.pylamaPath": "pylama",
// Arguments passed in. Each argument is a separate item in the array.
"python.linting.pylintArgs": [],
// Severity of Pylint message type 'Convention/C'.
"python.linting.pylintCategorySeverity.convention": "Information",
// Severity of Pylint message type 'Error/E'.
"python.linting.pylintCategorySeverity.error": "Error",
// Severity of Pylint message type 'Fatal/F'.
"python.linting.pylintCategorySeverity.fatal": "Error",
// Severity of Pylint message type 'Refactor/R'.
"python.linting.pylintCategorySeverity.refactor": "Hint",
// Severity of Pylint message type 'Warning/W'.
"python.linting.pylintCategorySeverity.warning": "Warning",
// Whether to lint Python files using pylint.
"python.linting.pylintEnabled": true,
// Path to Pylint, you can use a custom version of pylint by modifying this setting to include the full path.
"python.linting.pylintPath": "pylint",
// Whether to run Pylint with minimal set of rules.
"python.linting.pylintUseMinimalCheckers": true,
// Path to the pipenv executable to use for activation.
"python.pipenvPath": "pipenv",
// Path to the poetry executable.
"python.poetryPath": "poetry",
// Path to Python, you can use a custom version of Python by modifying this setting to include the full path.
"python.pythonPath": "python",
// Arguments passed in. Each argument is a separate item in the array.
"python.sortImports.args": [],
// Path to isort script, default using inner version
"python.sortImports.path": "",
// Activate Python Environment in Terminal created using the Extension.
"python.terminal.activateEnvironment": true,
// When executing a file in the terminal, whether to use execute in the file's directory, instead of the current open folder.
"python.terminal.executeInFileDir": false,
// Python launch arguments to use when executing a file in the terminal.
"python.terminal.launchArgs": [],
// Enable auto run test discovery when saving a test file.
"python.testing.autoTestDiscoverOnSaveEnabled": true,
// Optional working directory for tests.
"python.testing.cwd": null,
// Port number used for debugging of tests.
"python.testing.debugPort": 3000,
// Arguments passed in. Each argument is a separate item in the array.
"python.testing.nosetestArgs": [],
// Path to nosetests, you can use a custom version of nosetests by modifying this setting to include the full path.
"python.testing.nosetestPath": "nosetests",
// Enable testing using nosetests.
"python.testing.nosetestsEnabled": false,
// Prompt to configure a test framework if potential tests directories are discovered.
"python.testing.promptToConfigure": true,
// Arguments passed in. Each argument is a separate item in the array.
"python.testing.pytestArgs": [],
// Enable testing using pytest.
"python.testing.pytestEnabled": false,
// Path to pytest (pytest), you can use a custom version of pytest by modifying this setting to include the full path.
"python.testing.pytestPath": "pytest",
// Arguments passed in. Each argument is a separate item in the array.
"python.testing.unittestArgs": [
"-v",
"-s",
".",
"-p",
"*test*.py"
],
// Enable testing using unittest.
"python.testing.unittestEnabled": false,
// Folders in your home directory to look into for virtual environments (supports pyenv, direnv and virtualenvwrapper by default).
"python.venvFolders": [],
// Path to folder with a list of Virtual Environments (e.g. ~/.pyenv, ~/Envs, ~/.virtualenvs).
"python.venvPath": "",
// Fully qualified path to the ctags executable (else leave as ctags, assuming it is in current path).
"python.workspaceSymbols.ctagsPath": "ctags",
// Set to 'false' to disable Workspace Symbol provider using ctags.
"python.workspaceSymbols.enabled": true,
// Pattern used to exclude files and folders from ctags See http://ctags.sourceforge.net/ctags.html.
"python.workspaceSymbols.exclusionPatterns": [
"**/site-packages/**"
],
// Whether to re-build the tags file on when changes made to python files are saved.
"python.workspaceSymbols.rebuildOnFileSave": true,
// Whether to re-build the tags file on start (defaults to true).
"python.workspaceSymbols.rebuildOnStart": true,
// Fully qualified path to tag file (exuberant ctag file), used to provide workspace symbols.
"python.workspaceSymbols.tagFilePath": "${workspaceFolder}/.vscode/tags",
// Automatically attach node debugger when node.js was launched in debug mode from integrated terminal.
// - disabled: Auto attach is disabled and not shown in status bar.
// - on: Auto attach is active.
// - off: Auto attach is inactive.
"debug.node.autoAttach": "disabled",
// Controls whether to show a warning when the 'useWSL' attribute is used.
"debug.node.showUseWslIsDeprecatedWarning": true,
// 针对 [git-commit] 语言,配置替代编辑器设置。
"[git-commit]": {
"editor.rulers": [
72
]
},
// 针对 [go] 语言,配置替代编辑器设置。
"[go]": {
"editor.insertSpaces": false
},
// 针对 [json] 语言,配置替代编辑器设置。
"[json]": {
"editor.quickSuggestions": {
"strings": true
}
},
// 针对 [makefile] 语言,配置替代编辑器设置。
"[makefile]": {
"editor.insertSpaces": false
},
// 针对 [markdown] 语言,配置替代编辑器设置。
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": false
},
// 针对 [yaml] 语言,配置替代编辑器设置。
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": false
},
// Controls whether auto detection of Gulp tasks is on or off. Default is on.
"gulp.autoDetect": "on",
// 覆盖扩展的类型。"ui" 扩展在本地计算机上安装和运行,而 "workspace" 扩展则在远程计算机上运行。通过使用此设置重写扩展的默认类型,可指定是否应在本地或远程安装和启用该扩展。
"remote.extensionKind": {
"pub.name": "ui"
},
// Controls whether npm scripts should be automatically detected.
"npm.autoDetect": "on",
// Enable an explorer view for npm scripts when there is no top-level 'package.json' file.
"npm.enableScriptExplorer": false,
// Configure glob patterns for folders that should be excluded from automatic script detection.
"npm.exclude": "",
// Fetch data from https://registry.npmjs/org and https://registry.bower.io to provide auto-completion and information on hover features on npm dependencies.
"npm.fetchOnlinePackageInfo": true,
// The package manager used to run scripts.
"npm.packageManager": "npm",
// Run npm commands with the `--silent` option.
"npm.runSilent": false,
// The default click action used in the scripts explorer: `open` or `run`, the default is `open`.
"npm.scriptExplorerAction": "open",
// Controls whether 'Peek References' or 'Find References' is invoked when selecting code lens references
// - peek: Show references in peek editor.
// - view: Show references in separate view.
"references.preferredLocation": "peek",
// Controls whether auto detection of Grunt tasks is on or off. Default is on.
"grunt.autoDetect": "on",
// Whether to automatically navigate to the next merge conflict after resolving a merge conflict.
"merge-conflict.autoNavigateNextConflict.enabled": false,
// Create a Code Lens for merge conflict blocks within editor.
"merge-conflict.codeLens.enabled": true,
// Create decorators for merge conflict blocks within editor.
"merge-conflict.decorators.enabled": true,
// Controls where the diff view should be opened when comparing changes in merge conflicts.
// - Current: Open the diff view in the current editor group.
// - Beside: Open the diff view next to the current editor group.
// - Below: Open the diff view below the current editor group.
"merge-conflict.diffViewPosition": "Current",
// An array of languages where Emmet abbreviations should not be expanded.
"emmet.excludeLanguages": [
"markdown"
],
// Path to a folder containing Emmet profiles and snippets.
"emmet.extensionsPath": null,
// Enable Emmet abbreviations in languages that are not supported by default. Add a mapping here between the language and emmet supported language.
// E.g.: `{"vue-html": "html", "javascript": "javascriptreact"}`
"emmet.includeLanguages": {},
// When set to `false`, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set to `true`, only the content around the current position in css/scss/less files is parsed.
"emmet.optimizeStylesheetParsing": true,
// Preferences used to modify behavior of some actions and resolvers of Emmet.
"emmet.preferences": {},
// Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is set to `"never"`.
"emmet.showAbbreviationSuggestions": true,
// Shows expanded Emmet abbreviations as suggestions.
// The option `"inMarkupAndStylesheetFilesOnly"` applies to html, haml, jade, slim, xml, xsl, css, scss, sass, less and stylus.
// The option `"always"` applies to all parts of the file regardless of markup/css.
"emmet.showExpandedAbbreviation": "always",
// If `true`, then Emmet suggestions will show up as snippets allowing you to order them as per `editor.snippetSuggestions` setting.
"emmet.showSuggestionsAsSnippets": false,
// Define profile for specified syntax or use your own profile with specific rules.
"emmet.syntaxProfiles": {},
// When enabled, Emmet abbreviations are expanded when pressing TAB.
"emmet.triggerExpansionOnTab": false,
// Variables to be used in Emmet snippets
"emmet.variables": {},
// Controls whether force push (with or without lease) is enabled.
"git.allowForcePush": false,
// Always show the Staged Changes resource group.
"git.alwaysShowStagedChangesResourceGroup": false,
// Controls the signoff flag for all commits.
"git.alwaysSignOff": false,
// When enabled, commits will automatically be fetched from the default remote of the current Git repository.
"git.autofetch": false,
// Duration in seconds between each automatic git fetch, when `git.autofetch` is enabled.
"git.autofetchPeriod": 180,
// Whether auto refreshing is enabled.
"git.autorefresh": true,
// Configures when repositories should be automatically detected.
// - true: Scan for both subfolders of the current opened folder and parent folders of open files.
// - false: Disable automatic repository scanning.
// - subFolders: Scan for subfolders of the currently opened folder.
// - openEditors: Scan for parent folders of open files.
"git.autoRepositoryDetection": true,
// Stash any changes before pulling and restore them after successful pull.
"git.autoStash": false,
// Controls the sort order for branches.
"git.branchSortOrder": "committerdate",
// A regular expression to validate new branch names.
"git.branchValidationRegex": "",
// The character to replace whitespace in new branch names.
"git.branchWhitespaceChar": "-",
// Controls what type of branches are listed when running `Checkout to...`.
// - all: Show all references.
// - local: Show only local branches.
// - tags: Show only tags.
// - remote: Show only remote branches.
"git.checkoutType": "all",
// Always confirm the creation of empty commits.
"git.confirmEmptyCommits": true,
// Controls whether to ask for confirmation before force-pushing.
"git.confirmForcePush": true,
// Confirm before synchronizing git repositories.
"git.confirmSync": true,
// Controls the Git count badge.
// - all: Count all changes.
// - tracked: Count only tracked changes.
// - off: Turn off counter.
"git.countBadge": "all",
// Controls whether Git contributes colors and badges to the explorer and the open editors view.
"git.decorations.enabled": true,
// The default location to clone a git repository.
"git.defaultCloneDirectory": null,
// Controls whether to automatically detect git submodules.
"git.detectSubmodules": true,
// Controls the limit of git submodules detected.
"git.detectSubmodulesLimit": 10,
// Enables commit signing with GPG.
"git.enableCommitSigning": false,
// Whether git is enabled.
"git.enabled": true,
// Commit all changes when there are no staged changes.
"git.enableSmartCommit": false,
// Controls whether the Git Sync command appears in the status bar.
"git.enableStatusBarSync": true,
// Fetch all branches when pulling or just the current one.
"git.fetchOnPull": false,
// List of git repositories to ignore.
"git.ignoredRepositories": [],
// Ignores the legacy Git warning.
"git.ignoreLegacyWarning": false,
// Ignores the warning when there are too many changes in a repository.
"git.ignoreLimitWarning": false,
// Ignores the warning when Git is missing.
"git.ignoreMissingGitWarning": false,
// Controls when to show commit message input validation.
"git.inputValidation": "warn",
// Controls the commit message length threshold for showing a warning.
"git.inputValidationLength": 72,
// Controls the commit message subject length threshold for showing a warning. Unset it to inherit the value of `config.inputValidationLength`.
"git.inputValidationSubjectLength": 50,
// Controls whether the diff editor should be opened when clicking a change. Otherwise the regular editor will be opened.
"git.openDiffOnClick": true,
// Path and filename of the git executable, e.g. `C:\Program Files\Git\bin\git.exe` (Windows).
"git.path": null,
// Runs a git command after a successful commit.
// - none: Don't run any command after a commit.
// - push: Run 'Git Push' after a successful commit.
// - sync: Run 'Git Sync' after a successful commit.
"git.postCommitCommand": "none",
// Controls whether Git should check for unsaved files before committing.
// - always: Check for any unsaved files.
// - staged: Check only for unsaved staged files.
// - never: Disable this check.
"git.promptToSaveFilesBeforeCommit": "always",
// Fetch all tags when pulling.
"git.pullTags": true,
// Force git to use rebase when running the sync command.
"git.rebaseWhenSync": false,
// List of paths to search for git repositories in.
"git.scanRepositories": [],
// Controls whether to show an inline Open File action in the Git changes view.
"git.showInlineOpenFileAction": true,
// Controls whether git actions should show progress.
"git.showProgress": true,
// Controls whether to show a notification when a push is successful.
"git.showPushSuccessNotification": false,
// Control which changes are automatically staged by Smart Commit.
// - all: Automatically stage all changes.
// - tracked: Automatically staged tracked changes only.
"git.smartCommitChanges": "all",
// Suggests to enable smart commit (commit all changes when there are no staged changes).
"git.suggestSmartCommit": true,
// Controls whether a notification comes up when running the Sync action, which allows the user to cancel the operation.
"git.supportCancellation": false,
// Controls whether force pushing uses the safer force-with-lease variant.
"git.useForcePushWithLease": true,
// Controls whether auto detection of Jake tasks is on or off. Default is on.
"jake.autoDetect": "on",
}