Skip to content

SamVerschueren/vscode-final-newline

Repository files navigation

vscode-final-newline Unix Build Status

Inserts a final newline when saving the document.

The EditorConfig extension supports this feature as well. Please take a look at EditorConfig if you want the same behaviour across multiple editors.

Install

Press F1 and narrow down the list commands by typing extension. Pick Extensions: Install Extension.

Simply pick the final-newline extension from the list

Usage

Enable the newline insertion when saving the document in the VSCode Settings.

{
  "files.insertFinalNewline": true
}

License

MIT © Sam Verschueren

About

Inserts a final newline when saving the document.

Resources

License

Stars

Watchers

Forks

Packages

No packages published