Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
None
-
None
Description
It would be "really nice" if while editing source code, a block closing statement indicates to the user the statement that opened the block, if the block is longer than, say, 5 lines.
For if-statements, it would look like this:
if (m_skyIsStillBlue) {
watchBirds();
fishFish();
somethingElse();
} closes if (m_skyIsStillBlue){}
where "closes if (m_skyIsStillBlue)" is one of those nifty prompts that appear automagically, often indicating a likely compile-time error or warning.
Similarly for #if:
#if Q_OS_WASM
blah
more blah
#endif closes #if Q_OS_WASM