Skip to content

Release Notes: Sprint 39

Peter Flynn edited this page May 14, 2014 · 19 revisions

This is a draft!

This document will not be finalized until the end of Sprint 39 -- approximately May 12.

What's New in Sprint 39

Full change logs: brackets and brackets-shell

UI Changes

Find menu added - All Find/Replace-related menu items have been moved from the Edit menu to a new Find top-level menu.

Non UTF-8 encodings - On Windows, earlier Brackets versions would open files with other encodings even though the file could not be displayed or saved correctly. Brackets now shows an error message and refuses to open the file, matching Mac versions of Brackets. (And the error message now specifically mentions the encoding).

URL code hints - When replacing path segments in an existing URL, the segments to the right of the cursor are preserved when you insert path code hints. When you insert a filename code hint, anything to the right is still overwritten as before, however.

API Changes

Find commands - Find/Replace-related command ID constants (Commands.EDIT_FIND* and a few others) have been deprecated: use Commands.CMD_FIND* (and similar) instead. The raw ID string values have changed, so if you're using them instead of referencing the constants, your code will be broken immediately.

The menu item group constants Menus.MenuSection.EDIT_FIND_COMMANDS/EDIT_REPLACE_COMMANDS are deprecated: use Menus.MenuSection.FIND_FIND_COMMANDS/FIND_REPLACE_COMMANDS instead. Using the old constants will add your menu items to the end of the Edit menu.

XML/HTML tokens - The tokens emitted by CodeMirror for XML/HTML code have changed: the angle brackets around each tag are now split into separate tokens with the style "tag bracket". Extensions depending on the low-level CodeMirror token data may need an update (example).

New/Improved Extensibility APIs

Find menu - Use Menus.AppMenuBar.FIND_MENU to add menu items to the new Find top-level menu.

LESS stylesheets - ExtensionUtils.loadStyleSheet() now supports LESS files that use @import.

DocumentManager - The "currentDocumentChange" event now passes the old and new Documents as arguments (similar to "activeEditorChange").

Known Issues

  • Activity Monitor in Mavericks (OS X 10.9) says the Brackets Helper process is "Not Responding" even when it's working normally (#5794). You can safely ignore this unless Brackets is actually failing to respond when you click or type text.
  • #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.
  • 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

Pulling source code from Git

  • Some submodules were updated this sprint. Run git submodule update to ensure your source tree is fully up to date.
  • A new brackets-shell build is only required for the new Windows binary-file detection (and minor bug fixes).

Bugs fixed in Sprint 39

For details on the bugs addressed, please refer to closed sprint 39 bugs. Not all fixed bugs will be caught by this search query, however.

Clone this wiki locally