Open
Description
When I'm handling a lot of if
statements or switch
cases, I often find myself either not knowing which function I'm in when dealing with others' codebases (outer), or which if
/switch
statement I'm in (inner). I'd love to see a feature to remove the context in the center, leaving only the appropriate number of inner and outer context lines, depending on how nested the code is, or how many if
/switch
statements there are and obviously the value of max_lines
.