If I have
class A
{
int a;
int b;
}
Is there a way for resharper to reformat this code on "code cleanup" action to the following?
class A
{
int a, b;
}
There is no way to do it in ReSharper because this is considered a bad style. See Why do you not declare several variables of the same type on the same line? and Declaring Multiple Variables in JavaScript