How to make all line endings (EOLs) in all files in Visual Studio Code, UNIX like?

后端 未结 6 573
有刺的猬
有刺的猬 2021-01-01 08:36

I use Windows 10 home and I usually use Visual Studio Code (VSCODE) to edit Linux Bash scripts as well as PHP and JavaScript.

I don\'t develop anything dedicated for

6条回答
  •  长情又很酷
    2021-01-01 09:30

    You can find the option in vscode settings. It's under "Text Editor" > "Files" > "Eol". Here you can select whether you want \n or \r\n or auto.

提交回复
热议问题