ReSharper 9.2 not respecting HTML tab indent size from VS Options when editing Razor

Visual Studio doesn't have any text editing options specific to Razor, and it picks up the tab indent size value from the HTML options. I have those set to indent by 2 spaces and everything else set to 4 spaces, and that works fine when ReSharper is disabled. When ReSharper is enabled however, it indents anything inside a Razor C# code block by 4 spaces, suggesting that it is trying to use the indent size from the C# tab size options, in contradiction to Visual Studio's default behaviour.

This is a bug and should be fixed.

1 comment
Comment actions Permalink

Nathan, it works fine for we.
What settings do you have in Code Editing | General Formatter Style, How to indent multi-language files.


Please sign in to leave a comment.