ColdFusion
ColdFusion copied to clipboard
"Expand selection to scope" in cffunction
Hi!
It would be really cool if "Expand selection to scope" can correctly expand selection to a cffunction body. Now it selects the entire cfc body.
Also, "Expand to indentation" malforms if meets a coldfusion comment. No content is selected to the other side of cursor (lower lines is the cursor is above the comment and vice versa).
Thank you
I don't know if I can fix this. But, I'll look into it when I get back on Monday.
Thanks.
So okay, it would be really cool, but it looks like expand_selection command is closed source, so I would have to rewrite the feature and override the default key bindings to make fixes.
I think ctrl+shift+a expand_selection to tag would be better suited to select the contents of a cffunction tag anyway. I'll keep this open. If I can get some feedback on implementation sometime I'll update this. Of course, pull requests are also welcomed. Edit: expand_selection to indentation is working for me. A code example for your problem would be great.
Unfortunately, expand to tag also behaves weird. I cannot even descrive what does it do. But definitelly does not select the body.
I think I can use expand to indentation.
Anyway, thanks for your response.