-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Release notes: Sprint 13
Sprint 13 focused primarily on a more polished release experience: installers, updates, getting started, and an all new native app shell. We also rounded out HTML code hinting by adding hints for common attribute values, and began a push to localize the Brackets UI.
-
Install/Upgrade Usability
- Update Notification: Brackets will automatically notify you when a newer build is released. This won't happen until the end of the following sprint, 2-3 weeks from now.
- Mac Install Experience: DMG with shortcut: Instead of a ZIP file, the distribution for Mac is now a DMG file containing a shortcut to /Applications for easy drag & drop.
- Windows Install Experience: MSI installer: Instead of a ZIP file, the distribution for Windows is now a native MSI installer.
- First Launch Readme/Demo Project
- Quick access to the extensions folder via Debug > Show Extensions Folder
-
Native Shell
- Brackets has officially migrated to the new CEF3-based native shell! CEF3 offers benefits such as: Retina (HiDPI) support, a newer version of the developer tools for debugging Brackets, slightly faster performance, and a stronger foundation moving forward. The installer/DMG distributions for Sprint 13 package this new shell.
-
Code Hinting
-
Code Completion for HTML Attribute Values: Attributes with enumerated values (such as
<link rel>
or<input type>
) show hints automatically after completing the attribute name. Hints can also be invoked manually with Ctrl+Space.
-
Code Completion for HTML Attribute Values: Attributes with enumerated values (such as
-
Localization
- French Localization: Brackets detects the user's locale setting automatically. There are a few bugs where minor bits of the UI remain in English despite the locale.
- Brackets unofficially also supports German in this sprint.
-
Other Enhancements
- Recent projects dropdown: Click the project name in the left-hand to rapidly switch between recently opened project folders.
no major changes to existing UI
Initialization & HTML structure - The HTML DOM is no longer completly initialized when require.js loads Brackets modules. Brackets extensions are unaffected since they are always loaded after the DOM initialization is complete; this only affects core modules that depend on or modify HTML during load.
- Before touching the DOM, modules should now register a
htmlReady
event listener on theutils/AppInit
module before touching the DOM. E.g.AppInit.htmlReady(function () { /* query main Brackets DOM */ })
. - The
brackets.ready
event handler has been moved toAppInit.appReady
- A new
utils/Global
module was added to handle the initialization of thebrackets
namespace - Most of the content of index.html has been moved into the Mustache template htmlContent/main-view.html.
Live development - Now uses standard jQuery events, so the code required to add/remove listeners is slightly different and all listeners receive a new first parameter (the event). Event names have also changed. See pull request for details.
Command infrastructure - New CommandManager.getAll()
API: returns all registered commands. Could be used to build a shortcut key assignment UI, etc.
Localization - Brackets now includes the RequireJS i18n plugin and Mustache.
Launch URLs in browser - Use NativeApp.openURLInDefaultBrowser()
to open a URL in the user's web browser.
- 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 now opens in a new tab in Chrome, rather than a new windows in Brackets. This is a temporary(ish) change due to CEF3. But on the upside, CEF3's developer tools include many updated features!
-
#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.
- #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.
- Localization infrastructure, basic language switcher UI, and first draft of German translation by Jonathan Diehl
-
Improvements to experimental (disabled) live development features by Jonathan Diehl & Dennis Kehrig. (Enable the
experimental
flag in LiveDevelopment/main.js to try out HTML and JS live editing!) - Live development code cleanup by Jonathan Diehl
- Fix #1409: Exception when opening inline editor on blank line by Tom Lieber
- Code cleanup in SVG sprites by Dmitry Baranovskiy
For details on the bugs addressed, please refer to closed sprint 13 bugs and closed sprint 13 brackets-shell bugs. A few of the fixed bugs might not be caught by this search query, however.