Skip to content

Release Notes: Sprint 38

Peter Flynn edited this page May 13, 2014 · 25 revisions
Clone this wiki locally

What's New in Sprint 38

Full change logs: brackets and brackets-shell

UI Changes

Find in Files - If you've set a file/folder exclusion filter and then you use 'Find In...' on a single file, filtering is temporarily disabled to ensure the file is always searched.

API Changes

CodeMirror v4 & multiple cursors/selections - See the Brackets CodeMirror v4 Migration Guide. Notably, referencing CodeMirror as a global identifier is now deprecated; use Require instead, as with other modules.

PHP files - Editor.getLanguageForSelection() will now return the correct "php" language (instead of the generic "clike").

New/Improved Extensibility APIs

Inline Editors - When a provider has nothing to show for the current cursor position, it can return an explanation string instead of just null. If no providers respond, the explanation is shown in a popup. This can help make inline editing functionality more discoverable to users.

LanguageManager - If a file extension already has a default Language mapping in Brackets, an extension can unregister the mapping in order to use it with a new Language. (For example, changing ".twig" from generic HTML highlighting to a new Twig-specific highlighting mode). Use Language.removeFileExtension() and removeFileName().

In addition, all the add/remove file name/extension APIs can now optionally be passed an array of items instead of a single item.

Editor - All get* and set* methods for Editor settings now take an optional path parameter to get setting for a particular file. If omitted, then the current document is used. The set* methods also now return a boolean value which indicates whether value is valid.

Jump to Definition - use EditorManager.registerJumpToDefProvider() to register a provider for the Navigate > Jump to Definition command.

Known Issues

  • "Brackets Code Folding" extension causes extremely slow typing in HTML files with this release. Track this extension bug for updates.
  • Brackets may crash or freeze on projects using the Ionic framework. Exclude the framework JS files to avoid this (they will be automatically excluded in Sprint 39).
  • 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.
  • On Windows XP, Brackets will not detect external file changes instantly. It behaves similarly to Sprint 35 and earlier releases - changes are detected upon window activation, and the folder tree must be manually refreshed.
  • #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.
  • #4362: Slow startup of Brackets and Live Preview on Windows due to Chrome proxy settings. See workaround.
  • 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.
  • #7127: With Chrome 34, using Live Preview will show a console error: "'CSS.getAllStyleSheets' wasn't found". This is harmless and shouldn't affect Live Preview.

Community contributions to Brackets

Pulling source code from Git

  • A new brackets-shell build is not needed for this sprint.
  • Git submodules were updated this sprint. Run git submodule update to ensure your source tree is fully up to date.

Bugs fixed in Sprint 38

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

Something went wrong with that request. Please try again.