Replies: 4 comments 3 replies
-
This seems like it might be a nieche feature to me and usually solveable with |
Beta Was this translation helpful? Give feedback.
-
Thanks for taking the time to reply!
I agree if the community thinks this is useful we should go all the way down. |
Beta Was this translation helpful? Give feedback.
-
I this k you can already do this with |
Beta Was this translation helpful? Give feedback.
-
That's a great way to go to the end/beginning of a function, but what I meant is to select until the end/beginning of the function. Just selecting that part, not the whole function. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently if we are within a word and we use the
w
key, it will select from the cursor until the end of the word.I thought it could be nice if we do the same with the tree sitter move "select next function",
]f
.For instance, in the following function if the cursor is at the end of line1 and we press
]f
, then it will select line2 and line3.If you think it's a good idea and that it’s feasible, I could submit a PR implementing this.
Beta Was this translation helpful? Give feedback.
All reactions