windwp / vscode-expand-region

porting sublime-expand-region to visual code
GNU General Public License v3.0
57 stars 23 forks source link

Selection expands to the => operator when cursor is within Typescript's arrow functions #21

Open patricio-ezequiel-hondagneu-roig opened 6 years ago

patricio-ezequiel-hondagneu-roig commented 6 years ago

Whenever the cursor is within an arrow function like this:

( args ) => {
    statement1;
    statement2;
}

When I expand the selection outward after selecting the expression block within the braces, the next scope it selects is from the middle of the symbols = and > in the arrow operator, instead of the whole arrow function.