Gohyu
Gohyu

Reputation: 478

Visual Studio - how to set auto new line

Where in Visual Studio do I set the option to automatically add a new line?

Upvotes: 5

Views: 7702

Answers (1)

adrianbanks
adrianbanks

Reputation: 82934

That isn't an automatic new line, it is showing you that the editor has word-wrapped the content onto the next line.

You can turn it off in the options in Visual Studio. To do so, go to Tools -> Options -> Text Editor -> All Languages -> General (you can also do it for a specific language as well).

You currently have word wrap turned on, as well as the visual glyph (the little green arrow in your screenshot).

Upvotes: 13

Related Questions