Select Symbol
The Select Symbol command selects the entire enclosing symbol. For example, if the current selection is inside of a function, the Select Symbol command selects the whole function, including the lines that precede the function, up to the bottom of the previous symbol.