Stripping whitespace on format, how to stop?

Hey guise, I know there is an option to make it not strip whitespace on save, but is there anyway to make it not take all the whitespace off when I format?

Thanks
5 comments

Hi Alex,

Please provide more details about the problem (code sample before, after and 'expected after').

Denis

0

Say you have a function

public void foo()
{
     
     doSomething();
     
}

After format, the tabs on the lines before and after doSomething will be removed.
Is there anyway to stop that?

thanks

0

I read this question and actually lost IQ

0

Please sign in to leave a comment.