Cleanup Code to only change spacing from 2 characters to 4

Hello everyone

I know ReSharper has a Cleanup Code function that does a clean up based on a bunch of rules.

I've created a custom Cleanup profile and unticked everything, but I can't see an option to fix spacing, unless it is called something else?

How can I get ReSharper to fix the spacing for all my files from 2 spaces to 4? But only spacing, nothing else.

I'd greatly appreciate some help.

Thank you.

3 comments
Comment actions Permalink
Official comment

Hello Jwan,

 

Cleanup code provides an option of fixing all formatting issues, there's no way to fix only indentation issues.

Here's request regarding an option that could fix indentation problem in a scope of file/project/solution - https://youtrack.jetbrains.com/issue/RSRP-475195.

You are welcome to comment or vote for it.

Thank you.

Comment actions Permalink

Hi Angelina

 

Can you please link to the issue? I can't see it.

0
Comment actions Permalink

Hello Jwan,

 

Please accept my apologies for incomplete information.

I've updated my previous post with the link.

Thank you.

0

Please sign in to leave a comment.