Brackets Extensions - adobe-research/brackets GitHub Wiki

Installing Extensions

As of Sprint 22, you can install an extension directly within the Brackets UI: just Select File > Install Extension and provide a URL to a GitHub repo or a ZIP file. (To install most of the extensions below, just right click its link, copy the URL and then paste into the Install Extension dialog.)

Extensions will start up right away after they're installed.

Updating and Removing Extensions

Removing an extension or updating it to a new version is still a little more manual. Select Help > Show Extensions Folder and delete the extension folder in question. Restart Brackets to fully remove the extension. Then you can install a newer copy using the steps above.

Extensions List

Here's a list of extensions that people have built.

If you've written an extension – even just as an experiment – please feel free to edit this page directly and add it (with some indication of what state it's in), and post to the brackets-dev Google Group to let the community know about it.

Also be sure to use the Brackets Shortcuts page to see which shortcuts are available and also to add the shortcuts that you have used. Thanks!

Editing & Navigation

Snippets & Shorthand

Formatting

  • Minifier: Minifies JavaScript and CSS files using Google Closure Compiler (JS) and YUI (CSS). Working but under development.
  • String Convert: Provides shortcuts for modifying and encoding strings within the editor.
  • Show Whitespace: Visualizes spaces and tabs
  • TabToSpace: Converts indentation to tabs or spaces
  • Auto Formatter: Auto formatter for XML/HTML, CSS, JavaScript files.
  • Auto Indent: Indent automatically for whole file.
  • Beautify: Beautify HTML, CSS, and Javascript (uses js-beautify)
  • Remove Trailing Spaces: Removes unnecessary whitespace when saving files.
  • Whitespace Normalizer: Trims trailing whitespaces, transforms tabs to spaces and adds newline at the last line when saving files.

Code Generation

  • App Cache Buddy: Generate and validate application cache manifests.
  • Annotate: Generates JSDoc annotations for your functions

Language Support

  • PHP: adds PHP function definition support to QuickOpen search
  • TypeScript Code Intel: Adds TypeScript support in Brackets (Auto-completion, Quick Edit and more soon).

General Functionality

  • Tabs: Show tabs in place of title when sidebar is hidden
  • Extension Manager: Install, Remove, and upgrade your extensions from the cloud from inside Brackets (requires node).
  • Extension Toolkit An extension to make building Brackets extensions easier.
  • Related Files: Discovers and allows you to open related files in your project.
  • File Navigation Shortcuts: shortcuts for switching to next/previous editor (non-MRU order), and a version of Quick Open scoped to only open files.
  • Brackets Commands Guide: Search and execute commands by typing part of their name, similar to Quicksilver (or Sublime's Ctrl+Shift+P or Eclipse's Ctrl+3).
  • Open Containing Folder: Opens folder containing current file or a file/folder in Sidebar. Added keyboard shortcut CTRL+ALT+O for opening folder containing document opened in editor.
  • [Themes] (https://github.com/MiguelCastillo/Brackets-Themes): CodeMirror themes for brackets from the main menu.

Live Development

  • Debugger: Brackets Debugger for the Live Development browser.
  • Everyscrub: Everything's a scrubber! Cmd/Ctrl + drag on any number or hex color to scrub its value and update the browser in real time.
  • Reload in Browser: Adds a toolbar button and shortcut to reload the page in the browser
  • V8/Node Live Development: Updates scripts running in Node.js as you type
  • Evaluate Clojure Expressions: Select any expression and evaluate it in wrepl

Visual Editing

  • Edge Web Fonts: Browse free fonts from the Edge Web Fonts collection, with thumbnails. Activated via CSS code hints for font-family.
  • Hover Preview: Displays a preview when hovering over a color value, gradient, or image filename.
  • CSS Exclusion Shape Viewer: Quick Edit on an exclusion shape definition in CSS displays the shape.
  • SVG Preview: Live preview SVG files in an inline panel while you edit them.
  • Markdown Preview: Live preview of Markdown files, updated as the document is edited.

External Tools & Online Content

  • (See also Minifier above).
  • [BracketLESS] (https://github.com/olsgreen/BracketLESS): Compiles LESS files to CSS on save
  • GitHub: Implements the GitHub API, including oAuth. Currently functionality limited to Gists.
  • GitHubAccess: Implements the Full GitHub API, but is just in an early prototype state
  • ToGist: Create an anonymous gist from the current selection.
  • Open File from URL: Opens any href and rel atribute urls in editor on ALT+0 shortcut. Currently works only with existing files.
  • PageSuck: prompts for a URL and pulls that page's HTML directly into the editor as a new file
  • PhoneGap Extension for Brackets: Manage PhoneGap Build projects from Brackets.
  • (See also Prefixr above).
  • Ant for Brackets: Launch any target in your ant files. (Uses Node. Requires Brackets Sprint 21 or greater)

Documentation

  • CanIUse: An inline viewer of CanIUse.com support data.
  • Display Shortcuts: Display Shortcuts defined to Brackets.
  • MDNLookup: Includes a way of creating an extensions toolbar and adding buttons to the toolbar with callbacks.

Linting & Warnings

Testing & Code Metrics

  • complexityReport.js: A Brackets extension that enables phil booth's complexityReport.js tool. Displays complexity statistics on a per-function and aggregate basis.
  • Jasmine: Runs the Jasmine-node unit test tool against the current file.
  • TestQuickly: simple extension to run unit tests with a keystroke (handy for Brackets core and extension developers)
  • xUnit: extension to run current buffer as a javascript unit test with right click (supports jasmine, yui3, qUnit, more coming soon...)

Deprecated Extensions

  • JavaScript Code Hints: Code hinting (aka autocompletion) for JavaScript files in Brackets. (Merged into Brackets as of Sprint 21).
  • Color Editor: Quick Edit on a hex/rgb/hsl color opens an inline color picker, plus a listing of all colors used in the file. (Merged into Brackets as of Sprint 17).
  • Color Picker: Quick Edit on a hex color opens an inline color picker. (A color picker is built into Brackets as of Sprint 17).
  • Editor Shortcuts: Keyboard shortcut to delete line. (This command is built into Brackets as of Sprint 15).
⚠️ **GitHub.com Fallback** ⚠️