mmj
mmj

Reputation: 5780

Show all consecutive EOLs in VSCode

I tried several extensions and settings, but I was not able to make VSCode show all the EOLs (i.e. the file "as it is"), here is an example of the same few lines of a file as displayed by:

VSCode (unfaithful)

enter image description here

and Notepad++ (faithful)

enter image description here

In general I always prefer to see the file I'm editing "as it is", VSCode has nice colors and styles but it's unreasonable (especially if you deal with TeX) that it hides characters as it likes.

Upvotes: 0

Views: 41

Answers (1)

Luuk
Luuk

Reputation: 14968

I do think the ShowEOL

With setting like:

"showeol.eol.character.crlf": " [CRLF]",
"showeol.eol.character.lf": "[LF]",
"showeol.eol.color": "#229DCA",
"showeol.eof.color": "#229DCA"

give a pretty nice view, and I think the colors can be changed to you likings

enter image description here

EDIT: Multiple consecutive EOL's are rendered as single (according to comment), but how to reproduce this? (Screenshot was taken in Windows11)

enter image description here

Upvotes: 1

Related Questions