Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can make a video but I think you can figure it out.

1) CB needs to know the file type because it inserts comments and those need to be of the right kind. So you need to have your file saved first.

2) Select a couple of lines of text, like a function or a class and click "Insert Section" in the edit menu. This will fold the selected text and collapse it to a single line.

3) Click "Child section" in the Go menu while the caret is on the folded line to go into the new section, and "Parent section" to go back.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: