Showing

[비쥬얼스튜디오] 자주쓰는 단축키 모음 본문

Today I Learned (TIL)

[비쥬얼스튜디오] 자주쓰는 단축키 모음

RabbitCode 2023. 12. 29. 17:17

CTRL  + M

O

 will collapse all.

CTRL  + M 

L

 will expand all. (in VS 2013 - Toggle All outlining)

CTRL + M + M  현재 커서를 포함하는 포인트를 접거나 펼치는 기능

CTRL  + shift : 라인 다중 선택

CTRL  + X : 잘라내기

alt : 코드 이동

 

visual studio - Command to collapse all sections of code? - Stack Overflow

 

Command to collapse all sections of code?

In Visual Studio, is there a command to collapse/expand all the sections of code in a file?

stackoverflow.com

 

CTRL + M + O will collapse all.

CTRL + M + L will expand all. (in VS 2013 - Toggle All outlining)

CTRL + M + P will expand all and disable outlining.

CTRL + M + M will collapse/expand the current section.

CTRL + M + A will collapse all even in Html files.

These controls are also in the context menu under Outlining.

Right click in editor -> Outlining to find these controls. (After disabling outlining, use same steps to enable outlining.)

For outlining options: Go to Tools -> Options -> Text Editor -> C# -> Advanced -> Outlining for outlining options.