Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto Convert End Of LineNew to Visual Studio Code? Get it now.
Auto Convert End Of Line

Auto Convert End Of Line

Crend King

|
207 installs
| (0) | Free
Automatically convert files with configured end-of-line sequence
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Automatically convert files with configured end-of-line sequence.

VSCode has two mechanisms of handling end-of-line. The first is the files.eol configuration. This mechanism has effect only on files with no pre-existing EOL sequence. VSCode never do conversion to this configured sequence. The second is the "Change End of Line Sequence" command (ID workbench.action.editor.changeEOL), as well the "Select End of Line Sequence" icon in the status bar. This mechanism converts existing EOL sequence into the user choice, but requires multiple button clickings.

This extension combines the two mechanisms above. Every time a text files is opened, it converts all the EOL sequences into the specific one from the files.eol configuration, and displays an auto-dismissed notification. If no conversion is needed, or if files.eol is configured to be "auto", this extension does nothing.

This extension ignores new untitled files, which are already taken care of by the files.eol configuration.

This extension ignores binary files. However, if user opens a binary file and mark it as one of the text formats, saving it will cause this extension to take effect.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft