Hitting Tab in Visual Studio selects block instead of adding indentation

泪湿孤枕 提交于 2019-11-28 09:35:07

Go to Resharper -> Options, in the left treeview select Editor Behavior and uncheck the last option Use Tab/Shift Tab keys for structural navigation.

Update for Resharper 2016.3.1.

Thanks to @Jordan for pointing this out!

This is called Structural Navigation, and is really useful for tabbing between blocks of code, e.g. parameters in a method call/definition - makes it very easy to edit. The behaviour can be changed in the options, under Editor Behaviour. More details in the docs.

Turn it off and use your pointer to "navigate" to the structure you want to edit. That way you can continue to add tabs to your comment blocks until they fix the otherwise useless feature. Somebody over there has too much time on their hands solving non-existent problems, and actually making things worse. They have the comment behavior of this "feature" listed as a bug. Should be fixed by 2018.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!