Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.14 KB

Indent Guides for Brackets

An extension for Brackets to show indent guides in the code editor.

How to Install

  1. Select Brackets > File > Install Extension...
  2. Paste https://github.com/lkcampbell/brackets-indent-guides into Extension URL field.
  3. Click on the Install button.

How to Use Extension

Toggle the extension with Brackets > View > Toggle Indent Guides or use the shortcut key which is Ctrl-Alt-I on Windows and Command-Alt-I on Mac.

Known Issues

Empty lines do not display indent guides

This is by design. Empty lines have no indentation; therefore, they have no indent guides. This is the most accurate way to display document indentation information.

There is also a practical problem. This extension currently uses CodeMirror overlays, which do not have the ability to stylize empty lines. If I can solve this problem, I will implement an option to display a "no-gap" version of indent guides. If you have any solution ideas, please post them in the issue list.

License

MIT-licensed -- see main.js for details.

Compatibility

Brackets Sprint 22 or later.