-
Notifications
You must be signed in to change notification settings - Fork 0
Release Notes: Sprint 26
This document will not be finalized until the end of Sprint 26 -- approximately June 10.
-
Extensions
- Easier extension updating: When installing a newer version of an extension you already have installed, Brackets will automatically replace the older version.
-
File Management
- Save As: Just what it sounds like!
- Polish on delete file/folder: Better handling of unsaved changes... now with unit tests!
-
Overall UI
- Status bar redesign: Added separators, changed JSLint results icon to more standard colors (green = passing, yellow = warnings).
-
Architecture
- Upgrade Brackets source to jQuery 2.0, Bootstrap 2.3.1, LESS 1.3.3: From jQuery 1.7, Bootstrap 1.4.0, LESS 1.3.0
-
Code Hinting
- CSS URL Hints - property values, @import
Full change logs: brackets and brackets-shell
Status bar / JSLint icon - TODO
Dialog API changes - The following changes where made to the Dialog API:
-
showModalDialog
now receives an additional parameter: buttons. Buttons is a an array that contains for each button a class name, an id and a text. If omitted, the dialog will be created with an OK button that will close the dialog when clicked. Additionally,showModalDialog
will always creates a new dialog element from a default template using the given class name, title, message and buttons. Instead of adding a dialog template to the DOM and usingshowModalDialog
to show the dialog, useshowModalDialogUsingTemplate
with the parsed template as a parameter. -
The title and message parameters from
showModalDialogUsingTemplate
where removed. -
Both
showModalDialog
andshowModalDialogUsingTemplate
now return a Dialog object with 4 methods:getElement
that returns the dialog jQuery object;getPromise
that returns the promise used by the dialog (previously returned by both methods);close
that can be used to close the dialog; anddone
to attach a done function to the dialog's promise as before. Notice that the promise is never rejected and is resolved when the dialog is dismissed, so the always and fail methods on the promise aren't required.
jQuery API changes - TODO - link to jQuery info on removed/changed APIs
- Use
val()
instead ofattr("value")
- CSS position properties like
$foo.css("left")
always return pixel values. If you want percentage, use$foo[0].style.left
.
Bootstrap API / CSS changes - The Bootstrap Upgrade Guide covers all of the CSS changes. The primary changes affecting Brackets code are:
- Tables:
- Add class
table
- Change
zebra-striped
totable-striped
- Change
condensed-table
totable-condensed
- Add class
- Alerts:
- Change
alert-message
toalert
- Change
Pretty much all of the Bootstrap JavaScript plugins have been re-written. If your extension depends on specific Bootstrap JS components, make sure you test it fully.
- 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.
-
#3458: Quick View does not yet support the latest CSS gradient syntax (using
to
keyword, unprefixedradial-gradient
,repeating-linear-gradient
orrepeating-radial-gradient
). - #3570: Mac only - Quick View popover may not appear after resizing window or going fullscreen. Move the mouse to the top of the screen to fix. (https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets#wiki-getcode) instead.
- #3207: If you use a Sprint 21 or earlier build after using this build at least once, a few preferences such as Recent Projects may get reset. (You can back up your cache folder if you're concerned about this).
- 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.
Contributions to CodeMirror:
- ...
For details on the bugs addressed, please refer to closed sprint 26 bugs. A few of the fixed bugs might not be caught by this search query, however.