VSB
VSB

Reputation: 10405

Vistual Studio 2019: Shortcut key to collapse this method only

How can I collapse only current method which cursor is currently located in its block inside VS2019(Windows)?

I know about Ctrl+M,Ctrl+O but I want shortcut for to collapse only one method not more.

Upvotes: 2

Views: 172

Answers (4)

Hari
Hari

Reputation: 134

please use below shortcut to collapse one method CTL+M+M

Upvotes: 3

Ved
Ved

Reputation: 746

you can use ctrl + shift + [, this might work

Upvotes: -2

Aviternus
Aviternus

Reputation: 45

CTL+M+M collapses only the method that your cursor is blinking on. This other thread has more information on Visual Studio shortcuts.

Upvotes: 0

mohammad dardaei
mohammad dardaei

Reputation: 104

you can use Ctrl+M+M, resolve your problem

Upvotes: 0

Related Questions