Community
Participate
Working Groups
Consider the case of an "if-else" statement, or an "if-else if-else" statement with one or more "else if" clauses. The C/C++ editor in the Kepler release will fold just the current pair of braces within the entire statement, i.e. just the "if", or just one "else if" or just the "else". It would be useful to be able to fold the entire "if-else" statement, including the "if" block, all "if-else" blocks and the "else" block from the "if" statement. Further it would also be useful to be able to fold the entire "if-else" statement from the end brace as well as the beginning "if".
To clarify: do you suggest changing the existing behaviour of clicking on the [-] next to the braces in an "if-else" statement, or adding some new UI with the new behaviour?