How do I hide sections of code?


#1

Hi,

Is it possible to hide sections of code? I am working in a rather large CSS file and I’d like to ‘fold’ (not sure if that’s the correct term) up some of the code so it’s not as long to work in.

Thanks!


#2

If you hover over the gutter with the line numbers, you’ll see upside-down carets. Click them and the code folds. There are also folding commands in the Command Palette.