20

If I choose Show Invisibles in Atom settings, then all invisible characters become visible:

enter image description here

I would like to hide EOLs, because they pollute the view.

Is this achievable?

Joe
  • 29,416
  • 12
  • 68
  • 88
imkost
  • 8,033
  • 7
  • 29
  • 47

1 Answers1

24

There is no ui-option for this, but it is achievable via Atom config:

"*":
  editor:
    invisibles:
      eol: false

Also you can hide tabs and spaces if you want:

"*":
  editor:
    invisibles:
      eol: false
      tab: false
      space: false

UPDATE

Atom has been changed since the original answer, and now it has UI to config invisibles:

Invisibles menu block

imkost
  • 8,033
  • 7
  • 29
  • 47
  • 1
    Found, you should also hide "cr" - cr: false – marisks Feb 14 '16 at 08:03
  • @imkost how do you get to that ui panel? – captDaylight Jul 08 '16 at 22:24
  • 1
    weird bug in 1.9.9, you have to have both eol and cr set to false, otherwise it just prints the word false at each line break – worc Aug 26 '16 at 02:19
  • 1
    I can see these options, but they aren't working for me. – Ryan Nov 11 '16 at 18:09
  • Using 1.16.0. There are options to change the character for each type of whitespace, but no individual checkboxes to (temporarily) disable each type, only a master checkbox for all invisibles. Annoying when sometimes you only want to be alerted about tabs usage and don't care about other whitespace. Manually editing config.cson did the trick though, so thanks @imkost. – JHH May 22 '17 at 09:44
  • 1
    There is no ui-option for this in Windows 10 64-bit version but as mentioned in the answer it is achievable via Atom config but a little tweak is needed. The boolean value doesn't work. Had to add `eol: ''` instead of `eol: false`. With the latter value `false` started appearing as EOL char. `cr: ''` also worked for me by hiding the CR characters. Thanks for this blog post http://www.dangtrinh.com/2015/02/show-invisible-characters-in-atom.html for the tweak. – Jignesh Gohel Aug 07 '17 at 12:08