- Open VS Code.
- Click on File.
- Then find Preferences -> settings.
- Click on the Text Editor in the left side menu.
- Locate the Folding Setting.
- Check or uncheck the checkmark at Controls whether the editor has code folding enabled.
How To Enable/Disable Editor Has Code Folding VSCode
Related Guides