Replies: 2 comments
-
Thank you to @NikitaRevenco for his PR #12254 which kinda touches on this concept. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm also looking for a way to select a function name under the cursor, the opening parenthesis, and the closing parenthesis to operate on it as one object (multiple cursors). I hardly ever need to operate on an entire function ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone - this idea is two fold:
A) add a new match for function calls (including the parenths and args). For example
wherever the cursor is somewhere on the func call, I should be able to easily select the whole thing like so (bracket is selection):
Right now, it is not possible in one swift motion - requires multiple keystrokes and select mode.
B) I should be able to use the bracket menus to goto next/prev function calls - this is especially useful when dealing with function call chains:
Ideally I can do
[-goto-prev-call
when my cursor is at the end of the line and am able to select entire calls down the chain (function name, parenths, and arguments) and can performd
,c
, etc on them.The syntax tree traversal does not really allow for either of these cases.
Beta Was this translation helpful? Give feedback.
All reactions