6

What is the equivalent Atom Indent Guides like the one Bracket has showing vertical lines connecting matching beginning/opening and ending/closing brackets or keywords?

4 Answers4

13

Atom supports "Indent Guides" and even names it the same, you can access the configuration by choosing Settings View: Open from the Command Palette or by pressing Ctrl-, (Control + Comma). Scroll about two-thirds of the way down and there is a checkbox to toggle the Indent Guide on or off:

Screenshot of Indent Guides on in Settings

When enabled they look like this in the editor:

Screenshot of Indent Guides

Richard Slater
  • 6,063
  • 4
  • 47
  • 79
2

Also found an "improved" package in Atom if Atom's indent-guide isn't cutting it.

https://atom.io/packages/indent-guide-improved

Repo seems to be updated.

devonj
  • 1,018
  • 1
  • 11
  • 22
  • i like how this highlights the line corresponding to the current mouse cursor scope – ahnbizcad Apr 10 '17 at 17:34
  • how do you install this package? It wasn't very clear to me on the page and I'm new to the atom editor. – Joseph Astrahan Nov 03 '17 at 22:10
  • 1
    @JosephAstrahan On mac (assuming windows has something similar): open atom --> click atom dropdown --> preferences --> click install tab --> in search packages input, type "indent-guide-improved" press enter --> find the indent-guide-improved package and click install. if you have apm cli installed, go to your command line and type "apm install indent-guide-improved" – devonj Nov 03 '17 at 22:40
  • Thanks so much :), this really helped. – Joseph Astrahan Nov 03 '17 at 22:45
2

UPDATE: show indent guide option is now under Editor tab, in settings.

Screenshot:

enter image description here

Exil
  • 367
  • 10
  • 23
  • 2
    Consider updating an existing answer instead of submitting a new one, especially when another answer offers further explanation already. – Eric Pauley Jun 09 '17 at 23:45
0

Haha. I encountered this issue today too. If I understand your question correctly, you want to know how to enable this feature?

Go to preferences/settings and then scroll down and check 'show indent guide'.

Example