visual-studio-code - How to remove this annoying Push Changes button in vscode?
问题描述
It wasn't there before, for something reason it appeared in my vscode recently, maybe after an update.
So anyone knows how to remove these buttons?
Thanks
解决方案
1.61 的 Visual Studio 代码更改日志已涵盖:
https ://code.visualstudio.com/updates/v1_61#_publish-or-sync-action-button-for-git-repositories
引用最后一节:
git.showUnpublishedCommitsButton
用户可以通过配置设置来自定义此行为,
...
最后,用户可以通过新设置完全禁用源代码管理视图中任何操作按钮的可见性,该scm.showActionButton
设置会覆盖任何源代码管理扩展程序的行为。
例如,查看“设置 > 功能 > SCM > 显示操作按钮”或showActionButton
在“搜索设置”字段中搜索。
我不知道为什么按钮没有显示给我,所以我无法确认它是正确的设置 - 但这应该是您正在寻找的。
推荐阅读
- project-online - 将项目站点模板分配给 EPT
- angular - 在 Angular 6 中使用 MorrisJs 的点击事件
- node.js - 如何在 GitHub 中发布和托管 MEAN 堆栈项目
- ios - 将 OneSignal 插件添加到 Flutter 项目时出错
- sap-iq - Sybase 中的日期时间转换
- php - 如何将 PHP 变量插入 SQL 查询
- android-fragmentactivity - 我似乎无法访问覆盖方法中的值(自定义侦听器)
- javascript - 在javascript中导入函数
- r - 在 R 中使用 saveRDS() 时出现 NullPointerException
- java - Java struts recaptcha v2 无法正常工作