且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Visual Studio代码中自定义触摸栏?

更新时间:2023-02-01 22:07:01

我也一直遇到这个问题,这很令人沮丧.我很欣赏通过扩展进行自定义的能力,但我真的很喜欢普遍(或几乎)提供的拖放机制,而该机制在这里没有.

I kept running into this issue as well and it was quite frustrating. I appreciate the ability to customize via an extension, but I really like the drag-and-drop mechanism provided universally (or nearly) that is missing here.

结果,我最终通过以下操作禁用了VS Code中的触摸栏:

As a result, I ended up disabling the touch bar within VS Code by going to:

Code -> Preferences -> Settings

然后:

Application -> Keyboard

在那里您将找到用于在macOS上启用/禁用触摸栏的复选框.希望这可以帮助其他人快速发现它!

There you will find the checkbox for enabling/disabling the touch bar on macOS. Hope this helps someone else discover it quickly!