How To Enable/Disable Insert Final Newline VSCode

YouTube video
  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. Then Click on Files.
  6. Locate the Insert Final Newline Setting.
  7. Check or Uncheck: When enabled, insert a final new line at the end of the file when saving it.

Related Guides