Tab selects text instead of indenting in Visual Studio

less than 1 minute read

I ran into an annoying phenomena today when I tried indenting some multi-line expression I had in my code. I pressed TAB but instead of indenting, it selected some text. This was driving me mad so I started enabling and disabling extensions (binary search to the rescue) until I isolated the culprit – Resharper.

It turns out that Resharper Ultimate 2016.2 introduced a new Structural navigation feature (enabled by default) that makes tab move text selections instead of indenting when pressed mid-line. I also found out that I wasn’t the first on who complained about it.

Anyway, to disable it simply turn off Structural Navigation in Resharper’s Options (Editor -> Editor Behavior).

Leave a Comment