Excluding keyboard shortcuts, folded regions in VSCode can be unfolded by clicking on one of three places:
- [+] button in the gutter area
- The "..." immediately preceding the last character of the first line of code in that region
- Anywhere in the blank area to the right of the "..."
Is it possible to write an extension that disables the last one? I tend to randomly click around in my code while I'm thinking which leads to unintentionally unfolding regions of code and loosing my spot.