Bookmarks Extension for Brackets

Brackets (also known as Adobe Edge Code) is a great, open-source code editor for web designers and developers. It’s also highly extensible.

Here’s an extension that allows a user to navigate within an open document by using bookmarks.

Brackets Bookmarks: https://github.com/toshsharma/brackets-bookmarks

Installation

  1. Download and unzip the extension’s zip file (https://github.com/toshsharma/brackets-bookmarks/zipball/master), or clone its repo on GitHub
  2. Copy the copied/cloned folder into the Brackets  extensions/user folder. The extensions folder can be found from within Brackets via  Help >  Show Extensions Folder
  3. Restart Brackets: Cmd-R (Mac) or F5 (Win)

Usage

Bookmarks can be set using either keyboard shortcuts or entries under the Navigate menu.

Keyboard Shortcuts

  • Toggle Bookmark: Cmd-F4 (Mac) or Ctrl-F4 (Win)
  • Next Bookmark: F4
  • Previous Bookmark: Shift-F4
  • Clear Bookmarks: Cmd-Shift-F4 (Mac) or Ctrl-Shift-F4

Notes

  • Bookmarks can be set on individual lines (one bookmark per line)
  • Bookmarks are cleared when an open document is updated outside of Brackets (causing the document to be reloaded within Brackets)

Future

  1. Persistent bookmarks (restore bookmarks when files are reopened)
  2. API to let other extensions set/remove/query bookmarks
  3. Bookmarks at specific character positions within lines

Dependencies

  • CodeMirror 3
Share this:
Twitter Email

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*