Skip to content

Extend show-whitespaces to show mixed line endings #3121

@qaisjp

Description

@qaisjp

It would be good if #2073 could be extended to show CRLF / LF indicators if the file has mixed line endings. (Ew!)

It could look like how bat shows non-printable characters:

image

(Compare line 10 and line 11. Ignore the rest of the screenshot, this feature proposal is just about line endings. Not other non-printable characters.)

Why?

The current show-whitespaces feature has been fantastic in stopping tabs appears where they shouldn't (.editorconfig helps, but not everyone uses an IDE that supports it).

This feature will stop pesky CRLFs appearing where we don't want them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions