Skip to content

Release Notes: Sprint 21

redmunds edited this page Mar 4, 2013 · 23 revisions

This is a draft!

This document will not be finalized until the end of Sprint 21 -- approximately March 1.

What's New in Sprint 21

  • Code Hinting
    • JavaScript code hinting: Smart code hinting includes keywords, local variables, arguments, and property names based on nearby code.
  • Live Development
    • Default localhost for Live Preview: By default, Live Preview now launches an http://localhost URL instead of file:// thanks to a built-in Node.js server. Pointing Live Preview at your own local server remains supported (see File > Project Settings).
  • Overall UI
  • Extensions
    • Enables language extensions: New file types can be added by extensions, with support for syntax highlighting, block/line comments, and more.

Full change logs: brackets and brackets-shell

UI Changes

No major changes to existing features.

API Changes

  • Editor constructor - The mode argument has been removed, shifting other arguments over (mode is now retrieved from the Document). Note: it would be very unusual for an extension to be calling the Editor constructor directly.
  • Debug menu - Removed Menus.AppMenuBar.DEBUG_MENU menu ID
  • EditorUtils removed - EditorUtils.getModeFromFileExtension() changed to LanguageManager.getLanguageForFileExtension(). However, when dealing with open documents, extensions should not use this API. Instead, to detect the language for a given Document, use document.getLanguage() or for a given Editor selection, use editor.getLanguageForSelection().

New/Improved Extensibility APIs

  • LanguageManager and Language - LanguageManager allows extensions to define new language support in Brackets without making modifications to core Brackets code. In this first iteration, a Language can be defined declaratively in JSON as a set of properties including a CodeMirror syntax highlighting mode, file extensions to map to the language, and finally line and block commenting syntax. Optionally, extensions may define custom CodeMirror modes. For an overview of language support and our future direction please see the wiki.
  • Node Process - Brackets Node Process: Overview for Developers

Known Issues

  • 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.
  • 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.
  • During development, JavaScript Code Hinting was made available to the community as an extension for evaluation and testing as the brackets-js-code-hints extension. You must uninstall this extension before running Sprint 21 to avoid code conflicts.

Community contributions to Brackets

Contributions from Brackets

Contributions to CodeMirror:

Bugs fixed in Sprint 21

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

Clone this wiki locally