- Open VS Code.
- Click on File.
- Then find Preferences -> settings.
- Click on the Text Editor in the left side menu.
- Locate the Unfold On Click After End Of Line Setting.
- Check or uncheck: Controls whether clicking on the empty content after a folded line will unfold the line.