Excuse me, I use Ms Visual Studio 2010. I try to follow many suggestion at this case, but I am still failed to make this functionality working well.. This is my code, still not formated well:
This is my setting for C#:
should I move to another IDE? I am familiar with intellij idea and netbeans IDE. But that IDE not supported C# Development... Any sugestion?
Thank You
I suspect the problem is in your formatting options.
Under Options / Text Editor / C# / Formatting / Indentation, make sure that the "Indent open and close braces" box is not checked. Your code looks like it's formatted perfectly for a configuration where that box is checked. This is what my set of options looks like for that dialog:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.