0

Fix code folding

Brent Lewis 5 months ago 0

The code folding sucks, but it should at least fold all the way up to the line where the indentation has fully moved back. Right now, it ends the fold at the first line with less indentation than second line. The best fix would be syntax aware, but this is low hanging fruit.

▼ void myFunc(
           int paramA) {

        doStuff();

    }

Becomes:

▲ void myFunc(

        doStuff();

    }

But it should be:

▲ void myFunc(