Jump to content
PeterPanettone

Select the entire procedure/function?

Recommended Posts

Posted (edited)

Regardless of the caret position within a procedure/function, how can I use a keyboard shortcut to select the entire procedure function?

 

I am aware of the Ctrl+W: Select nearest block keyboard shortcut. However, a shortcut to select the whole procedure/function in one single action would be handy.

Edited by PeterPanettone

Share this post


Link to post

I collapse the function/procedure and so seemingly copy "just one" line.

  • Thanks 1

Share this post


Link to post
24 minutes ago, Stano said:

I collapse the function/procedure and so seemingly copy "just one" line.

Thanks. That's an excellent idea!

 

But for this, you have to go to the procedure/function header. A shortcut that works from any location inside the procedure/function would still be handy.

Share this post


Link to post
Posted (edited)
1 hour ago, Uwe Raabe said:

Try Ctrl-Shift-K-T

Thanks. This collapses/expands the current code region.

 

A simple and easy command to achieve the selection would be very handy.

Edited by PeterPanettone

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×