Open RLesser opened 2 years ago
I think this is happening with any instance field, right? Does it work if you have:
class Test {
foo = 1;
constructor() {
const veryLongVariableNameRepresenting1 = 1;
const veryLongVariableNameRepresenting2 = 2;
// intially written as a single line
const veryLongVariableNameRepresenting3 = veryLongVariableNameRepresenting1 + veryLongVariableNameRepresenting2;
}
}
Yep, happening with any instance field, not just private. Good catch!
Describe the bug When a cell contains a class, and that class contains private class features, formatting seems to stop working.
To Reproduce Steps to reproduce the behavior:
Expected behavior The last line should be reformatted into two lines.
Desktop (please complete the following information):