The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,811 other followers

Finding your way in the maze of Atom settings – awarding and frustrating at the same time

Posted by jpluimers on 2017/03/01

The main Atom menu allows you to change both Config and Stylesheet

The main Atom menu allows you to change both Config and Stylesheet

I’ve been using Atom as a text editor on Mac OS X for quite a while now, but never delved into the detailed settings.

Somehow, that version wasn’t the type of program that auto-updates itself, nor notifies the user of new updates (it only did that for outdated packages). This seems to be fixed for Mac OS X, but not yet for Linux.

So I hadn’t noticed my version was really old version, which meant that showing “Invisible” characters like spaces and tabs had a high opacity.

Since Atom is highly hackable, it wasn’t hard to find a solution for the old version, which involved changing config files (also accessible from the menu, see the screenshot on the right):

What struck me is that searching for this kind of information got me directed to solutions for old Atom versions. Apparently my Google-fu isn’t good enough, or Google has trouble estimating relevancy of Atom information.

What helped was looking at this poart of the config.cson file:

  editor:
    invisibles: {}
    showInvisibles: true

Back when searching,

The latter lead me to these interesting pages:

  editor:
    invisibles:
      cr: false
      eol: false
      space: false
      tab: false
    showInvisibles: true

versus

  editor:
    invisibles:
      cr: "↵"
      eol: "¬"
      space: "⋅"
      tab: "⇥"
    showInvisibles: true

These are the symbols I used above:

These are the default symbols:

  editor:
    invisibles:
      cr: "¤"
      eol: "¬"
      space: "·"
      tab: "»"
    showInvisibles: true

Note that the issue that invisible characters in the middle of the line and any punctiation space are hidden is still unresolved: Show all invisible characters · Issue #2572 · atom/atom

–jeroen

via:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: