Skip to content
← Back to Community
Shortcut for Collapsing and Expanding Code Blocks
Profile icon
StefanGisi

Hi,

After starting a new job recently after I had to start using Visual Studio. I don't know anything aboujt Visual Studio because I always use Repl.it's IDE.

One great feature I noticed was the CTRL+M+O and CTRL+L+O keyboard shortcuts that allow you to collapse and expand all code blocks.

It would be great if Repl.it had a feature like this.

Thanks,

Stefan

Voters
Profile icon
StefanGisi
Profile icon
Saakshim
Profile icon
HariShri
Profile icon
zuw
Profile icon
RaulPena
Profile icon
HudsonU
Profile icon
AbuAlAsif1
Profile icon
NathanCodes
Profile icon
JamesCamfield
Comments
hotnewtop
Profile icon
FELIXHB

None of these work!

Profile icon
FELIXHB

I tried them all!

Profile icon
Geocube101

They do
Pressing "F1" will reveal some shortcuts for repl.it
Scroll down to fold for shortcuts on collapsing code

Profile icon
seemayer

Ctrl + K + Ctrl 0 - to collapse/fold
Ctrl + K + Ctrl J - to expand/unfold

Profile icon
TanishqKumar2

@seemayer
Thank you, just to be clear it's Ctrl+K+0 and Ctrl+K+J
not them separately

Profile icon
ash15khng

Press Ctrl+Shift+P and there's a big menu of cool shortcuts you can use!

Profile icon
netarangi

@ash15khng

chur bro

Profile icon
StefanGisi