I am working with Visual Studio Code to create react native apps. To get a better overview of my code, I would like to collapse specific code blocks. But I want to be able to decide where and what to collapse. For this, it would be really nice if a custom comment combination would trigger a folding button on the sidebar.
For example, if I write //-
instead of only //
at the beginning of a line it should add a collapse button on that line. Is this (or something similar) possible in Visual Studio Code?