Visual Studio Code: How to show line endings

前端 未结 4 921
星月不相逢
星月不相逢 2020-11-30 19:06

How can i display lineendings (CR,LF) in Visual Studio Code (not in Visual Studio).

I use following settings, but non of them show the line endings.



        
4条回答
  •  日久生厌
    2020-11-30 19:36

    There's an extension that shows line endings. You can configure the color used, the characters that represent CRLF and LF and a boolean that turns it on and off.

    Name: Line endings 
    Id: jhartell.vscode-line-endings 
    Description: Display line ending characters in vscode 
    Version: 0.1.0 
    Publisher: Johnny Härtell 
    

    VS Marketplace Link

提交回复
热议问题