Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 6.0.0
-
None
Description
below, i will say "braces", but i mean either braces, parentheses, or brackets.
as a programmer, i often want to "select enclosing braces", because i want to see the full scope surrounding where the caret currently is. i wish this function to select-all text between the enclosing braces, including the braces themselves
eg: i click inside a scope, then press the keyboard shortcut for "balance", and the text surrounding the caret is selected out to the closest braces, in both directions. i can then press left arrow to get to the beginning or right arrow to get to the end. OR i could hit "balance" again, and it would then select the next outer scope, and keep hitting the "balance" key shortcut to eventually get to the braces that enclose the function i'm in.
this is a very different workflow than "select from here to previous brace", which is of much less use than one that selects both backward AND forward.