Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Release Notes: Sprint 25

Glenn Ruehle edited this page · 17 revisions
Clone this wiki locally

What's New in Sprint 25

Full change logs: brackets and brackets-shell

UI Changes

New visual design for Quick Open / Quick Find Definition, JSLint panel, and Find in Files results panel.

API Changes

Extension package format - All extensions should now include a package.json file with descriptive metadata. See Extension package format for details. Extensions that omit package.json will still work, but won't look very nice in the new Extension Manager dialog. (Down the road, package.json will become required though).

Adding panels -

  • To add a resizable panel below the editor, use PanelManager.createBottomPanel(). The previous approach (insert DOM node manually, then call Resizer.makeResizable()) still works, but is deprecated.
  • To show/hide a panel, use Resizer's APIs or the Panel object returned by PanelManager. Again, the old approach (call jQuery show()/hide(), then call EditorManager.resizeEditor()) still works for now, but is deprecated.

ProjectManager - Previously, ProjectManager.getSelectedItem() returned null when the selection highlight was in the working set instead of the file tree. Now it returns whatever file/folder is selected anywhere in the sidebar (working set or file tree). (Note that is may still return null in some cases when a current document is open - for example if a Find in Files result was clicked and the opened file is not visible anywhere in the sidebar, the sidebar will have no selection).

QuickOpen - The search heuristic no longer automatically applies special weighting when items look like a path. Quick Open providers can switch back to the path-oriented behavior by supplying matcherOptions: { segmentedSearch: true } in the settings passed to addQuickOpenPlugin().

Sidebar show/hide - SidebarView.toggleSidebar() was renamed to toggle(). Added new show(), hide(), and isVisible() methods.

New/Improved Extensibility APIs

QuickOpen / StringMatch - In addition to the segmentedSearch option described above, Quick Open providers can also specify matcherOptions: { preferPrefixMatches: true } to give additional weighting when the search text is an exact prefix of some results. The same options can be passed to the raw StringMatch API as a constructor argument. (Prefix weighting is useful for sorting code hint matches, for example – which would typically use a raw StringMatcher for sorting).

Font size event - ViewCommandHandlers dispatches a "fontSizeChange" event whenever the editor font size is changed by the user.

showOSFolder() - The existing brackets.app.showOSFolder() API can now be passed a file instead of a folder. It will open the containing folder with that file pre-selected.

Known Issues

  • Mountain Lion (OS X 10.8) by default will not allow Brackets to run since it's not digitally signed yet. To work around this, right click the Brackets app and choose Open. You only need to do that once -- afterward, launching Brackets the normal way will work also.
  • #2272: Windows Vista may not allow the Brackets installer to run (you may not see any error message). To work around this, right-click the installer file, choose Properties, and click the Unblock button.
  • #3458: Quick View does not yet support the latest CSS gradient syntax (using to keyword, unprefixed radial-gradient, repeating-linear-gradient or repeating-radial-gradient).
  • #3570: Mac only - Quick View popover may not appear after resizing window or going fullscreen. Move the mouse to the top of the screen to fix.
  • #3207: If you use a Sprint 21 or earlier build after using this build at least once, a few preferences such as Recent Projects may get reset. (You can back up your cache folder if you're concerned about this).
  • Debug > Run Tests is disabled in the installer/DMG distributions of Brackets, because the unit test code is not included. To run unit tests, pull Brackets from GitHub instead.

Community contributions to Brackets

Contributions from the Brackets community

Contributions to CodeMirror:

Contributions to Tern:

Bugs fixed in Sprint 25

For details on the bugs addressed, please refer to closed sprint 25 bugs. A few of the fixed bugs might not be caught by this search query, however.

Something went wrong with that request. Please try again.