Home
Options

5.06 beta - C# expression auto-formatting does not respect "Convert tabs to spaces" setting

repro:

- turn on "Convert tabs to spaces" in edit -> preferences -> advanced
- create a C# expression query and type a query that includes indentation (4 spaces)

example:
from i in new[] { 1, 2, 3 }
select new
{
    i
}

- move cursor around to show the indentation is via 4 spaces
- on the indented line, hit control-x to cut the line then control-v to paste it
- move cursor around to see the indentation is now a tab character

Comments

Sign In or Register to comment.