Jump to content
Registration disabled at the moment Read more... ×
PeterPanettone

Select the entire procedure/function?

Recommended Posts

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
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×