Skip to content

Release notes: Sprint 14

peterflynn edited this page Sep 20, 2012 · 11 revisions
Clone this wiki locally

What's New in Sprint 14

  • Editor UI
  • Build/Development Process
    • Improved Development Workflow: It's now easier and less error-prone to point an official build of brackets-shell at your own brackets Git repo. See link for details.
    • Version Info: Improved version numbering of official builds, including Git repo SHA. Version info can be accessed via the Help > About menu.
    • More Modular Metadata: Application properties like icon and version number are now consolidated in a package.json file. See below for details.
  • Localization
  • Other Enhancements
    • "Use Tab Characters" setting is remembered across launches
    • Improved Quick Open sorting: better matches are shown at the top of the list
    • New Help menu consolidating existing menu items, plus a link to the discussion forum
    • Next/Previous Document navigation commands (Ctrl+Tab / Ctrl+Shift+Tab) are now visible in the Navigate menu

Full change logs: brackets and brackets-shell

UI Changes

  • Code editor now uses a new, open-source monospace web font from Adobe called Source Code Pro.
  • "Debug > Show Extensions Folder" and "Debug > Check for Updates" have moved to the new Help menu.

API Changes

Quick Open search provider API - your search provider's itemFocus() and itemSelect() functions will now get passed the item returned by your search() function, not a DOM node as before. In addition, search() can now optionally return an object instead of a string (which is then passed to resultsFormatter(), itemFocus(), and itemSelect()). Combined, these changes make it easier to store metadata for each search result.

The QuickOpen module has several new helper APIs: stringMatch() and basicMatch() simplify creating a basic search provider.

See the pull request for an example of updating an existing search provider for these changes.

New/Improved Extensibility APIs

package.json metadata - a new src/package.json file was introduced to capture metadata in a format compatible with NPM.

  • package.json data can be accessed at runtime via brackets.metadata
  • name field is copied to the strings module as APP_NAME
    • APP_NAME string is substituted throughout the code base
  • package.json config object allows forks of Brackets to customize some options including:
    • about_icon - Change the src relative path to the about icon
    • show_debug_menu - Show/Hide the "Debug" menu
    • enable_jslint - Enable/Disable JSLint by default
    • forum_url - Specifies a URL in the Help menu

Help menu - use AppMenuBar.HELP_MENU to add items to the new Help menu

Known Issues

  • #1512: If you install Sprint 14 after having run Sprint 13 (and don't delete your prefs), the old Sprint 13 "Getting Started" project will show in your recent projects list (and will open by default if you left it open last time you quit Brackets). This has been fixed for future upgrades post-Sprint 14.
  • #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 being 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 14

For details on the bugs addressed, please refer to closed sprint 14 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.