by kristiandupont · 7y ago · 0 comments
Sadly, I have not been able to convince anyone to use it in a team setting and on top of that, it is a very primitive code editor. There is some syntax highlighting and that's basically it. No VIM bindings and no IDE-like features. So I now use it as my org-mode text editor, with the occasional link to code or config files here and there, which works well.
screenshot: https://johan.webide.se/nofold.png
It might bee too obvious. If it's not too much to ask, could you make a video of how it works ? I'm working on a editor/IDE and would like to get a feel of how it works and how to best implement it, before actually implementing it.
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.