Visual Studio 2017 vs 2019 - New code line

NachitoMax 416 Reputation points
2021-09-16T14:03:04.41+00:00

Hey

this is probably a menial thing to most but to others (like me), an irritation that hopefully there is a fix for.

2017
when i press enter in coding to go to the next line in the code, the cursor will be placed directly under the indented code
132746-enter01.gif

When i do the same in 2019, the cursor is moved to the margin and not the indentation which, when coding, should remain in the indented section
132770-enter02.gif

is there a setting or a way to change this back to how it should be?

Thanks

Developer technologies | .NET | Other
0 comments No comments
{count} votes

Accepted answer
  1. NachitoMax 416 Reputation points
    2021-09-16T14:11:46.79+00:00

    and for those who have the same issue-

    Tools --> Options --> Text Editor --> Basic --> Tabs --> Indenting = Block (defaulted to none....)

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.