gpt4 book ai didi

visual-studio-code - 去掉vscode中文件名后的 "M"标记

转载 作者:行者123 更新时间:2023-12-04 12:29:30 31 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





VSCode: enable or disable editor tabs modified since last git commit, show git status with modified tabs colors

(1 个回答)


7 个月前关闭。




不知道是不是vscode的新功能。但我只想要文件名消失后的“1”标记和“M”标记:
enter image description here
enter image description here
有谁知道怎么关掉?

我检查了我的 setting.json 中的新行,似乎它们与这个问题无关:

"explorer.confirmDelete": false,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"editor.wordWrap": "on",
"files.associations": {
"*.json": "jsonc"
},
"explorer.confirmDragAndDrop": false,
"window.zoomLevel": 1,
"workbench.editorAssociations": [
{
"viewType": "jupyter.notebook.ipynb",
"filenamePattern": "*.ipynb"
}
],
"terminal.integrated.inheritEnv": false,
"python.languageServer": "Pylance",
"markdown.extension.preview.autoShowPreviewToSide": true,
"workbench.sideBar.location": "right",
"files.autoSave": "afterDelay",

最佳答案

对于 Linux 用户:
将此行添加到 vscode 的 settings.json 文件中:

"workbench.editor.decorations.badges":false,

对于 macOS 用户:
那来自 macOS 中的 git gui,您可以通过转到设置并取消选中“启用 git”来禁用它,如下所示:
Screenshot
这样做不会禁用 git cli 的命令行使用,它只会禁用 Vs Code 提供的 GUI 功能,至少就我测试过的而言。

关于visual-studio-code - 去掉vscode中文件名后的 "M"标记,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66913842/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com