How To Enable/Disable Editor Has Code Folding VSCode

  1. Open VS Code.
  2. Click on File.
  3. Then find Preferences -> settings.
  4. Click on the Text Editor in the left side menu.
  5. Locate the Folding Setting.
  6. Check or uncheck the checkmark at Controls whether the editor has code folding enabled.