简体   繁体   English

如何在Visual Studio emacs模式下禁用绑定到Tab键的“智能插入”功能?

[英]How do I disable the “smart insert” function that is bound to the Tab key in the Visual Studio emacs mode?

In both the Visual Studio emacs mode and the default mode the tab key is bound to Edit.InsertTab. 在Visual Studio emacs模式和默认模式下,tab键都绑定到Edit.InsertTab。 However, in the emacs mode the tab button jumps to where it expects the next line to start instead of inserting a tab. 但是,在emacs模式下,选项卡按钮会跳转到预期下一行开始的位置,而不是插入选项卡。

Is there a way to disable this "smart insert" while keeping the emacs key bindings? 有没有办法在保持emacs键绑定的同时禁用这个“智能插入”?

Man, I found it for you :))) In customization of keyboard shortcuts it is Edit.IncreaseLineIndent. 伙计,我找到了你:)))在键盘快捷键的自定义中,它是Edit.IncreaseLineIndent。

Set your own key and be happy. 设置自己的钥匙,快乐。 (BTW, I cannot set the Tab key explicitly. Even changing CurrentSettings.vssettings did not help. But it is different story...) (顺便说一句,我无法明确设置Tab键。即使更改CurrentSettings.vssettings也无济于事。但这是不同的故事...)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM