Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Release Notes: Sprint 15

peterflynn edited this page Nov 11, 2012 · 15 revisions

What's New in Sprint 15

Full change logs: brackets and brackets-shell

UI Changes

Status bar - The JSLint star icon has moved from the upper-right to the lower-right, in the new status bar. A gold star means no errors (as before), while a red star (new) means errors are listed, and a gray star (new) means JSLint is not running on the current file. Change tab settings by clicking the "Spaces" and "4" labels in the lower right (the former is the same as toggling Edit > Use Tab Characters).

API Changes

EditorManager focusedEditorChange event - Now reliably triggered whenever focus moves from one Editor to another. See comment at top of EditorManager for details.

AppInit.appReady() event - Now occurs after extensions are done loading, instead of before. See #1854.

Adding panels - If you add a panel below the editor area, make sure you add it above the new status bar. Use insertBefore("#status-bar") or insertAfter(".bottom-panel:last"). (Added late: this was missing from the release notes when Sprint 15 shipped).

New/Improved Extensibility APIs

Code hinting - Code hint provider's handleSelect() is now passed a 4th argument: a boolean indicating whether the user prefers to close code hints or continue showing suggestions for the next piece of code. True indicates hints should remain closed (user pressed Enter or clicked a suggestion); false indicates more hints should be shown after inserting the suggestion (user pressed Tab).

Code tokens - New TokenUtils module with APIs for traversing the tokens in a given editor. See #1753.

Resizable panels - Call Resizer.makeResizable() to allow resizing a UI element by dragging its top/bottom/left/right edge. See makeResizable()'s docs for details. (Note: if you're adding a panel in the static main-content.html in core Brackets, you can render it resizable simply by adding CSS classes. See the bottom of Resizer.js for details).

Known Issues

  • #1551: Changes within an extension (or a unit test) are not reflected by a simple "Debug > Reload Brackets." Workarounds:
    • Quit and re-launch Brackets to pick up the changes.
    • Open Developer Tools, click the gear icon in the lower-right, and select "Disable cache." This setting is remembered, but is only in effect so long as the Developer Tools browser tab remains open.
  • 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.
  • Debug > Show Developer Tools opens in a new tab in Chrome, rather than a new window in Brackets. This is a temporary(ish) change due to CEF3. But on the upside, CEF3's developer tools include many updated features!
  • #1283: Text selection highlight sometimes jiggles when horizontally resizing window.
  • #1473: Uninstalling on Windows sometimes does not remove the Start menu shortcut for Brackets.
  • 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.

Community contributions to Brackets

Bugs fixed in Sprint 15

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

Clone this wiki locally