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

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

    The accepted answer explains how to do this for all files (use files.eol in settings), but if you ever need to override that setting there's an indicator at the bottom right that you can click on and change for this one file. Took me a while to notice that this was clickable.

提交回复
热议问题