Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a command for "Show Invisibles" in Atom?

Tags:

Is there a command available to key mapping for toggling the display of invisibles in the Atom editor. A Show/Hide Invisibles command?

Where would I go to look for such a command?

like image 893
Bob Rockefeller Avatar asked Apr 05 '14 17:04

Bob Rockefeller


People also ask

How do you show invisibles in an Atom?

Displaying Invisible Characters in Atom To display spaces, tabs and linebreaks in Atom, you'll need to go to “Settings” -> “Editor” and then scroll down until you find the “Show Invisibles” option.

Is there a command line in Atom?

Another way to open a file in Atom is from the command line using the atom command. The Atom menu bar has a command named "Install Shell Commands" which installs the atom and apm commands if Atom wasn't able to install them itself.

How do I look at code in Atom?

To search within your current file you can press Ctrl+F , type in a search string and press Enter (or F3 or the "Find Next" button) multiple times to cycle through all the matches in that file. Alt+Enter will find all occurences of the search string.


2 Answers

YES

For Linux and Windows:
1) hit Ctrl+Shift+P and type keymap
2) select Application: open your keymap and add the following 2 lines to that file:

'body':   'shift-ctrl-i': 'window:toggle-invisibles' 

Or any non-conflicting keystroke combination of your liking instead of shift-ctrl-i.


Note
For further detail, read documentation on CSON fromat (season) and atom-editor's implementaton of cson.

like image 166
JorgeArtware Avatar answered Nov 24 '22 12:11

JorgeArtware


You can open the Command Palette (Cmd + Shift + P) and search for the Window: Toggle Invisibles command. Selecting that command should toggle invisibles on/off.

like image 36
keeganwatkins Avatar answered Nov 24 '22 12:11

keeganwatkins