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

后端 未结 6 520
有刺的猬
有刺的猬 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:26

    For other people asking you can use the "Files.eol" setting is VSC to change the line ending for every file.

    "Files.eol": "\n" // Unix
    "Files.eol": "\r\n" // Windows
    

提交回复
热议问题