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
0
Avatar
Permanently deleted user

Hi Alex,

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

Denis

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

No

0
Avatar
Permanently deleted user

aww, thats too bad :<

0
Avatar
Permanently deleted user

I read this question and actually lost IQ

0

请先登录再写评论。