由于篇幅有限分为两部分(其二)
{
// 配置何时自动打开“错误速览”视图。
// - failureAnywhere: 无论故障在何处,都自动打开。
// - failureInVisibleDocument: 在可见文档中测试失败时自动打开。
// - never: 从不自动打开。
"testing.automaticallyOpenPeekView": "failureInVisibleDocument",
// 控制是否在自动运行模式期间自动打开“速览”视图。
"testing.automaticallyOpenPeekViewDuringAutoRun": false,
// 将测试标记为过时并启动新运行后等待的时间(以毫秒为单位)。
"testing.autoRun.delay": 1000,
// 控制自动运行哪些测试。
// - all: 自动运行切换时,自动运行已发现的所有测试。在各个测试发生更改时重新运行它们。
// - rerun: 在各个测试发生更改时重新运行它们。不会自动运行尚未执行的任何测试。
"testing.autoRun.mode": "all",
// 控制在装订线中左键单击测试修饰时要执行的操作。
// - run: 运行测试。
// - debug: 调试测试。
// - contextMenu: 打开上下文菜单以获取更多选项。
"testing.defaultGutterClickAction": "run",
// 控制在测试资源管理器视图中是否应遵循正在运行的测试
"testing.followRunningTest": true,
// 控制是否在编辑器装订线中显示测试修饰。
"testing.gutterEnabled": true,
// 控制何时打开测试视图。
// - neverOpen: 从不自动打开测试视图
// - openOnTestStart: 在测试启动时打开测试视图
// - openOnTestFailure: 任何测试失败时打开测试视图
"testing.openTesting": "openOnTestStart",
// 控制是否在运行测试之前保存所有脏编辑器。
"testing.saveBeforeTest": true
},
{
// 补全 CSS 属性时在行尾插入分号。
"css.completion.completePropertyWithSemicolon": true,
// 默认情况下,VS Code 在选择 CSS 属性后触发属性值完成。使用此设置可禁用此行为。
"css.completion.triggerPropertyValueCompletion": true,
// 一个相对文件路径列表,这些路径指向采用[自定义数据格式](https://github.com/microsoft/vscode-css-languageservice/blob/master/docs/customData.md)的 JSON 文件。
//
// VS Code 在启动时加载自定义数据,从而增强它对你在 JSON 文件中指定的自定义 CSS 属性、at 指令、伪类和伪元素的 CSS 支持。
//
// 这些文件路径与工作区相对,且只考虑工作区文件夹设置。
"css.customData": [],
// 将大括号放在规则的同一行(`折叠`)或将大括号放在自己所在行上(`展开`)。
"css.format.braceStyle": "collapse",
// 启用/禁用默认的 CSS 格式化程序。
"css.format.enable": true,
// 启用 `css.format.preserveNewLines` 后要在一个区块中保留的最大换行符数。
"css.format.maxPreserveNewLines": null,
// 用空白行分隔规则集。
"css.format.newlineBetweenRules": true,
// 用新行分隔选择器。
"css.format.newlineBetweenSelectors": true,
// 是否应保留元素之前的现有换行符。
"css.format.preserveNewLines": true,
// 确保选择器分隔符 \">\"、\"+\"、\"~\" (例如 \"a > b\")周围有空格字符。
"css.format.spaceAroundSelectorSeparator": false,
// 在 CSS 悬停时显示标记和属性文档。
"css.hover.documentation": true,
// 在 CSS 悬停时显示 MDN 的引用。
"css.hover.references": true,
// 参数数目无效。
"css.lint.argumentsInColorFunction": "error",
// 在使用 `padding` 或 `border` 时,不要使用 `width` 或 `height`。
"css.lint.boxModel": "ignore",
// 使用厂商特定的前缀时,同时添加所有其他厂商特定的属性。
"css.lint.compatibleVendorPrefixes": "ignore",
// 不要使用重复的样式定义。
"css.lint.duplicateProperties": "ignore",
// 不要使用空规则集。
"css.lint.emptyRules": "warning",
// 避免使用 `float`。浮动会使 CSS 变得脆弱。即使只更改了一部分布局,也很容易造成破坏。
"css.lint.float": "ignore",
// `@font-face` 规则必须定义 `src` 和 `font-family` 属性。
"css.lint.fontFaceProperties": "warning",
// 十六进制颜色必须由三个或六个十六进制数字组成。
"css.lint.hexColorLength": "error",
// 选择器不应包含 ID,因为这些规则与 HTML 的耦合过于紧密。
"css.lint.idSelector": "ignore",
// 仅在需要支持 IE7 及更低版本时,才需要 IE hack。
"css.lint.ieHack": "ignore",
// 避免使用 `!important`。它表明整个 CSS 的优先级已经失去控制且需要进行重构。
"css.lint.important": "ignore",
// import 语句没有并行加载。
"css.lint.importStatement": "ignore",
// 由于 `display` 属性值,属性被忽略。例如,使用 `display: inline` 时,`width`、`height`、`margin-top`、`margin-bottom` 和 `float` 属性将不起作用。
"css.lint.propertyIgnoredDueToDisplay": "warning",
// 通配选择符 (`*`) 的运行效率低。
"css.lint.universalSelector": "ignore",
// 未知的 @ 规则。
"css.lint.unknownAtRules": "warning",
// 未知的属性。
"css.lint.unknownProperties": "warning",
// 未知的供应商特定属性。
"css.lint.unknownVendorSpecificProperties": "ignore",
// 不根据 "unknownProperties" 规则进行验证的属性列表。
"css.lint.validProperties": [],
// 使用厂商特定的前缀时,同时添加标准属性。
"css.lint.vendorPrefix": "warning",
// 零不需要单位。
"css.lint.zeroUnits": "ignore",
// 跟踪 VS Code 与 CSS 语言服务器之间的通信。
"css.trace.server": "off",
// 启用或禁用所有验证。
"css.validate": true
},
{
// 补全 CSS 属性时在行尾插入分号。
"less.completion.completePropertyWithSemicolon": true,
// 默认情况下,VS Code 在选择 CSS 属性后触发属性值完成。使用此设置可禁用此行为。
"less.completion.triggerPropertyValueCompletion": true,
// 将大括号放在规则的同一行(`折叠`)或将大括号放在自己所在行上(`展开`)。
"less.format.braceStyle": "collapse",
// 启用/禁用默认的 LESS 格式化程序。
"less.format.enable": true,
// 启用 `less.format.preserveNewLines` 后要在一个区块中保留的最大换行符数。
"less.format.maxPreserveNewLines": null,
// 用空白行分隔规则集。
"less.format.newlineBetweenRules": true,
// 用新行分隔选择器。
"less.format.newlineBetweenSelectors": true,
// 是否应保留元素之前的现有换行符。
"less.format.preserveNewLines": true,
// 确保选择器分隔符 \">\"、\"+\"、\"~\" (例如 \"a > b\")周围有空格字符。
"less.format.spaceAroundSelectorSeparator": false,
// 在 LESS 悬停时显示标记和属性文档。
"less.hover.documentation": true,
// 在 LESS 悬停时显示 MDN 的引用。
"less.hover.references": true,
// 参数数目无效。
"less.lint.argumentsInColorFunction": "error",
// 在使用 `padding` 或 `border` 时,不要使用 `width` 或 `height`。
"less.lint.boxModel": "ignore",
// 使用厂商特定的前缀时,同时添加所有其他厂商特定的属性。
"less.lint.compatibleVendorPrefixes": "ignore",
// 不要使用重复的样式定义。
"less.lint.duplicateProperties": "ignore",
// 不要使用空规则集。
"less.lint.emptyRules": "warning",
// 避免使用 `float`。浮动会使 CSS 变得脆弱。即使只更改了一部分布局,也很容易造成破坏。
"less.lint.float": "ignore",
// `@font-face` 规则必须定义 `src` 和 `font-family` 属性。
"less.lint.fontFaceProperties": "warning",
// 十六进制颜色必须由三个或六个十六进制数字组成。
"less.lint.hexColorLength": "error",
// 选择器不应包含 ID,因为这些规则与 HTML 的耦合过于紧密。
"less.lint.idSelector": "ignore",
// 仅在需要支持 IE7 及更低版本时,才需要 IE hack。
"less.lint.ieHack": "ignore",
// 避免使用 `!important`。它表明整个 CSS 的优先级已经失去控制且需要进行重构。
"less.lint.important": "ignore",
// import 语句没有并行加载。
"less.lint.importStatement": "ignore",
// 由于 `display` 属性值,属性被忽略。例如,使用 `display: inline` 时,`width`、`height`、`margin-top`、`margin-bottom` 和 `float` 属性将不起作用。
"less.lint.propertyIgnoredDueToDisplay": "warning",
// 通配选择符 (`*`) 的运行效率低。
"less.lint.universalSelector": "ignore",
// 未知的 @ 规则。
"less.lint.unknownAtRules": "warning",
// 未知的属性。
"less.lint.unknownProperties": "warning",
// 未知的供应商特定属性。
"less.lint.unknownVendorSpecificProperties": "ignore",
// 不根据 "unknownProperties" 规则进行验证的属性列表。
"less.lint.validProperties": [],
// 使用厂商特定的前缀时,同时添加标准属性。
"less.lint.vendorPrefix": "warning",
// 零不需要单位。
"less.lint.zeroUnits": "ignore",
// 启用或禁用所有验证。
"less.validate": true
},
{
// 补全 CSS 属性时在行尾插入分号。
"scss.completion.completePropertyWithSemicolon": true,
// 默认情况下,VS Code 在选择 CSS 属性后触发属性值完成。使用此设置可禁用此行为。
"scss.completion.triggerPropertyValueCompletion": true,
// 将大括号放在规则的同一行(`折叠`)或将大括号放在自己所在行上(`展开`)。
"scss.format.braceStyle": "collapse",
// 启用/禁用默认的 SCSS 格式化程序。
"scss.format.enable": true,
// 启用 `scss.format.preserveNewLines` 后要在一个区块中保留的最大换行符数。
"scss.format.maxPreserveNewLines": null,
// 用空白行分隔规则集。
"scss.format.newlineBetweenRules": true,
// 用新行分隔选择器。
"scss.format.newlineBetweenSelectors": true,
// 是否应保留元素之前的现有换行符。
"scss.format.preserveNewLines": true,
// 确保选择器分隔符 \">\"、\"+\"、\"~\" (例如 \"a > b\")周围有空格字符。
"scss.format.spaceAroundSelectorSeparator": false,
// 在 SCSS 悬停时显示标记和属性文档。
"scss.hover.documentation": true,
// 在 SCSS 悬停时显示 MDN 的引用。
"scss.hover.references": true,
// 参数数目无效。
"scss.lint.argumentsInColorFunction": "error",
// 在使用 `padding` 或 `border` 时,不要使用 `width` 或 `height`。
"scss.lint.boxModel": "ignore",
// 使用厂商特定的前缀时,同时添加所有其他厂商特定的属性。
"scss.lint.compatibleVendorPrefixes": "ignore",
// 不要使用重复的样式定义。
"scss.lint.duplicateProperties": "ignore",
// 不要使用空规则集。
"scss.lint.emptyRules": "warning",
// 避免使用 `float`。浮动会使 CSS 变得脆弱。即使只更改了一部分布局,也很容易造成破坏。
"scss.lint.float": "ignore",
// `@font-face` 规则必须定义 `src` 和 `font-family` 属性。
"scss.lint.fontFaceProperties": "warning",
// 十六进制颜色必须由三个或六个十六进制数字组成。
"scss.lint.hexColorLength": "error",
// 选择器不应包含 ID,因为这些规则与 HTML 的耦合过于紧密。
"scss.lint.idSelector": "ignore",
// 仅在需要支持 IE7 及更低版本时,才需要 IE hack。
"scss.lint.ieHack": "ignore",
// 避免使用 `!important`。它表明整个 CSS 的优先级已经失去控制且需要进行重构。
"scss.lint.important": "ignore",
// import 语句没有并行加载。
"scss.lint.importStatement": "ignore",
// 由于 `display` 属性值,属性被忽略。例如,使用 `display: inline` 时,`width`、`height`、`margin-top`、`margin-bottom` 和 `float` 属性将不起作用。
"scss.lint.propertyIgnoredDueToDisplay": "warning",
// 通配选择符 (`*`) 的运行效率低。
"scss.lint.universalSelector": "ignore",
// 未知的 @ 规则。
"scss.lint.unknownAtRules": "warning",
// 未知的属性。
"scss.lint.unknownProperties": "warning",
// 未知的供应商特定属性。
"scss.lint.unknownVendorSpecificProperties": "ignore",
// 不根据 "unknownProperties" 规则进行验证的属性列表。
"scss.lint.validProperties": [],
// 使用厂商特定的前缀时,同时添加标准属性。
"scss.lint.vendorPrefix": "warning",
// 零不需要单位。
"scss.lint.zeroUnits": "ignore",
// 启用或禁用所有验证。
"scss.validate": true
},
{
// 启用后,将在离开“扩展”视图时,自动关闭扩展详细信息页面。
"extensions.closeExtensionDetailsOnViewChange": false,
// 配置要在其他扩展主机进程中执行的扩展。
"extensions.experimental.affinity": {},
// 启用后,将不会显示扩展建议的通知。
"extensions.ignoreRecommendations": false,
// 已弃用此设置。使用 extensions.ignoreRecommendations 设置来控制建议通知。默认使用“扩展”视图的可见性操作来隐藏“建议”视图。
//
"extensions.showRecommendationsOnlyOnDemand": false,
// 替代扩展的虚拟工作区支持。
"extensions.supportVirtualWorkspaces": {},
// 启用 Web Worker 扩展主机。
// - true: Web 辅助角色扩展主机将始终启动。
// - false: Web 辅助角色扩展主机将永远不会启动。
// - auto: Web 辅助角色扩展主机将在 Web 扩展需要时启动。
"extensions.webWorker": "auto"
},
{
// 在输出视图中启用或禁用「智能滚动」。「智能滚动」会自动在你点击输出视图时锁定滚动,并在你点击最后一行时解锁滚动。
"output.smartScroll.enabled": true
},
{
// 控制默认情况下是否折叠交互窗口中的代码单元格。
"interactiveWindow.collapseCellInputCode": "fromEditor",
// 启用的笔记本痕迹包含代码单元格时。
"notebook.breadcrumbs.showCodeCells": true,
// 控制焦点指示器呈现位置(沿单元格边框或左侧装订线)
"notebook.cellFocusIndicator": "gutter",
// 应在何处显示单元格工具栏,或是否隐藏它。
"notebook.cellToolbarLocation": {
"default": "right"
},
// 是否应在悬停或单击时显示单元格工具栏。
"notebook.cellToolbarVisibility": "click",
// 控制是否应以紧凑形式呈现笔记本编辑器。例如在打开时,它将减小左边距宽度。
"notebook.compactView": true,
// 控制是否应在输出工具栏中呈现输出操作。
"notebook.consolidatedOutputButton": true,
// 控制是否在“运行”按钮旁边的下拉列表中显示额外操作。
"notebook.consolidatedRunButton": false,
// 是否对笔记本使用增强的文本差异编辑器。
"notebook.diff.enablePreview": true,
// 隐藏元数据差异
"notebook.diff.ignoreMetadata": false,
// 隐藏输出差异
"notebook.diff.ignoreOutputs": false,
// 输出项 mime 类型的优先级列表
"notebook.displayOrder": [],
// 控制笔记本编辑器是否应允许通过拖放移动单元格。
"notebook.dragAndDropEnabled": true,
// 用于笔记本中使用的代码编辑器的设置。这可用于自定义大多数编辑器*设置。
"notebook.editorOptionsCustomizations": {},
// 控制是否在笔记本编辑器中呈现全局工具栏。
"notebook.globalToolbar": true,
// 控制笔记本工具栏上的操作是否应呈现标签。
"notebook.globalToolbarShowLabel": "always",
// 控制插入单元格操作应出现的位置。
// - betweenCells: 在单元格之间悬停时显示的工具栏。
// - notebookToolbar: 位于笔记本编辑器顶部的工具栏。
// - both: 两个工具栏。
// - hidden: 插入操作不会出现在任何位置。
"notebook.insertToolbarLocation": "both",
// 控制单元格编辑器中行号的显示。
"notebook.lineNumbers": "off",
// 控制笔记本中呈现的标记的字号(以像素为单位)。设置为 `0` 时,将使用 120% 的 `editor.fontSize`。
"notebook.markup.fontSize": 0,
// 启用后,当单元格编辑器中的当前光标位于第/最后一行时,光标可以导航到下/上一个单元格。
"notebook.navigation.allowNavigateToSurroundingCells": true,
// 启用笔记本大纲时,显示代码单元格。
"notebook.outline.showCodeCells": false,
// 控制文本输出中呈现的文本行数。
"notebook.output.textLineLimit": 30,
// 笔记本单元格输出文本的字体系列。设置为空时,将使用 `editor.fontFamily`。
"notebook.outputFontFamily": "",
// 笔记本单元格输出文本的字号。如果设置为 0,则使用 `editor.fontSize`。
"notebook.outputFontSize": 0,
// 笔记本单元格输出文本的行高。
// - 将使用介于 0 和 8 之间的值作为字号的乘数。
// - 将使用大于或等于 8 的值作为有效值。
"notebook.outputLineHeight": 22,
// 是否应显示单元格状态栏。
// - hidden: 单元格状态栏始终隐藏。
// - visible: 单元格状态栏始终可见。
// - visibleAfterExecute: 在执行单元格之前,单元格状态栏处于隐藏状态。之后,其会变为可见以显示执行状态。
"notebook.showCellStatusBar": "visible",
// 控制显示 Markdown 标头文件箭头的时间。
// - always: 折叠控件始终可见。
// - mouseover: 折叠控件仅在鼠标悬停时可见。
"notebook.showFoldingControls": "mouseover",
// 是否为每个单元格使用单独的撤消/重做堆叠。
"notebook.undoRedoPerCell": true
},
{
// 是否允许在终端中同时按下键绑定。请注意,如果设置为 true 且击键导致同时按键,则将绕过 `terminal.integrated.commandsToSkipShell`;如果想要按 Ctrl+K 转到 shell (而不是 VS Code),则将此项设置为 false 尤其有用。
"terminal.integrated.allowChords": true,
// 是否允许使用菜单栏助记符(如 Alt+F)来触发“打开菜单栏”。请注意,这将导致在设为 true 时,所有 Alt 击键都跳过 shell。此设置在 macOS 不起作用。
"terminal.integrated.allowMnemonics": false,
// 如果启用,则当 `editor.multiCursorModifier` 设置为 `'alt'` (默认值)时,alt/option+单击会将提示光标重置于鼠标下方。此功能的有效性取决于 shell。
"terminal.integrated.altClickMovesCursor": true,
// 要在 Linux 上用于自动化相关终端使用(如任务和调试)的终端配置文件。如果设置了 `terminal.integrated.automationShell.linux`,则当前将忽略此设置。
"terminal.integrated.automationProfile.linux": null,
// 要在 macOS 上用于自动化相关终端使用(如任务和调试)的终端配置文件。如果设置了 `terminal.integrated.automationShell.osx`,则当前将忽略此设置。
"terminal.integrated.automationProfile.osx": null,
// 用于自动化相关终端使用(如任务和调试)的终端配置文件。如果设置了 `terminal.integrated.automationShell.windows`,则当前将忽略此设置。
"terminal.integrated.automationProfile.windows": null,
// 已弃用此方法,新的配置自动化 shell 的建议方法是使用 `terminal.integrated.automationProfile.linux` 创建终端自动化配置文件。此方法目前优先于新的自动化配置文件设置,但将来会发生更改。
// 一个路径,设置后将替代 `terminal.integrated.shell.linux`,并忽略与自动化相关的终端使用情况(例如任务和调试)的 `shellArgs` 个值。
"terminal.integrated.automationShell.linux": null,
// 已弃用此方法,新的配置自动化 shell 的建议方法是使用 `terminal.integrated.automationProfile.osx` 创建终端自动化配置文件。此方法目前优先于新的自动化配置文件设置,但将来会发生更改。
// 一个路径,设置后将替代 `terminal.integrated.shell.osx`,并忽略与自动化相关的终端使用情况(例如任务和调试)的 `shellArgs` 个值。
"terminal.integrated.automationShell.osx": null,
// 已弃用此方法,新的配置自动化 shell 的建议方法是使用 `terminal.integrated.automationProfile.windows` 创建终端自动化配置文件。此方法目前优先于新的自动化配置文件设置,但将来会发生更改。
// 一个路径,设置后将替代 `terminal.integrated.shell.windows`,并忽略与自动化相关的终端使用情况(例如任务和调试)的 `shellArgs` 值。
"terminal.integrated.automationShell.windows": null,
// 在终端中遇到一组消息时,将自动响应这组消息。如果消息足够具体,可能有助于自动执行常见响应。
//
// 备注:
//
// - 使用 `"Terminate batch job (Y/N)": "\r"` 自动响应 Windows 上的终止批处理作业提示。
// - 消息包括转义序列,因此可能无法使用带样式的文本进行回复。
// - 每秒只能进行一次回复。
// - 在回复中使用 `"\r"` 表示输入键。
// - 要取消设置默认键,请将该值设置为 null。
// - 如果新的不适用,请重新启动 VS Code。
"terminal.integrated.autoReplies": {},
// 触发时在终端选项卡中显示响铃的毫秒数。
"terminal.integrated.bellDuration": 1000,
// 一组命令 ID,其键绑定将不发送至 shell,而是始终由 VS Code 进行处理。这样的话,通常由 shell 使用的键绑定的行为可如同焦点未在终端上时的行为一样,例如按 “Ctrl+P” 来启动“快速打开”。
//
//
//
// 默认跳过多项命令。要替代默认值并转而将相关命令的键绑定传递给 shell,请添加以 “-” 字符为前缀的命令。例如,添加“-workbench.action.quickOpen” 可使 “Ctrl+P”到达 shell。
//
//
//
// 在设置编辑器中查看时,下面的默认跳过命令列表会被截断。要查看完整列表,请执行 [打开默认设置 JSON](command:workbench.action.openRawDefaultSettings '打开默认设置(JSON)'),然后从下面的列表中搜索第一个命令。
//
//
//
// 默认跳过的命令:
//
// - editor.action.toggleTabFocusMode
// - notifications.hideList
// - notifications.hideToasts
// - 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.focusNextPart
// - workbench.action.focusPreviousPart
// - 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.nextEditor
// - workbench.action.nextEditorInGroup
// - workbench.action.nextPanelView
// - workbench.action.nextSideBarView
// - workbench.action.openNextRecentlyUsedEditor
// - workbench.action.openNextRecentlyUsedEditorInGroup
// - workbench.action.openPreviousRecentlyUsedEditor
// - workbench.action.openPreviousRecentlyUsedEditorInGroup
// - workbench.action.previousEditor
// - workbench.action.previousEditorInGroup
// - workbench.action.previousPanelView
// - workbench.action.previousSideBarView
// - workbench.action.quickOpen
// - workbench.action.quickOpenLeastRecentlyUsedEditor
// - workbench.action.quickOpenLeastRecentlyUsedEditorInGroup
// - workbench.action.quickOpenPreviousEditor
// - workbench.action.quickOpenPreviousRecentlyUsedEditor
// - workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup
// - 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.copySelectionAsHtml
// - workbench.action.terminal.deleteToLineStart
// - workbench.action.terminal.deleteWordLeft
// - workbench.action.terminal.deleteWordRight
// - workbench.action.terminal.findNext
// - workbench.action.terminal.findPrevious
// - 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.focusFind
// - workbench.action.terminal.focusNext
// - workbench.action.terminal.focusNextPane
// - workbench.action.terminal.focusPrevious
// - workbench.action.terminal.focusPreviousPane
// - workbench.action.terminal.goToRecentDirectory
// - workbench.action.terminal.hideFind
// - workbench.action.terminal.kill
// - workbench.action.terminal.killEditor
// - workbench.action.terminal.moveToEditor
// - workbench.action.terminal.moveToLineEnd
// - workbench.action.terminal.moveToLineStart
// - workbench.action.terminal.moveToTerminalPanel
// - 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.pasteSelection
// - workbench.action.terminal.resizePaneDown
// - workbench.action.terminal.resizePaneLeft
// - workbench.action.terminal.resizePaneRight
// - workbench.action.terminal.resizePaneUp
// - workbench.action.terminal.runActiveFile
// - workbench.action.terminal.runRecentCommand
// - 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.sizeToContentWidth
// - workbench.action.terminal.split
// - workbench.action.terminal.splitInActiveWorkspace
// - workbench.action.terminal.toggleFindCaseSensitive
// - workbench.action.terminal.toggleFindRegex
// - workbench.action.terminal.toggleFindWholeWord
// - workbench.action.terminal.toggleTerminal
// - workbench.action.toggleFullScreen
// - workbench.action.toggleMaximizedPanel
// - workbench.action.togglePanel
"terminal.integrated.commandsToSkipShell": [],
// 如果存在活动终端会话,控制是否确认窗口关闭的时间。
// - never: 从不确认。
// - always: 始终确认是否存在终端。
// - hasChildProcesses: 确认是否存在具有子进程的终端。
"terminal.integrated.confirmOnExit": "never",
// 控制是否在终端具有子进程时确认终止终端。当设置为编辑器时,如果编辑器区域中的终端具有子进程,则将标记为已更改。请注意,子进程检测可能不适用于 Git Bash 等 shell,后者不会将其进程作为 shell 的子进程运行。
// - never: 从不确认。
// - editor: 确认终端是否在编辑器中。
// - panel: 确认终端是否在面板中。
// - always: 确认终端是在编辑器中还是在面板中。
"terminal.integrated.confirmOnKill": "editor",
// 控制是否将在终端中选定的文本复制到剪贴板。
"terminal.integrated.copyOnSelection": false,
// 控制终端光标是否闪烁。
"terminal.integrated.cursorBlinking": false,
// 控制终端光标的样式。
"terminal.integrated.cursorStyle": "block",
// 控制在 "#terminal.integrated.cursorStyle#" 设置为 "line" 时光标的宽度。
"terminal.integrated.cursorWidth": 1,
// 是否为块元素和框绘图字符绘制自定义字形,而不是使用字体,这通常会产生更好的连续线条呈现效果。请注意,这不适用于 DOM 呈现器
"terminal.integrated.customGlyphs": true,
// 将在其中启动终端的显式起始路径,它用作 shell 进程的当前工作目录(cwd)。如果根目录不是方便的 cwd,此路径在工作区设置中可能十分有用。
"terminal.integrated.cwd": "",
// 控制新建终端的显示位置。
// - editor: 在编辑器中创建终端
// - view: 在终端视图中创建终端
"terminal.integrated.defaultLocation": "view",
// 在 Linux 上使用的默认配置文件。如果设置了 `terminal.integrated.shell.linux` 或 `terminal.integrated.shellArgs.linux`,则当前将忽略此设置。
"terminal.integrated.defaultProfile.linux": null,
// 在 macOS 上使用的默认配置文件。如果设置了 `terminal.integrated.shell.osx` 或 `terminal.integrated.shellArgs.osx`,则当前将忽略此设置。
"terminal.integrated.defaultProfile.osx": null,
// 在 Windows 上使用的默认配置文件。如果设置了 `terminal.integrated.shell.windows` 或 `terminal.integrated.shellArgs.windows`,则当前将忽略此设置。
// - null: 自动检测默认值
// - PowerShell: $(terminal-powershell) PowerShell
// - path: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
// - Windows PowerShell: $(terminal-powershell) Windows PowerShell
// - path: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
// - Command Prompt: $(terminal-cmd) Command Prompt
// - path: C:\WINDOWS\System32\cmd.exe
// - args: []
// - JavaScript Debug Terminal: $($(debug)) JavaScript Debug Terminal
// - extensionIdenfifier: ms-vscode.js-debug
"terminal.integrated.defaultProfile.windows": null,
// 控制是否检测 "$LANG" 环境变量并将其设置为符合 UTF-8 的选项,因为 VS Code 的终端仅支持来自 shell 的 UTF-8 编码数据。
// - auto: 如果现有变量不存在或不以 "'.UTF-8'" 结尾,则设置 "$LANG" 环境变量。
// - off: 请勿设置 "$LANG" 环境变量。
// - on: 始终设置 "$LANG" 环境变量。
"terminal.integrated.detectLocale": "auto",
// 控制终端中的加粗文本是否始终使用 "bright" ANSI 颜色变量。
"terminal.integrated.drawBoldTextInBrightColors": true,
// 控制是否启用终端铃声,这在终端名称旁边显示为视觉上的铃铛。
"terminal.integrated.enableBell": false,
// 是否在终端中启用文件链接。尤其是在处理网络驱动器时,链接会变慢,因为每个文件链接都会根据文件系统进行验证。更改此项将仅在新的终端中生效。
"terminal.integrated.enableFileLinks": true,
// 将多行粘贴到终端时显示警告对话框。在以下情况中,该对话框不显示:
//
// - 已启用带括号的粘贴模式(shell 支持本机多行粘贴)
// - 粘贴由 shell 的读取一行数据处理(在 pwsh 的情况下)
"terminal.integrated.enableMultiLinePasteWarning": true,
// 跨窗口重新加载保持工作区的终端会话。
"terminal.integrated.enablePersistentSessions": true,
// 具有环境变量的对象,这些变量将添加到 Linux 上的终端要使用的 VS Code 进程。如果设置为 "null",则删除环境变量。
"terminal.integrated.env.linux": {},
// 具有环境变量的对象,这些变量将添加到 macOS 中的终端要使用的 VS Code 进程。如果设置为 "null",则删除环境变量。
"terminal.integrated.env.osx": {},
// 具有环境变量的对象,这些变量将添加到将由 Windows 上的终端使用的 VS Code 进程。设置为 "null" 以删除环境变量。
"terminal.integrated.env.windows": {},
// 是否在每个终端上显示环境更改指示器,该指示器解释了使是否已进行扩展或想要对终端环境进行更改。
// - off: 禁用指示器。
// - on: 启用指示器。
// - warnonly: 仅当终端环境为“已过时”时,仅显示警告指示器,而不是显示指出终端环境已由扩展修改的信息指示器。
"terminal.integrated.environmentChangesIndicator": "warnonly",
// 在扩展想要向终端的环境贡献内容但尚未与之交互时是否自动重启终端。
"terminal.integrated.environmentChangesRelaunch": true,
// 按 "Alt" 时的滚动速度加倍。
"terminal.integrated.fastScrollSensitivity": 5,
// 控制终端的字体系列,它默认为 "#editor.fontFamily#" 的值。
"terminal.integrated.fontFamily": "",
// 控制终端的字号(以像素为单位)。
"terminal.integrated.fontSize": 14,
// 要在终端中用于非粗体文本的字体粗细。接受“正常”和“加粗”这两个关键字,或接受 1-1000 之间的数字。
"terminal.integrated.fontWeight": "normal",
// 要在终端中用于粗体文本的字体粗细。接受“正常”和“加粗”这两个关键字,或接受 1-1000 之间的数字。
"terminal.integrated.fontWeightBold": "bold",
// 控制终端是否将使用 GPU 来进行呈现。
// - auto: 让 VS Code 检测哪些呈现器将提供最佳体验。
// - on: 在终端内启用 GPU 加速。
// - off: 在终端中禁用 GPU 加速。
// - canvas: 在终端中使用回退画布呈现器。这使用 2d 上下文而不是 webgl,在某些系统上可能更好。
"terminal.integrated.gpuAcceleration": "auto",
// 使用 `terminal.integrated.confirmOnKill` 设置时要忽略的一组流程名称。
"terminal.integrated.ignoreProcessNames": [
"starship",
"oh-my-posh",
"bash",
"zsh"
],
// 控制终端的字母间距,这是一个整数值,表示要在字符之间增加的额外像素量。
"terminal.integrated.letterSpacing": 0,
// 控制终端的行高,此数字乘以终端字号等于实际行高(以像素为单位)。
"terminal.integrated.lineHeight": 1,
// 何时应启用本地回响。此操作将替代 `terminal.integrated.localEchoLatencyThreshold`
// - on: 始终启用
// - off: 始终禁用
// - auto: 仅对远程工作区启用
"terminal.integrated.localEchoEnabled": "auto",
// 当在终端标题中找到其中一个程序名称时,将禁用本地回显。
"terminal.integrated.localEchoExcludePrograms": [
"vim",
"vi",
"nano",
"tmux"
],
// 网络延迟的长度(以毫秒为单位),其中本地编辑将在终端上回显,无需等待服务器承认。如果为 '0',则本地回显将始终开启,如果为 '-1',则将禁用。
"terminal.integrated.localEchoLatencyThreshold": 30,
// 本地回显文本的终端样式;字体样式或 RGB 颜色。
"terminal.integrated.localEchoStyle": "dim",
// 控制在 macOS 上使用 Option+单击时是否强制选择内容。这将强制进行常规(行)选择并禁止使用列选择模式。这样,可使用常规终端选择进行复制粘贴,例如在 tmux 中启用鼠标模式时。
"terminal.integrated.macOptionClickForcesSelection": false,
// 控制是否将选项键视为 macOS 中的终端上的元键。
"terminal.integrated.macOptionIsMeta": false,
// 设置每个单元格的前景色时,将改为尝试符合指定的对比度比率。示例值:
//
// - 1: 不执行任何操作,使用标准主题颜色。
// - 4.5: [符合 WCAG AA 标准(最低)](https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html)(默认)。
// - 7: [符合 WCAG AAA 标准(增强)](https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast7.html)。
// - 21: 黑底白字或白底黑字。
"terminal.integrated.minimumContrastRatio": 4.5,
// 要在鼠标滚轮滚动事件的 "deltaY" 上使用的乘数。
"terminal.integrated.mouseWheelScrollSensitivity": 1,
// 当必须关闭终端进程(例如当窗口或应用程序关闭时)时,这将确定何时应还原以前的终端会话内容,以及在下次打开工作区时重新创建的进程。
//
// 注意事项:
//
// - 进程当前工作目录的还原取决于是否受 shell 支持。
// - 在关闭期间保留会话的时间有限,因此在使用高延迟远程连接时可能会中止相应会话。
// - onExit: 在 Windows/Linux 上关闭最后窗口后或当触发 `workbench.action.quit` 命令(命令面板、键绑定、菜单)时,恢复流程。
// - onExitAndWindowClose: 在 Windows/Linux 上关闭最后窗口后或当触发 `workbench.action.quit` 命令(命令面板、键绑定、菜单)或关闭窗口时,恢复流程。
// - never: 永远不要还原终端缓冲区或重新创建流程。
"terminal.integrated.persistentSessionReviveProcess": "onExit",
// 通过终端下拉列表创建新终端时要显示的 Linux 配置文件。请手动设置 `path` 属性(通过可选的 `args` 进行)。
//
// 将现有配置文件设置为 `null` 以从列表中隐藏配置文件,例如: `"bash": null`。
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh"
},
"fish": {
"path": "fish"
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
}
},
// 通过终端下拉列表创建新终端时要显示的 macOS 配置文件。请手动设置 `path` 属性(通过可选的 `args` 进行)。
//
// 将现有配置文件设置为 `null` 以从列表中隐藏配置文件,例如: `"bash": null`。
"terminal.integrated.profiles.osx": {
"bash": {
"path": "bash",
"args": [
"-l"
],
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh",
"args": [
"-l"
]
},
"fish": {
"path": "fish",
"args": [
"-l"
]
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
}
},
// 通过终端下拉列表创建新终端时要显示的 Windows 配置文件。使用 `source` 属性自动检测 shell 的位置。或手动设置 `path` 属性(通过可选的 `args` 进行)。
//
// 将现有配置文件设置为 `null` 以从列表中隐藏配置文件,例如: `"Ubuntu-20.04 (WSL)": null`。
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
}
},
// 控制终端如何回应右键单击操作。
// - default: 显示上下文菜单。
// - copyPaste: 当有选定内容时复制,否则粘贴。
// - paste: 右键单击时粘贴。
// - selectWord: 选择光标下方的字词并显示上下文菜单。
// - nothing: 不执行任何操作并将事件传递到终端。
"terminal.integrated.rightClickBehavior": "copyPaste",
// 控制终端在其缓冲区中保留的最大行数。
"terminal.integrated.scrollback": 1000,
// 将大部分键绑定调度到终端而不是工作台,重写 "#terminal.integrated.commandsToSkipShell#",这可选择性地用于进行微调。
"terminal.integrated.sendKeybindingsToShell": false,
// 此项已弃用,配置默认 shell 的新推荐方法是在 `terminal.integrated.profiles.linux#` 中创建一个终端配置文件,并将其配置文件名称设置为 `#terminal.integrated.defaultProfile.linux` 中的默认值。此操作当前将优先于新的配置文件设置,但将来会发生更改。
// 终端在 Linux 上使用的 shell 的路径。[阅读关于配置 shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-profiles)。
"terminal.integrated.shell.linux": null,
// 此项已弃用,配置默认 shell 的新推荐方法是在 `terminal.integrated.profiles.osx#` 中创建一个终端配置文件,并将其配置文件名称设置为 `#terminal.integrated.defaultProfile.osx` 中的默认值。此操作当前将优先于新的配置文件设置,但将来会发生更改。
// 终端在 macOS 上使用的 shell 的路径。[阅读关于配置 shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-profiles)。
"terminal.integrated.shell.osx": null,
// 此项已弃用,配置默认 shell 的新推荐方法是在 `terminal.integrated.profiles.windows#` 中创建一个终端配置文件,并将其配置文件名称设置为 `#terminal.integrated.defaultProfile.windows` 中的默认值。此操作当前将优先于新的配置文件设置,但将来会发生更改。
// 终端在 Windows 上使用的 shell 的路径。[阅读关于配置 shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-profiles)。
"terminal.integrated.shell.windows": null,
// 此项已弃用,配置默认 shell 的新推荐方法是在 `terminal.integrated.profiles.linux#` 中创建一个终端配置文件,并将其配置文件名称设置为 `#terminal.integrated.defaultProfile.linux` 中的默认值。此操作当前将优先于新的配置文件设置,但将来会发生更改。
// 在 Linux 终端上时要使用的命令行参数。[阅读关于配置 shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-profiles)。
"terminal.integrated.shellArgs.linux": [],
// 此项已弃用,配置默认 shell 的新推荐方法是在 `terminal.integrated.profiles.osx#` 中创建一个终端配置文件,并将其配置文件名称设置为 `#terminal.integrated.defaultProfile.osx` 中的默认值。此操作当前将优先于新的配置文件设置,但将来会发生更改。
// 在 macOS 终端上时要使用的命令行参数。[阅读关于配置 shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-profiles)。
"terminal.integrated.shellArgs.osx": [
"-l"
],
// 此项已弃用,配置默认 shell 的新推荐方法是在 `terminal.integrated.profiles.windows#` 中创建一个终端配置文件,并将其配置文件名称设置为 `#terminal.integrated.defaultProfile.windows` 中的默认值。此操作当前将优先于新的配置文件设置,但将来会发生更改。
// 在 Windows 终端上时要使用的命令行参数。[阅读关于配置 shell 的详细信息](https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-profiles)。
"terminal.integrated.shellArgs.windows": [],
// 控制将用于已跳过/空命令的图标。设置为 `''` 以隐藏图标或禁用带有 `terminal.integrated.shellIntegration.decorationsEnabled` 的修饰
"terminal.integrated.shellIntegration.decorationIcon": "circle-outline",
// 控制将用于已启用 shell 集成且具有关联退出代码的终端中的每个命令的图标。设置为 `''` 以隐藏图标或禁用带有`terminal.integrated.shellIntegration.decorationsEnabled` 的修饰。
"terminal.integrated.shellIntegration.decorationIconError": "error-small",
// 控制将用于已启用 shell 集成且不具有关联退出代码的终端中的每个命令的图标。设置为 `''` 以隐藏图标或禁用带有`terminal.integrated.shellIntegration.decorationsEnabled` 的修饰。
"terminal.integrated.shellIntegration.decorationIconSuccess": "primitive-dot",
// 启用 shell 集成后,为每个命令添加修饰。
"terminal.integrated.shellIntegration.decorationsEnabled": true,
// 启用实验性 shell 集成功能,该功能将启用某些功能,例如增强的命令跟踪和当前工作目录检测。Shell 集成的工作原理是注入在初始化 shell 时运行的脚本,从而允许终端进一步了解终端内发生的情况。如果已在终端配置文件中定义自定义参数,则脚本注入可能不起作用。
//
// 受支持的 shell:
//
// - Linux/macOS: bash、pwsh、zsh
// - Windows: pwsh
//
// 此设置仅在创建终端时适用,需要重启终端才能使该设置生效。
"terminal.integrated.shellIntegration.enabled": false,
// 控制要保留在终端命令历史记录中的最近使用的命令数。设置为 0 可禁用终端命令历史记录。
"terminal.integrated.shellIntegration.history": 100,
// 启用该功能时,是否在终端中显示 shell 集成已激活的欢迎消息。
"terminal.integrated.shellIntegration.showWelcome": true,
// 控制在退出代码为非零时是否显示“终端进程已终止且显示退出代码”警报。
"terminal.integrated.showExitAlert": true,
// 控制拆分终端开始时使用的工作目录。
// - workspaceRoot: 新的拆分终端将使用工作区根作为工作目录。在多根工作区中,提供了要使用根文件夹的选项。
// - initial: 新的拆分终端将使用父终端开始时使用的工作目录。
// - inherited: 在 macOS 和 Linux 上,新的拆分终端将使用父终端的工作目录。在 Windows 上,这与初始行为相同。
"terminal.integrated.splitCwd": "inherited",
// 控制显示在标题右侧的终端说明。根据上下文替换变量:
// - `${cwd}`: 终端的当前工作目录
// - `${cwdFolder}`: 终端的当前工作目录,当值与初始工作目录不同时,显示在多根工作区或单个根工作区中。在 Windows 上,仅当启用 shell 集成时才会显示此内容。
// - `${workspaceFolder}`: 在其中启动终端的工作区
// - `${local}`: 指示远程工作区中的本地终端
// - `${process}`: 终端流程的名称
// - `${separator}`: 仅在由带有值或静态文本的变量括住时才显示的条件分隔符(" - ")。
// - `${sequence}`: 进程提供给终端的名称
// - `${task}`: 指示此终端与任务关联
"terminal.integrated.tabs.description": "${task}${separator}${local}${separator}${cwdFolder}",
// 控制终端选项卡状态是否支持动画(例如正在进行的任务)。
"terminal.integrated.tabs.enableAnimation": true,
// 控制终端选项卡是否以列表的形式显示在终端的一侧。如果禁用此功能,将改为显示下拉列表。
"terminal.integrated.tabs.enabled": true,
// 控制是在双击时将焦点放在某个选项卡上还是单击。
// - singleClick: 双击终端选项卡时聚焦终端
// - doubleClick: 双击终端选项卡时聚焦终端
"terminal.integrated.tabs.focusMode": "doubleClick",
// 控制在特定条件下是否将隐藏终端选项卡视图。
// - never: 从不隐藏终端选项卡视图
// - singleTerminal: 仅打开一个终端时隐藏终端选项卡视图
// - singleGroup: 仅打开一个终端组时隐藏终端选项卡视图
"terminal.integrated.tabs.hideCondition": "singleTerminal",
// 控制终端选项卡的位置,该位置位于实际终端的左侧或右侧。
// - left: 在终端的左侧显示终端选项卡视图
// - right: 在终端的右侧显示终端选项卡视图
"terminal.integrated.tabs.location": "right",
// `terminal.integrated.tabs.title` 和 `terminal.integrated.tabs.title` 使用的分隔符。
"terminal.integrated.tabs.separator": " - ",
// 控制是否在“新建终端”按钮旁边显示“终端拆分”和“终止”按钮。
// - always: 始终显示操作
// - singleTerminal: 当终端是唯一打开的终端时显示操作
// - singleTerminalOrNarrow: 在终端是唯一打开的终端或选项卡视图处于窄而无文本状态时显示活动终端
// - never: 从不显示操作
"terminal.integrated.tabs.showActions": "singleTerminalOrNarrow",
// 在视图中显示活动的终端信息,当选项卡中的标题不可见时,此功能尤其有用。
// - always: 始终显示活动终端
// - singleTerminal: 当仅有一个终端打开时显示活动终端
// - singleTerminalOrNarrow: 仅当终端已打开或选项卡视图处于窄而无文本状态时显示活动终端
// - never: 从不显示活动终端
"terminal.integrated.tabs.showActiveTerminal": "singleTerminalOrNarrow",
// 控制终端标题。根据上下文替换变量:
// - `${cwd}`: 终端的当前工作目录
// - `${cwdFolder}`: 终端的当前工作目录,当值与初始工作目录不同时,显示在多根工作区或单个根工作区中。在 Windows 上,仅当启用 shell 集成时才会显示此内容。
// - `${workspaceFolder}`: 在其中启动终端的工作区
// - `${local}`: 指示远程工作区中的本地终端
// - `${process}`: 终端流程的名称
// - `${separator}`: 仅在由带有值或静态文本的变量括住时才显示的条件分隔符(" - ")。
// - `${sequence}`: 进程提供给终端的名称
// - `${task}`: 指示此终端与任务关联
"terminal.integrated.tabs.title": "${process}",
// 控制在计算终端中字符的宽度时要使用的 unicode 版本。如果你遇到表情符号或其他宽字符,而这些宽字符占用的空格或退格量不正确或删除的空间太多或太少,则你可能需要尝试调整此设置。
// - 6: unicode 的版本 6,该版本较旧,在较旧的系统中效果更好。
// - 11: unicode 的版本 11,版本可在使用新式版本 unicode 的新式系统上提供更好的支持。
"terminal.integrated.unicodeVersion": "11",
// 控制是否在终端下拉列表中显示 WSL 发行版
"terminal.integrated.useWslProfiles": true,
// 是否使用 ConPTY 进行 Windows 终端进程通信(需要 Windows 10 内部版本号 18309+)。如果此设置为 false,将使用 Winpty。
"terminal.integrated.windowsEnableConpty": true,
// 一个字符串,其中包含双击选择 Word 功能而被视为单词分隔符的所有字符。
"terminal.integrated.wordSeparators": " ()[]{}',\"`─‘’"
},
{
// 控制为所有任务提供程序扩展启用"提供任务"。如果"任务: 运行任务"命令速度较慢,则禁用任务提供程序的自动检测可能会提供帮助。单个扩展还可以提供禁用自动检测的设置。
"task.autoDetect": "on",
// 配置在运行任务时是否显示问题匹配器提示。设置为"true"从不提示,或使用任务类型的字典仅关闭特定任务类型的提示。
"task.problemMatchers.neverPrompt": false,
// 控制是否显示在“运行任务”等任务快速选取中具有详细信息的任务的详细信息。
"task.quickOpen.detail": true,
// 控制任务快速打开对话框中跟踪的最近项目数。
"task.quickOpen.history": 30,
// 使 Tasks: Run Task 命令使用速度较慢的“全部显示”行为,而不是使用任务按提供程序进行分组的速度更快的双层选取器。
"task.quickOpen.showAll": false,
// 控制当只有一个任务要选取时是否跳过任务快速选取。
"task.quickOpen.skip": false,
// 在运行任务前保存所有未保存的编辑器。
// - always: 运行前始终保存所有编辑器。
// - never: 运行前绝不保存编辑器。
// - prompt: 提示在运行前是否保存编辑器。
"task.saveBeforeRun": "always",
// 配置当提供程序速度较慢时是否显示警告
"task.slowProviderWarning": true
},
{
// 在终端中从资源管理器打开文件时,确定将启动哪种类型的终端
// - integrated: 使用 VS Code 的集成终端。
// - external: 使用设定的外部终端。
"terminal.explorerKind": "integrated"
},
{
// 在打开文件时,控制是否在“问题”视图中对其进行定位。
"problems.autoReveal": true,
// 在文件和文件夹上显示错误和警告。
"problems.decorations.enabled": true,
// 启用后,状态栏中将显示当前问题。
"problems.showCurrentInStatus": false,
// 控制问题导航的顺序。
// - severity: 导航按严重性排序的问题
// - position: 导航按位置排序的问题
"problems.sortOrder": "severity"
},
{
// 启用/禁用导航路径。
"breadcrumbs.enabled": true,
// 控制是否及如何在“导航路径”视图中显示文件路径。
// - on: 在导航路径视图中显示文件路径。
// - off: 不在导航路径视图中显示文件路径。
// - last: 在导航路径视图中仅显示文件路径的最后一个元素。
"breadcrumbs.filePath": "on",
// 使用图标渲染面包屑导航项。
"breadcrumbs.icons": true,
// 启用后,痕迹导航栏将显示“数组”符号。
"breadcrumbs.showArrays": true,
// 启用后,痕迹导航栏将显示“布尔”符号。
"breadcrumbs.showBooleans": true,
// 启用后,痕迹导航栏显示“类”符号。
"breadcrumbs.showClasses": true,
// 启用后,痕迹导航栏将显示“常量”符号。
"breadcrumbs.showConstants": true,
// 启用后,痕迹符将显示“构造函数”符号。
"breadcrumbs.showConstructors": true,
// 启用后,痕迹导航栏将显示 "enumMember" 符号。
"breadcrumbs.showEnumMembers": true,
// 启用后,痕迹导航栏将显示“枚举”符号。
"breadcrumbs.showEnums": true,
// 启用后,痕迹导航栏将显示“事件”符号。
"breadcrumbs.showEvents": true,
// 启用后,痕迹导航栏将显示“字段”符号。
"breadcrumbs.showFields": true,
// 启用后,痕迹导航栏将显示“文件”符号。
"breadcrumbs.showFiles": true,
// 启用后,痕迹导航栏将显示“函数”符号。
"breadcrumbs.showFunctions": true,
// 启用后,痕迹导航栏将显示“接口”符号。
"breadcrumbs.showInterfaces": true,
// 启用后,痕迹导航栏将显示“键”符号。
"breadcrumbs.showKeys": true,
// 启用后,痕迹导航栏将显示“方法”符号。
"breadcrumbs.showMethods": true,
// 启用后,痕迹导航栏将显示“模块”符号。
"breadcrumbs.showModules": true,
// 启用后,痕迹导航栏将显示“命名空间”符号。
"breadcrumbs.showNamespaces": true,
// 启用后,痕迹导航栏将显示 "null" 符号。
"breadcrumbs.showNull": true,
// 启用后,痕迹导航栏将显示“数字”符号。
"breadcrumbs.showNumbers": true,
// 启用后,痕迹导航栏将显示“对象”符号。
"breadcrumbs.showObjects": true,
// 启用后,痕迹导航栏将显示“运算符”符号。
"breadcrumbs.showOperators": true,
// 启用后,痕迹导航栏将显示“包”符号。
"breadcrumbs.showPackages": true,
// 启用后,痕迹导航栏将显示“属性”符号。
"breadcrumbs.showProperties": true,
// 启用后,痕迹导航栏将显示“字符串”符号。
"breadcrumbs.showStrings": true,
// 启用后,痕迹导航栏将显示“结构”符号。
"breadcrumbs.showStructs": true,
// 启用后,痕迹导航栏将显示 "typeParameter" 符号。
"breadcrumbs.showTypeParameters": true,
// 启用后,痕迹导航栏将显示“变量”符号。
"breadcrumbs.showVariables": true,
// 控制是否及如何在“导航路径”视图中显示符号。
// - on: 在“导航路径”视图中显示所有符号。
// - off: 不在导航路径视图中显示符号。
// - last: 在导航路径视图中仅显示当前符号。
"breadcrumbs.symbolPath": "on",
// 控制“导航路径”大纲视图中符号的排序方式。
// - position: 以文件位置顺序显示符号大纲。
// - name: 以字母顺序显示符号大纲。
// - type: 以符号类型顺序显示符号大纲。
"breadcrumbs.symbolSortOrder": "position"
},
{
// 如果此设置为 false,则无论新设置的值如何,都不会发送遥测数据。由于合并到 `telemetry.telemetryLevel` 设置,目前已弃用。
// 启用要收集的崩溃报告。这有助于我们提高稳定性。
// 此选项需重启才可生效。
"telemetry.enableCrashReporter": true
},
{
// 显示大纲元素的图标。
"outline.icons": true,
// 对错误和警告使用徽章。
"outline.problems.badges": true,
// 对错误和警告添加颜色。
"outline.problems.colors": true,
// 显示大纲元素上的错误和警告。
"outline.problems.enabled": true,
// 启用后,大纲将显示“数组”符号。
"outline.showArrays": true,
// 启用后,大纲将显示“布尔”符号。
"outline.showBooleans": true,
// 启用后,大纲将显示“类”符号。
"outline.showClasses": true,
// 启用后,大纲将显示“常量”符号。
"outline.showConstants": true,
// 启用大纲时,大纲将显示“构造函数”符号。
"outline.showConstructors": true,
// 启用后,大纲将显示“枚举成员”符号。
"outline.showEnumMembers": true,
// 启用后,大纲将显示“枚举”符号。
"outline.showEnums": true,
// 启用后,大纲将显示“事件”符号。
"outline.showEvents": true,
// 启用时,大纲将显示“字段”符号。
"outline.showFields": true,
// 启用后,大纲将显示“文件”符号。
"outline.showFiles": true,
// 启用时,大纲将显示“函数”符号。
"outline.showFunctions": true,
// 启用后,大纲将显示“接口”符号。
"outline.showInterfaces": true,
// 启用后,大纲将显示“键”符号。
"outline.showKeys": true,
// 启用后,大纲将显示“方法”符号。
"outline.showMethods": true,
// 启用后,大纲将显示“模块”符号。
"outline.showModules": true,
// 启用后,大纲将显示“命名空间”符号。
"outline.showNamespaces": true,
// 启用后,大纲将显示 "null" 符号。
"outline.showNull": true,
// 启用后,大纲将显示“数字”符号。
"outline.showNumbers": true,
// 启用后,大纲将显示“对象”符号。
"outline.showObjects": true,
// 启用时,大纲显示“运算符”符号。
"outline.showOperators": true,
// 启用后,大纲将显示“包”符号。
"outline.showPackages": true,
// 启用后,大纲将显示“属性”符号。
"outline.showProperties": true,
// 启用后,大纲将显示“字符串”符号。
"outline.showStrings": true,
// 启用后,大纲将显示“结构”符号。
"outline.showStructs": true,
// 启用后,大纲将显示 "typeParameter" 符号。
"outline.showTypeParameters": true,
// 启用后,大纲将显示“变量”符号。
"outline.showVariables": true
},
{
// 应从时间线视图中排除的时间线源数组。
"timeline.excludeSources": null,
// 实验性。控制在滚动到列表结尾时,时间线视图是否将加载下一页的项目。
"timeline.pageOnScroll": false,
// 默认情况下以及在加载更多项目时在时间线视图中显示的项目数。如果设置为 "null" (默认值),则将根据时间线视图的可见区域自动选择一个页面大小。
"timeline.pageSize": null
},
{
// 配置要为 css 语言替代的设置。
"[css]": {
"editor.suggest.insertMode": "replace"
},
// 配置要为 dockercompose 语言替代的设置。
"[dockercompose]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced"
},
// 配置要为 dockerfile 语言替代的设置。
"[dockerfile]": {
"editor.quickSuggestions": {
"strings": true
}
},
// 配置要为 git-commit 语言替代的设置。
"[git-commit]": {
"editor.rulers": [
72
],
"workbench.editor.restoreViewState": false
},
// 配置要为 git-rebase 语言替代的设置。
"[git-rebase]": {
"workbench.editor.restoreViewState": false
},
// 配置要为 go 语言替代的设置。
"[go]": {
"editor.insertSpaces": false
},
// 配置要为 handlebars 语言替代的设置。
"[handlebars]": {
"editor.suggest.insertMode": "replace"
},
// 配置要为 haxe 语言替代的设置。
"[haxe]": {
"editor.suggestSelection": "first"
},
// 配置要为 html 语言替代的设置。
"[html]": {
"editor.suggest.insertMode": "replace"
},
// 配置要为 javascript 语言替代的设置。
"[javascript]": {
"editor.maxTokenizationLineLength": 2500
},
// 配置要为 json 语言替代的设置。
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
// 配置要为 jsonc 语言替代的设置。
"[jsonc]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
// 配置要为 less 语言替代的设置。
"[less]": {
"editor.suggest.insertMode": "replace"
},
// 配置要为 makefile 语言替代的设置。
"[makefile]": {
"editor.insertSpaces": false
},
// 配置要为 markdown 语言替代的设置。
"[markdown]": {
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.invisibleCharacters": false,
"editor.wordWrap": "on",
"editor.quickSuggestions": false
},
// 配置要为 plaintext 语言替代的设置。
"[plaintext]": {
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.invisibleCharacters": false
},
// 配置要为 python 语言替代的设置。
"[python]": {
"editor.wordBasedSuggestions": false
},
// 配置要为 scss 语言替代的设置。
"[scss]": {
"editor.suggest.insertMode": "replace"
},
// 配置要为 search-result 语言替代的设置。
"[search-result]": {
"editor.lineNumbers": "off"
},
// 配置要为 shellscript 语言替代的设置。
"[shellscript]": {
"files.eol": "\n"
},
// 配置要为 yaml 语言替代的设置。
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced"
}
},
{
// Deprecated. Use the specific setting for each audio cue instead (`audioCues.*`).
//
"audioCues.enabled": null,
// 当有效行具有断点时播放声音。
// - auto: 附加屏幕阅读器时,启用音频提示。
// - on: 启用音频提示。
// - off: 禁用音频提示。
"audioCues.lineHasBreakpoint": "auto",
// 当有效行出现错误时播放声音。
// - auto: 附加屏幕阅读器时,启用音频提示。
// - on: 启用音频提示。
// - off: 禁用音频提示。
"audioCues.lineHasError": "auto",
// 当有效行具有可展开的折叠区域时播放声音。
// - auto: 附加屏幕阅读器时,启用音频提示。
// - on: 启用音频提示。
// - off: 禁用音频提示。
"audioCues.lineHasFoldedArea": "auto",
// 当有效行具有内联建议时播放声音。
// - auto: 附加屏幕阅读器时,启用音频提示。
// - on: 启用音频提示。
// - off: 禁用音频提示。
"audioCues.lineHasInlineSuggestion": "auto",
// 当有效行出现警告时播放声音。
// - auto: 附加屏幕阅读器时,启用音频提示。
// - on: 启用音频提示。
// - off: 禁用音频提示。
"audioCues.lineHasWarning": "off",
// 尝试读取包含无内嵌提示的内嵌提示的行时播放声音。
// - auto: 附加屏幕阅读器时,启用音频提示。
// - on: 启用音频提示。
// - off: 禁用音频提示。
"audioCues.noInlayHints": "auto",
// 当调试程序在断点上停止时播放声音。
// - auto: 附加屏幕阅读器时,启用音频提示。
// - on: 启用音频提示。
// - off: 禁用音频提示。
"audioCues.onDebugBreak": "auto",
// 音频提示音量百分比(0-100)。
"audioCues.volume": 70
},
{
// 启用后,将检测到新的正在运行的进程,并自动转发其侦听的端口。禁用此设置将不会阻止转发所有端口。即使禁用,扩展将仍然能够导致端口被转发,并且打开某些 URL 仍将导致端口被转发。
"remote.autoForwardPorts": true,
// 设置当 "remote.autoForwardPorts" 为 true 时自动从其转发端口的源。在 Windows 和 Mac 远程设备上,"process" 选项不起作用,系统将使用 "output"。需要重新加载才能生效。
// - process: 通过监视包含端口的已启动进程发现端口时,将自动转发该端口。
// - output: 通过读取终端和调试输出发现端口时,将自动转发该端口。并非所有使用端口的进程都将打印到集成终端或调试控制台,因此某些端口将丢失。根据输出转发的端口将不会被“取消转发”,除非重载或用户在“端口”视图中关闭该端口。
"remote.autoForwardPortsSource": "process",
// 启用后,扩展将本地下载并安装在远程上。
"remote.downloadExtensionsLocally": false,
// 覆盖扩展的类型。"ui" 扩展在本地计算机上安装和运行,而 "workspace" 扩展则在远程计算机上运行。通过使用此设置重写扩展的默认类型,可指定是否应在本地或远程安装和启用该扩展。
"remote.extensionKind": {
"pub.name": [
"ui"
]
},
// 指定将用于端口转发的本地主机名。
"remote.localPortHost": "localhost",
// 对于未从 "remote.portsAttributes" 设置中获得属性的所有端口,设置其上应用的默认属性。例如:
//
// ```
// {
// "onAutoForward": "ignore"
// }
// ```
"remote.otherPortsAttributes": {},
// 设置在转发特定端口号时应用的属性。例如:
//
// ```
// "3000": {
// "label": "Application"
// },
// "40000-55000": {
// "onAutoForward": "ignore"
// },
// ".+\\/server.js": {
// "onAutoForward": "openPreview"
// }
// ```
"remote.portsAttributes": {
"443": {
"protocol": "https"
},
"8443": {
"protocol": "https"
}
},
// 还原您在工作区中转发的端口。
"remote.restoreForwardedPorts": true
},
{
// 不应展开 Emmet 缩写的语言数组。
"emmet.excludeLanguages": [
"markdown"
],
// 一组路径,其中每个路径都可以包含 Emmet syntaxProfiles 和/或代码片段。
// 发生冲突时,后面路径的配置文件/代码段将重写以前的路径。
// 有关详细信息和示例片段文件,请参见 https://code.visualstudio.com/docs/editor/emmet。
"emmet.extensionsPath": [],
// 在默认不受支持的语言中启用 Emmet 缩写。在此语言和 Emmet 支持的语言之间添加映射。
// 例如: `{"vue-html": "html", "javascript": "javascriptreact"}`
"emmet.includeLanguages": {},
// 当设置为 `false` 时,将分析整个文件并确定当前位置能否展开 Emmet 缩写。当设置为 `true` 时,将仅在 CSS/SCSS/LESS 文件中分析当前位置周围的内容。
"emmet.optimizeStylesheetParsing": true,
// 用于修改 Emmet 某些操作和解析程序的行为的首选项。
"emmet.preferences": {},
// 将可能的 Emmet 缩写作为建议进行显示。当在样式表中或 emmet.showExpandedAbbreviation 设置为 `"never"` 时不适用。
"emmet.showAbbreviationSuggestions": true,
// 以建议的形式显示展开的 Emmet 缩写。
// 选项 `"inMarkupAndStylesheetFilesOnly"` 适用于 html、haml、jade、slim、xml、xsl、css、scss、sass、less 和 stylus。
// 无论 markup/css 如何,选项 `"always"` 都适用于文件的各个部分。
"emmet.showExpandedAbbreviation": "always",
// 若为 `true`,Emmet 建议将显示为代码片段。可以在 `editor.snippetSuggestions` 设置中排列其顺序。
"emmet.showSuggestionsAsSnippets": false,
// 为指定的语法定义配置文件或使用带有特定规则的配置文件。
"emmet.syntaxProfiles": {},
// 启用后,按下 TAB 键,将展开 Emmet 缩写。
"emmet.triggerExpansionOnTab": false,
// 用于 Emmet 代码片段的变量。
"emmet.variables": {}
},
{
// 控制是否启用强制推送 (不论 force 还是 force-with-lease)。
"git.allowForcePush": false,
// 控制是否允许没有运行 pre-commit 和 commit-msg 挂钩的提交。
"git.allowNoVerifyCommit": false,
// 始终显示“暂存的更改”资源组。
"git.alwaysShowStagedChangesResourceGroup": false,
// 控制所有提交的 signoff 标志。
"git.alwaysSignOff": false,
// 若设置为 true,则自动从当前 Git 存储库的默认远程库提取提交。若设置为“全部”,则从所有远程库进行提取。
"git.autofetch": false,
// 在启用“#git.autofetch#”情况下每次自动 git fetch 之间的间隔时间(以秒为单位)。
"git.autofetchPeriod": 180,
// 是否启用自动刷新。
"git.autorefresh": true,
// 配置何时自动检测存储库。
// - true: 扫描当前打开文件夹与当前打开文件所在文件夹的子文件夹。
// - false: 禁止自动扫描存储库。
// - subFolders: 扫描当前打开文件夹的子文件夹。
// - openEditors: 扫描当前打开文件的父文件夹。
"git.autoRepositoryDetection": true,
// 在拉取前暂存所有更改,在成功拉取后还原这些更改。
"git.autoStash": false,
// 控制分支的排列顺序。
"git.branchSortOrder": "committerdate",
// 用于验证新分支名称的正则表达式。
"git.branchValidationRegex": "",
// 在新分支名称中替换空白字符的字符。
"git.branchWhitespaceChar": "-",
// 控制在运行“签出到…”时列出的 git 参考类型。
// - local: 本地分支
// - tags: 标记
// - remote: 远程分支
"git.checkoutType": [
"local",
"remote",
"tags"
],
// 控制在储藏、提交、放弃、暂存或取消暂存更改时,是否应自动关闭差异编辑器。
"git.closeDiffOnOperation": false,
// GIT 命令列表 (例如: commit、push),这些命令的 `stdout` 将被记录到 [git 输出](command:git.showOutput)。如果 GIT 命令配置了客户端挂钩,那么客户端挂钩的 `stdout` 也将被记录到 [git 输出](command:git.showOutput)。
"git.commandsToLog": [],
// 始终确认为 "Git: Commit Empty" 命令创建空提交。
"git.confirmEmptyCommits": true,
// 控制在强制推送前是否进行确认。
"git.confirmForcePush": true,
// 控制是否在提交前要求确认而不进行验证。
"git.confirmNoVerifyCommit": true,
// 同步 Git 存储库前请先进行确认。
"git.confirmSync": true,
// 控制 Git 计数徽章。
// - all: 对所有更改计数。
// - tracked: 仅对跟踪的更改计数。
// - off: 关闭计数器。
"git.countBadge": "all",
// 控制 Git 是否在资源管理器和“打开编辑器”视图中添加颜色和小标。
"git.decorations.enabled": true,
// 控制是否自动检测 Git 子模块。
"git.detectSubmodules": true,
// 控制可检测到的 Git 子模块的限制。
"git.detectSubmodulesLimit": 10,
// 使用 GPG 或 x.509 启用提交签名。
"git.enableCommitSigning": false,
// 是否启用 Git。
"git.enabled": true,
// 在没有暂存的更改时提交所有更改。
"git.enableSmartCommit": false,
// 控制Git Sync命令是否出现在状态栏中。
"git.enableStatusBarSync": true,
// 启用后,在拉取时获取所有分支。否则,仅获取当前。
"git.fetchOnPull": false,
// 遵循“运行同步命令时推送所有标记”。
"git.followTagsWhenSync": false,
// This setting is now deprecated, please use `github.gitAuthentication` instead.
//
"git.githubAuthentication": null,
// 要忽略的 Git 存储库列表。
"git.ignoredRepositories": [],
// 忽略“旧版 Git”警告。
"git.ignoreLegacyWarning": false,
// 忽略“存储库中存在大量更改”的警告。
"git.ignoreLimitWarning": false,
// 忽略“缺失 Git”的警告。
"git.ignoreMissingGitWarning": false,
// 忽略拉取时发出的分支似乎已变基的警告。
"git.ignoreRebaseWarning": false,
// 忽略对文件树中子模块的修改。
"git.ignoreSubmodules": false,
// 如果 Windows 上安装了 Git 2.25 - 2.26,则忽略警告。
"git.ignoreWindowsGit27Warning": false,
// 控制何时显示提交消息输入验证。
"git.inputValidation": "warn",
// 控制显示提交消息长度警告的长度阈值。
"git.inputValidationLength": 72,
// 控制显示警告的提交消息主题长度阈值。请取消设置它以继承 "config.inputValidationLength" 的值。
"git.inputValidationSubjectLength": 50,
// 控制是否在克隆后自动打开存储库。
// - always: 始终在当前窗口中打开。
// - alwaysNewWindow: 始终在新窗口中打开。
// - whenNoFolderOpen: 只有在没有打开任何文件夹时,才在当前窗口中打开。
// - prompt: 始终提示操作。
"git.openAfterClone": "prompt",
// 控制单击更改时是否应打开差异编辑器。否则将打开常规编辑器。
"git.openDiffOnClick": true,
// 成功提交后运行 git 命令。
// - none: 提交后不要运行任何命令。
// - push: 成功提交后运行'Git Push'。
// - sync: 成功提交后运行'Git Sync'。
"git.postCommitCommand": "none",
// 控制 Git 是否在提交之前检查未保存的文件。
// - always: 检查是否有任何未保存的文件。
// - staged: 只检查未保存的已暂存文件。
// - never: 禁用此检查。
"git.promptToSaveFilesBeforeCommit": "always",
// 控制 Git 是否在储藏更改之前检查未保存的文件。
// - always: 检查是否有任何未保存的文件。
// - staged: 只检查未保存的已暂存文件。
// - never: 禁用此检查。
"git.promptToSaveFilesBeforeStash": "always",
// 提取时修剪。
"git.pruneOnFetch": false,
// 拉取时提取所有标签。
"git.pullTags": true,
// 在运行“同步”命令时,强制 Git 使用“变基”。
"git.rebaseWhenSync": false,
// 当 `git.autoRepositoryDetection` 设置为 “true” 或 “subFolders” 时扫描 Git 存储库时忽略的文件夹列表。
"git.repositoryScanIgnoredFolders": [
"node_modules"
],
// 在将 `git.autoRepositoryDetection` 设置为 `true` 或 `subFolders` 时,控制扫描工作区文件夹以查找 Git 存储库时使用的深度。如果不进行限制,可以设置为 `-1`。
"git.repositoryScanMaxDepth": 1,
// 控制在是要求进行显式 Git 用户配置,还是允许 Git 在缺少配置时进行猜测。
"git.requireGitUserConfig": true,
// 在其中搜索 Git 存储库的路径的列表。
"git.scanRepositories": [],
// 控制是否在 Git 源控制面板中显示提交输入。
"git.showCommitInput": true,
// 控制是否在 Git 更改视图中显示内联“打开文件”操作。
"git.showInlineOpenFileAction": true,
// 控制 Git 操作是否显示进度提示。
"git.showProgress": true,
// 控制在推送成功时是否显示通知。
"git.showPushSuccessNotification": false,
// 控制是否显示要同步或发布的操作按钮(如果存在未发布的提交)。
// - always: 如果存在未发布的提交,则始终显示操作按钮。
// - whenEmpty: 只有当无其他更改且存在未发布的提交时,才显示操作按钮。
// - never: 从不显示操作按钮。
"git.showUnpublishedCommitsButton": "whenEmpty",
// 控制哪些更改由Smart Commit自动暂存。
// - all: 自动暂存所有更改。
// - tracked: 仅自动暂存跟踪的更改。
"git.smartCommitChanges": "all",
// 控制如何限制可从 Git 状态命令分析的更改数。可以设置为 0 表示无限制。
"git.statusLimit": 10000,
// 建议启用智能提交(在无暂存更改时提交所有更改)。
"git.suggestSmartCommit": true,
// 控制在运行同步操作时是否出现通知,允许用户取消操作。
"git.supportCancellation": false,
// 控制是否使 VS Code 成为集成终端中产生的 git 进程的身份验证处理程序。请注意: 需要重启终端才能选择此设置中的更改。
"git.terminalAuthentication": true,
// 控制在日程表视图中项目使用的日期。
// - committed: 使用提交日期
// - authored: 使用创作日期
"git.timeline.date": "committed",
// 控制是否在日程表视图中显示提交作者。
"git.timeline.showAuthor": true,
// 控制是否在时间线视图中显示未提交的更改。
"git.timeline.showUncommitted": false,
// 控制未跟踪的更改的行为。
// - mixed: 所有更改,无论是跟踪的还是未跟踪的,都会一起出现并表现出相同的行为。
// - separate: 未跟踪的更改单独显示在“源代码管理”视图中。它们也被排除在几个操作之外。
// - hidden: 未跟踪的更改被隐藏,并从多个操作中排除。
"git.untrackedChanges": "mixed",
// 控制是否将提交输入框中的消息用作默认储藏消息。
"git.useCommitInputAsStashMessage": false,
// 控制是否使用更安全的 force-with-lease 进行强制推送。
"git.useForcePushWithLease": true,
// 控制是否应覆盖 GIT_ASKPASS 以使用集成版本。
"git.useIntegratedAskPass": true
},
{
// 控制是否在 VS Code 中为 git 命令启用自动 GitHub 身份验证。
"github.gitAuthentication": true,
// 控制用于克隆 GitHub 存储库的协议
"github.gitProtocol": "https"
},
{
// URI of your GitHub Enterprise Instance
"github-enterprise.uri": ""
},
{
// 在内置 Markdown 预览中启用/禁用呈现数学。
"markdown.math.enabled": true
},
{
// 是否在解决合并冲突后自动转到下一个合并冲突。
"merge-conflict.autoNavigateNextConflict.enabled": false,
// 为编辑器中的合并冲突区域创建 CodeLens。
"merge-conflict.codeLens.enabled": true,
// 为编辑器中的合并冲突区域创建提示小标。
"merge-conflict.decorators.enabled": true,
// 控件在比较合并冲突中的更改时应在何处打开差异视图。
// - Current: 在当前的编辑器组中打开差异视图。
// - Beside: 在当前编辑器组旁边打开差异视图。
// - Below: 在当前编辑器组下方打开差异视图。
"merge-conflict.diffViewPosition": "Current"
},
{
// Configures which processes to automatically attach and debug when `debug.node.autoAttach` is on. A Node process launched with the `--inspect` flag will always be attached to, regardless of this setting.
// - always: Auto attach to every Node.js process launched in the terminal.
// - smart: Auto attach when running scripts that aren't in a node_modules folder.
// - onlyWithFlag: Only auto attach when the `--inspect` is given.
// - disabled: Auto attach is disabled and not shown in status bar.
"debug.javascript.autoAttachFilter": "disabled",
// Configures glob patterns for determining when to attach in "smart" `debug.javascript.autoAttachFilter` mode. `$KNOWN_TOOLS$` is replaced with a list of names of common test and code runners. [Read more on the VS Code docs](https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_auto-attach-smart-patterns).
"debug.javascript.autoAttachSmartPattern": [
"${workspaceFolder}/**",
"!**/node_modules/**",
"**/$KNOWN_TOOLS$/**"
],
// When debugging a remote web app, configures whether to automatically tunnel the remote server to your local machine.
"debug.javascript.automaticallyTunnelRemoteServer": true,
// Whether to stop when conditional breakpoints throw an error.
"debug.javascript.breakOnConditionalError": false,
// Where a "Run" and "Debug" code lens should be shown in your npm scripts. It may be on "all", scripts, on "top" of the script section, or "never".
"debug.javascript.codelens.npmScripts": "top",
// Options used when debugging open links clicked from inside the JavaScript Debug Terminal. Can be set to "off" to disable this behavior, or "always" to enable debugging in all terminals.
"debug.javascript.debugByLinkOptions": "on",
// The default `runtimeExecutable` used for launch configurations, if unspecified. This can be used to config custom paths to Node.js or browser installations.
"debug.javascript.defaultRuntimeExecutable": {
"pwa-node": "node"
},
// Default options used when debugging a process through the `Debug: Attach to Node.js Process` command
"debug.javascript.pickAndAttachOptions": {},
// Request options to use when loading resources, such as source maps, in the debugger. You may need to configure this if your sourcemaps require authentication or use a self-signed certificate, for instance. Options are used to create a request using the [`got`](https://github.com/sindresorhus/got) library.
//
// A common case to disable certificate verification can be done by passing `{ "https": { "rejectUnauthorized": false } }`.
"debug.javascript.resourceRequestOptions": {},
// Whether to suggest pretty printing JavaScript code that looks minified when you step into it.
"debug.javascript.suggestPrettyPrinting": true,
// Default launch options for the JavaScript debug terminal and npm scripts.
"debug.javascript.terminalOptions": {},
// Configures whether sourcemapped file where the original file can't be read will automatically be unmapped. If this is false (default), a prompt is shown.
"debug.javascript.unmapMissingSources": false
},
{
// 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"
},
{
// 控制是否自动检测 npm 脚本。
"npm.autoDetect": "on",
// 从资源管理器上下文菜单中启用运行文件夹中包含的 NPM 脚本。
"npm.enableRunFromFolder": false,
// The NPM Script Explorer is now available in 'Views' menu in the Explorer in all folders.
// 在没有顶级 "package.json" 文件时,为 npm 脚本启用资源管理器视图。
"npm.enableScriptExplorer": false,
// 配置应从自动脚本检测中排除的文件夹的 glob 模式。
"npm.exclude": "",
// 从 https://registry.npmjs.org 和 https://registry.bower.io 获取数据,以提供自动补全和 npm 依赖项上的悬停功能信息。
"npm.fetchOnlinePackageInfo": true,
// 用于运行脚本的程序包管理器。
// - auto: 根据锁定文件和已安装的包管理器,自动检测用于运行脚本的包管理器。
// - npm: 使用 npm 作为运行脚本的包管理器。
// - yarn: 使用 yarn 作为运行脚本的包管理器。
// - pnpm: 使用 pnpm 作为运行脚本的包管理器。
"npm.packageManager": "auto",
// 使用 `--silent` 选项运行 npm 命令。
"npm.runSilent": false,
// npm 脚本资源管理器中使用的默认单击操作: "打开"或"运行",默认值为"打开"。
"npm.scriptExplorerAction": "open",
// 正则表达式的数组,指示应从 NPM 脚本视图中排除哪些脚本。
"npm.scriptExplorerExclude": []
},
{
// 启用/禁用在简单浏览器中聚焦时显示的浮动指示器。
"simpleBrowser.focusLockIndicator.enabled": true
},
{
// Whether to clear previous output before each run.
"code-runner.clearPreviousOutput": false,
// Set the custom command to run.
"code-runner.customCommand": "echo Hello",
// Set the working directory.
"code-runner.cwd": "",
// Set the default language to run.
"code-runner.defaultLanguage": "",
// Whether to enable AppInsights to track user telemetry data.
"code-runner.enableAppInsights": true,
// Set the executor of each language.
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"perl": "perl",
"perl6": "perl6",
"ruby": "ruby",
"go": "go run",
"lua": "lua",
"groovy": "groovy",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"bat": "cmd /c",
"shellscript": "bash",
"fsharp": "fsi",
"csharp": "scriptcs",
"vbscript": "cscript //Nologo",
"typescript": "ts-node",
"coffeescript": "coffee",
"scala": "scala",
"swift": "swift",
"julia": "julia",
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript",
"clojure": "lein exec",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"racket": "racket",
"scheme": "csi -script",
"ahk": "autohotkey",
"autoit": "autoit3",
"dart": "dart",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"haskell": "runhaskell",
"nim": "nim compile --verbosity:0 --hints:off --run",
"lisp": "sbcl --script",
"kit": "kitc --run",
"v": "v run",
"sass": "sass --style expanded",
"scss": "scss --style expanded",
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"sml": "cd $dir && sml $fileName"
},
// Set the executor of each file extension.
"code-runner.executorMapByFileExtension": {
".vb": "cd $dir && vbc /nologo $fileName && $dir$fileNameWithoutExt",
".vbs": "cscript //Nologo",
".scala": "scala",
".jl": "julia",
".cr": "crystal",
".ml": "ocaml",
".exs": "elixir",
".hx": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
".rkt": "racket",
".scm": "csi -script",
".ahk": "autohotkey",
".au3": "autoit3",
".kt": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar",
".kts": "kotlinc -script",
".dart": "dart",
".pas": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
".pp": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
".d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
".hs": "runhaskell",
".nim": "nim compile --verbosity:0 --hints:off --run",
".csproj": "dotnet run --project",
".fsproj": "dotnet run --project",
".lisp": "sbcl --script",
".kit": "kitc --run",
".v": "v run",
".vsh": "v run",
".sass": "sass --style expanded",
".cu": "cd $dir && nvcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
".ring": "ring",
".sml": "cd $dir && sml $fileName"
},
// Set the executor by glob.
"code-runner.executorMapByGlob": {
"pom.xml": "cd $dir && mvn clean package"
},
// Whether to use the directory of the file to be executed as the working directory.
"code-runner.fileDirectoryAsCwd": false,
// Whether to ignore selection to always run entire file.
"code-runner.ignoreSelection": false,
// Set the mapping of languageId to file extension.
"code-runner.languageIdToFileExtensionMap": {
"bat": ".bat",
"powershell": ".ps1",
"typescript": ".ts"
},
// Whether to preserve focus on code editor after code run is triggered.
"code-runner.preserveFocus": true,
// Whether to respect Shebang to run code.
"code-runner.respectShebang": true,
// Whether to run code in Integrated Terminal.
"code-runner.runInTerminal": false,
// Whether to save all files before running.
"code-runner.saveAllFilesBeforeRun": false,
// Whether to save the current file before running.
"code-runner.saveFileBeforeRun": false,
// Whether to show extra execution message like [Running] ... and [Done] ...
"code-runner.showExecutionMessage": true,
// Whether to show 'Run Code' command in editor context menu.
"code-runner.showRunCommandInEditorContextMenu": true,
// Whether to show 'Run Code' command in explorer context menu.
"code-runner.showRunCommandInExplorerContextMenu": true,
// Whether to show 'Run Code' icon in editor title menu.
"code-runner.showRunIconInEditorTitleMenu": true,
// Whether to show 'Stop code run' icon in the editor title menu when code is running.
"code-runner.showStopIconInEditorTitleMenu": true,
// Temporary file name used in running selected code snippet. When it is set as empty, the file name will be random.
"code-runner.temporaryFileName": "tempCodeRunnerFile",
// For Windows system, replaces the Windows style drive letter in the command with a Unix style root when using a custom shell as the terminal, like Bash or Cgywin. Example: Setting this to '/mnt/' will replace 'C:\path' with '/mnt/c/path'
"code-runner.terminalRoot": ""
},
{
// the trigger effect on the language
"shellformat.effectLanguages": [
"shellscript",
"dockerfile",
"dotenv",
"hosts",
"jvmoptions",
"ignore",
"gitignore",
"properties",
"spring-boot-properties",
"azcli",
"bats"
],
// shfmt -h to see detail usage , example: -p -bn -ci
"shellformat.flag": null,
// the shfmt fullpath example[ mac,linux ] /usr/local/bin/shfmt [windows] C:/bin/shfmt.exe download fron https://github.com/mvdan/sh/releases
"shellformat.path": null,
// Use EditorConfig for shfmt configuration
"shellformat.useEditorConfig": 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": [],
// Path to default Python to use when extension loads up for the first time, no longer used once an interpreter is selected for the workspace. See https://aka.ms/AAfekmf to understand when this is used.
"python.defaultInterpreterPath": "python",
// 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,
// Defines type of the language server.
// - Default: Automatically select a language server: Pylance if installed and available, otherwise fallback to Jedi.
// - Jedi: Use Jedi behind the Language Server Protocol (LSP) as a language server.
// - Pylance: Use Pylance as a language server.
// - None: Disable language server capabilities.
"python.languageServer": "Default",
// 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",
// Optional working directory for linters.
"python.linting.cwd": null,
// 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": [
"**/site-packages/**/*.py",
".vscode/*.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": [
"--follow-imports=silent",
"--ignore-missing-imports",
"--show-column-numbers",
"--no-pretty"
],
// 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.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.pycodestyleArgs": [],
// Severity of pycodestyle message type 'E'.
"python.linting.pycodestyleCategorySeverity.E": "Error",
// Severity of pycodestyle message type 'W'.
"python.linting.pycodestyleCategorySeverity.W": "Warning",
// Whether to lint Python files using pycodestyle
"python.linting.pycodestyleEnabled": false,
// Path to pycodestyle, you can use a custom version of pycodestyle by modifying this setting to include the full path.
"python.linting.pycodestylePath": "pycodestyle",
// 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": false,
// Path to Pylint, you can use a custom version of pylint by modifying this setting to include the full path.
"python.linting.pylintPath": "pylint",
// Path to the pipenv executable to use for activation.
"python.pipenvPath": "pipenv",
// Path to the poetry executable.
"python.poetryPath": "poetry",
// 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 the current Terminal on load of the Extension.
"python.terminal.activateEnvInCurrentTerminal": false,
// 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,
// When launching a python process, whether to focus on the terminal.
"python.terminal.focusAfterLaunch": 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,
// 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
},
{
// Offer auto-import completions.
"python.analysis.autoImportCompletions": true,
// Automatically add common search paths like 'src'.
"python.analysis.autoSearchPaths": true,
// Add parentheses to function completions.
"python.analysis.completeFunctionParens": false,
// Analysis mode for diagnostics.
// - openFilesOnly: Analyzes and reports errors on only open files.
// - workspace: Analyzes and reports errors on all files in the workspace.
"python.analysis.diagnosticMode": "openFilesOnly",
// Allows a user to override the severity levels for individual diagnostics.
"python.analysis.diagnosticSeverityOverrides": {},
// Additional import search resolution paths
"python.analysis.extraPaths": [],
// Index installed third party libraries and user files for language features such as auto-import, add import, workspace symbols and etc.
"python.analysis.indexing": null,
// Enable/disable inlay hints for function return types:
// ```python
// def foo(x:int) ' -> int ':
// return x
// ```
//
"python.analysis.inlayHints.functionReturnTypes": false,
// Enable/disable inlay hints for variable types:
// ```python
// foo ' :list[str] ' = ["a"]
//
// ```
//
"python.analysis.inlayHints.variableTypes": false,
// Specifies the level of logging for the Output panel
"python.analysis.logLevel": "Information",
// Path to directory containing custom type stub files.
"python.analysis.stubPath": "typings",
// Defines the default rule set for type checking.
// - off: Surfaces diagnostics for invalid syntax, unresolved imports, undefined variables.
// - basic: All "off" rules + basic type checking rules.
// - strict: All "off" rules + all type checking rules.
"python.analysis.typeCheckingMode": "off",
// Paths to look for typeshed modules.
"python.analysis.typeshedPaths": [],
// Use library implementations to extract type information when type stub is not present.
"python.analysis.useLibraryCodeForTypes": true
},
{
// After running a cell, add a 'Goto' code lens on the cell. Note, disabling all code lenses disables this code lens as well.
"jupyter.addGotoCodeLenses": true,
// This setting is deprecated and will be removed in the next release.
// Allows a user to import a jupyter notebook into a python file anytime one is opened.
"jupyter.allowImportFromNotebook": true,
// This setting is deprecated and will be removed in the next release.
// Allow the inputting of python code directly into the Interactive window
"jupyter.allowInput": true,
// This setting is deprecated as Live Share support for the interactive window no longer exists in the Jupyter extension.
// Allow the Interactive window to be shared during a Live Share session
"jupyter.allowLiveShare": true,
// Allow for connecting the 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.
"jupyter.allowUnauthorizedRemoteConnection": false,
// Automatically scroll the interactive window to show the output of the last statement executed. If false, the interactive window will only automatically scroll if the bottom of the prior cell is visible.
"jupyter.alwaysScrollOnNewCell": false,
// This setting is deprecated and will be removed in the next release.
// When importing or exporting a Jupyter Notebook add a directory change command to allow relative path loading to work.
"jupyter.changeDirOnImportExport": false,
// Set of commands to put as code lens above a cell.
"jupyter.codeLenses": "jupyter.runcell, jupyter.runallcellsabove, jupyter.debugcell",
// Regular expression used to identify code cells. All code until the next match is considered part of this cell.
"jupyter.codeRegularExpression": "^(#\\s*%%|#\\s*\\<codecell\\>|#\\s*In\\[\\d*?\\]|#\\s*In\\[ \\])",
// This setting has been deprecated, please use `interactiveWindow.collapseCellInputCode` instead.
// Collapse cell input code by default.
"jupyter.collapseCellInputCodeByDefault": true,
// This setting is deprecated and will be removed in an upcoming release.
// Whether or not to use the theme's peek color as the background for the input box.
"jupyter.colorizeInputBox": true,
// Set of debug commands to put as code lens above a cell while debugging.
"jupyter.debugCodeLenses": "jupyter.debugcontinue, jupyter.debugstop, jupyter.debugstepover",
// When debugging, debug just my code.
"jupyter.debugJustMyCode": true,
// Path to debugpy bits for debugging cells.
"jupyter.debugpyDistPath": "",
// Draw a highlight behind the currently active cell.
"jupyter.decorateCells": true,
// Cell marker used for delineating a cell in a python file.
"jupyter.defaultCellMarker": "# %%",
// When true, disables Jupyter from being automatically started for you. You must instead run a cell to start Jupyter.
"jupyter.disableJupyterAutoStart": false,
// Enables moving to the next cell when clicking on a 'Run Cell' code lens.
"jupyter.enableAutoMoveToNextCell": true,
// Enables code lens for 'cells' in a python file.
"jupyter.enableCellCodeLens": true,
// This setting is deprecated and will be removed in the next release.
// Enables scrolling for large cell outputs in the Notebook Editor. This setting does not apply to the Interactive Window.
"jupyter.enableScrollingForCellOutputs": true,
// Enable exporting a python file into a jupyter notebook and run all cells when doing so.
"jupyter.exportWithOutputEnabled": false,
// Generate SVG output for notebook plots. This allows for better display in the plot viewer at the cost of generation speed and file size.
"jupyter.generateSVGPlots": false,
// This setting is deprecated and will be removed in the next release.
// Don't use the VS Code theme in the Interactive window (requires reload of VS Code). This forces the Interactive window to use 'Light +(default light)' and disables matplotlib defaults.
"jupyter.ignoreVscodeTheme": false,
// Behavior of the Interactive Window. 'perFile' will create a new interactive window for every file that runs a cell. 'single' allows a single window. 'multiple' allows the creation of multiple.
"jupyter.interactiveWindowMode": "multiple",
// When a Notebook Editor or Interactive Window Jupyter server is started, these arguments will be passed to it. By default this list is generated by the Jupyter Extension.
"jupyter.jupyterCommandLineArguments": [],
// Amount of time (in ms) to wait for an interrupt before asking to restart the Jupyter kernel.
"jupyter.jupyterInterruptTimeout": 10000,
// Number of times to attempt to connect to the Jupyter Notebook
"jupyter.jupyterLaunchRetries": 3,
// Amount of time (in ms) to wait for the Jupyter Notebook server to start.
"jupyter.jupyterLaunchTimeout": 60000,
// Determines the type of connection for talking to jupyter. Local will start kernels locally. Remote allows for connections to remote servers
"jupyter.jupyterServerType": "",
// List of Jupyter Kernels and/or python environments that are to be excluded from the Kernel picker.
"jupyter.kernels.filter": [],
// Uncomment shell assignments (#!), line magic (#!%) and cell magic (#!%%) when parsing code cells.
"jupyter.magicCommandsAsComments": false,
// Regular expression used to identify markdown cells. All comments after this expression are considered part of the markdown.
"jupyter.markdownRegularExpression": "^(#\\s*%%\\s*\\[markdown\\]|#\\s*\\<markdowncell\\>)",
// This setting is deprecated and will be removed in the next release.
// Maximum size (in pixels) of text output in the Notebook Editor before a scrollbar appears. First enable scrolling for cell outputs in settings.
"jupyter.maxOutputSize": 400,
// Append a new empty cell to an interactive window file on running the currently last cell.
"jupyter.newCellOnRunLast": true,
// Set the root directory for running notebooks and the Interactive window.
"jupyter.notebookFileRoot": "${fileDirname}",
// 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.
"jupyter.remoteDebuggerPort": -1,
// This setting is deprecated and will be removed in the next release.
// Search all installed Python interpreters for a Jupyter installation when starting the Interactive window
"jupyter.searchForJupyter": true,
// When pressing shift+enter, send selected code in a Python file to the Jupyter interactive window as opposed to the Python terminal.
"jupyter.sendSelectionToInteractiveWindow": false,
// This setting is deprecated and will be removed in the next release.
// Show cell input code.
"jupyter.showCellInputCode": true,
// Show the Outline button in the Jupyter notebook toolbar.
"jupyter.showOutlineButtonInNotebookToolbar": true,
// Stop running cells if a cell throws an exception.
"jupyter.stopOnError": true,
// When debugging a cell, stop on the first line.
"jupyter.stopOnFirstLineWhileDebugging": true,
// This setting is deprecated in favor of `notebook.output.textLineLimit`. This setting will be removed in an upcoming release.
// Limit the amount of text in Interactive cell text output to this value. 0 to allow any amount of characters.
"jupyter.textOutputLimit": 20000,
// In the Interactive window and Notebook Editor theme matplotlib outputs to match the VS Code editor theme.
"jupyter.themeMatplotlibPlots": false,
// When running Jupyter locally, create a default empty Jupyter config for the Interactive window
"jupyter.useDefaultConfigForJupyter": true,
// Types to exclude from showing in the Interactive variable explorer
"jupyter.variableExplorerExclude": "module;function;builtin_function_or_method;ABCMeta;type"
},
{
// Speed up completion by building the project once on startup to initialize the cache.
"haxe.buildCompletionCache": true,
// Options for code generation
"haxe.codeGeneration": {},
// Array of switchable configurations for the Haxe completion server. Each configuration is an array of command-line arguments, see item documentation for more details.
"haxe.configurations": [],
// A regex that paths of source files have to match to be included in diagnostics. Defaults to `"${workspaceRoot}"` so only files within your workspace are included. You can use `"${haxelibPath}/<library-name>"` to only show results for a specific haxelib. Use `".*?"` to see all results, including haxelibs.
"haxe.diagnosticsPathFilter": "${workspaceRoot}",
// Use "haxe.configurations" instead
//
"haxe.displayConfigurations": [],
// Integer value for the port to open on the display server, or `"auto"`. Can be used to `--connect` Haxe build commands.
"haxe.displayPort": "auto",
// Haxe completion server configuration
"haxe.displayServer": {},
// Add closing brace at the end of one-line `if/for/while` body expressions
"haxe.enableBraceBodyWrapping": false,
// Enable code lens to show some statistics
"haxe.enableCodeLens": false,
// Use the extension's Haxe server to compile auto-generated tasks. Requires `"haxe.displayPort"` to be set.
"haxe.enableCompilationServer": true,
// Whether a warning popup should be shown if the completion cache build has failed.
"haxe.enableCompletionCacheWarning": true,
// Enable automatic diagnostics of Haxe files, run automatically on open and save.
"haxe.enableDiagnostics": true,
// Align new line brackets with Allman style. Can have typing overhead and is incompatible with the Vim extension.
"haxe.enableExtendedIndentation": false,
// Use "haxe.enableServerView" instead
//
"haxe.enableMethodsView": false,
// Enable the "Haxe Server" view container for performance and cache debugging.
"haxe.enableServerView": false,
// Whether signature help should include documentation or not.
"haxe.enableSignatureHelpDocumentation": true,
// A list of dot paths (packages, modules, types) to exclude from classpath parsing, completion and workspace symbols. Can be useful to improve performance.
"haxe.exclude": [
"zpp_nape"
],
// Path to the Haxe executable or an object containing a Haxe executable configuration
"haxe.executable": "auto",
// Upper limit for the number of completion items that can be shown at once.
"haxe.maxCompletionItems": 1000,
// Options for postfix completion
"haxe.postfixCompletion": {},
// Configures which presentation options to use for generated tasks by default (see `presentation` in `tasks.json`).
"haxe.taskPresentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
// Whether to revert to a Haxe 3 style completion where only toplevel packages and imported types are shown (effectively making it incompatible with auto-imports). *Note:* this setting has no effect with Haxe versions earlier than 4.0.0-rc.4.
"haxe.useLegacyCompletion": false,
// Path to the Haxelib executable
"haxelib.executable": "auto"
},
{
// 选择一个图标包。
// - angular: Angular的图标。
// - angular_ngrx: Angular和ngrx的图标。
// - react: React的图标。
// - react_redux: React和Redux的图标。
// - vue: Vue的图标。
// - vue_vuex: Vue和Vuex的图标。
// - nest: NestJS的图标。
// - none: 没有启用图标包。
"material-icon-theme.activeIconPack": "angular",
// 设置自定义文件图标关联。
"material-icon-theme.files.associations": {},
// 设置自定义文件夹图标关联。
"material-icon-theme.folders.associations": {},
// 更改文件夹图标的颜色。
"material-icon-theme.folders.color": "#90a4ae",
// 设置文件夹图标的类型。
// - specific: 选择特定文件夹图标。
// - classic: 选择经典文件夹图标。
// - none: 没有文件夹图标。
"material-icon-theme.folders.theme": "specific",
// 隐藏该文件夹旁边的箭头。
"material-icon-theme.hidesExplorerArrows": false,
// 定义自定义语言映射的图标。
"material-icon-theme.languages.associations": {},
// 更改图标的透明度。
"material-icon-theme.opacity": 1,
// Change the saturation of the icons.
"material-icon-theme.saturation": 1,
// 显示重启消息。
"material-icon-theme.showReloadMessage": true,
// 更新后显示升级信息。
"material-icon-theme.showUpdateMessage": false,
// 首次安装后显示欢迎信息。
"material-icon-theme.showWelcomeMessage": true
}