开发者

Resharper indentation

开发者 https://www.devze.com 2023-01-17 17:56 出处:网络
How do I change the basic Resharper indentation options? I have noticed that Resharper\'s indentation settings differ 开发者_JAVA百科from VS 2010\'s--VS uses four spaces for an indent, and it\'s hard

How do I change the basic Resharper indentation options? I have noticed that Resharper's indentation settings differ 开发者_JAVA百科from VS 2010's--VS uses four spaces for an indent, and it's hard to tell what Resharper uses--but the left margins on my code are jagged.

I'd like to reset Resharper to use the same settings as VS 2010, but I can't find the options.

Where can these be found?


Okay--I figured this one out: Resharper uses the Visual Studio tab settings when reformatting, so the inconsistency I am getting must have another source.


Open ReSharper > Options > [Your language] > Formatting style > Other and try playing with options in sections called "Indentation" and "Other"

0

精彩评论

暂无评论...
验证码 换一张
取 消