Robert-Paul Hoving Robert-Paul Hoving -4 years ago 61
C# Question

Enter in text editor set cursor at begin of line instead of tabs

I have a strange behaviour with VS2015.

In C# code (the file is .cs) when I hit the enter, the cursor will always begin on position 0 of the next line. No tabs will be inserted to push the cursor to the same position of the previous line where code started.

public class Fake
public void Test() (here I hit enter)
{ <-- no tabs are automatic inserted before {


I have done: repair VS2015, Reset user Environment settings VS.

Someone an idea to reset the behaviour to default C# text editor?

Answer Source

Find the parameter - /ResetUserData - which Removes all user settings and makes you set them again. From

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download