You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何恢复VSCode命令中心误禁用的返回、前进等按钮?

恢复VSCode命令中心的返回、前进、搜索按钮

方法一:通过图形化设置面板调整

  • 打开VSCode设置:按下Ctrl+,(Windows/Linux)或Cmd+,(Mac),或者点击左下角齿轮图标选择「设置」
  • 在顶部搜索框输入command center,找到对应选项并勾选:
    • Command Center: Back Button:启用返回按钮
    • Command Center: Forward Button:启用前进按钮
    • Command Center: Search Bar:启用搜索栏

方法二:直接修改settings.json配置

  • 打开命令面板:按下Ctrl+Shift+P(Windows/Linux)或Cmd+Shift+P(Mac),输入Preferences: Open Settings (JSON)并回车
  • 在打开的JSON文件中,添加或修改以下配置(确保值为true):
    "commandCenter.backButton": true,
    "commandCenter.forwardButton": true,
    "commandCenter.searchBar": true
    
  • 保存文件后,设置会自动生效,按钮将重新出现在命令中心

内容的提问来源于stack exchange,提问作者Yoko

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.06 23:35:42