rokucommunity / vscode-brightscript-language

A Visual Studio Code extension for Roku's BrightScript language
MIT License
110 stars 40 forks source link

implement grow/shrink selection #26

Open georgejecook opened 5 years ago

georgejecook commented 5 years ago

should be fairly trivial given the quick and marvellous bright parser

georgejecook commented 2 years ago

I'd still like this..

chrisdp commented 2 years ago

@georgejecook could you give some more details on what this request is exactly? I'm just not farmilar with what you are referring to myself.

georgejecook commented 2 years ago

sure: https://egghead.io/lessons/vs-code-expand-and-shrink-selection-with-vscode

georgejecook commented 2 years ago

the command has a default implementation; but as you can observe (I keep ressing my hotkey for expand "selection command", from command palette), it doesn't understand roku syntax, like functions, or dotted gets, or call funcs: once it gets outside a (; it expands to the whole line, which is incorrect. expandselection