-
Notifications
You must be signed in to change notification settings - Fork 278
Release Notes: Sprint 33
-
Quick Edit
- Create new CSS rules via Quick Edit: In HTML files, click the new "New Rule" button in the Quick Edit inline editor to create a new CSS rule based on the tag/class/id your cursor was on. Fully keyboard accessible using Cmd/Ctrl-Alt-N. The inline editor now appears even when no existing rules match the search, so you can easily create new CSS rules at any time.
-
Visually edit CSS transition timing function Bezier curves: Just invoke Quick Edit when your cursor is on any
cubic-bezier()
,linear
,ease
,ease-in
,ease-out
, orease-in-out
functions in a CSS rule!
-
Images
- Preview image files: Select in image in the file tree (or via Quick Open) to see a preview in the editor area.
-
Replace
- When using Replace with a Regep search argument, Brackets now handles replacements with $1, $2, etc..
-
Extension Manager
- If latest version of an extension is not compatible with your version of Brackets, then Extension Manager will install an older version of the extension, if available.
-
Live Preview
- If there is no file open, Live Preview will now start with index.html file, if present.
-
Localization
- Added Serbian translation
- Updated translations for: Czech, Finnish, German, Polish, Spanish, Swedish, and Turkish.
Full change logs: brackets and brackets-shell
Dialogs - Modal Dialogs are now auto-centered both horizontally and vertically over the Brackets Window.
Inline editors - An "x" Close button is now automatically created for all inline editors.
Lo-Dash - added as a third-party dependency. The following conversions and deprecations were made:
- Converted
Array.slice(0)
to_.clone()
- Converted
Async.whenIdle
to_.debounce
. - Converted
NumberUtils.getRandomNumber()
to_.random
and removedNumberUtils.js
- Converted
StringUtils.htmlEscape
to._escape
and deprecated it. - Converted
CollectionUtils.indexOf
to_.findIndex
and deprecated it. - Converted
CollectionUtils.forEach
to_.forEach
and deprecated it. - Converted
CollectionUtils.some
to_.some
and deprecated it. - Converted
CollectionUtils.hasProperty
to_.has
and deprecated it.
Functions are deprecated by adding a @deprecated
annotation, and by replacing their implementation with the corresponding Lo-Dash function and a console.warn
message.
Image files - The Preview Images Spec describes the API changes for the new Preview Images feature.
Inline editors - InlineTextEditor.editors
(array of editors) was removed and replaced with InlineTextEditor.editor
(single editor). With current usage, there was never more than a single element in the array anyway, so this simplifies the API.
Files - usage of trailing-"/" was cleaned up.
The "canonical" folder path format used in DirectoryEntry.fullPath
includes a trailing "/". However, we have some Brackets code that requires or generates paths in the opposite format. Several of those cases were cleaned up:
- Renamed
FileUtils.canonicalizeFolderPath()
tostripTrailingSlash()
since it actually makes paths not canonical. Old API was deprecated since it's still used by several extensions. - Added warning to docs for these APIs that return non-canonical paths:
FileUtils.getNativeBracketsDirectoryPath()
andFileUtils.getNativeModuleDirectoryPath()
. - Documented that
ProjectManager._loadProject()
andopenProject()
support receiving non-canonical paths - Fixed several
ProjectManager
APIs that used to return and/or receive non-canonical paths:getInitialProjectPath()
,_getWelcomeProjectPath()
, andupdateWelcomeProjectPath()
. No extensions were found that use these APIs.
Lo-Dash - utility library is now available in Brackets.
- 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.
- #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.
- Mac: Accept folder dropped on dock icon by Eugene Ostroukhov
- Start Live Development even if no open file by Marcel Gerber
- Close Others [Above/Below] in Working Files context menu by Sathyamoorthi
- Find in Files: Better feedback while searching & when no results by Sharat M R
- Add close button to all inline editors by Thomas Erbe
- Add Serbian translation by Goran Vasić
- Make inline Bezier editor localizable by Marcel Gerber
- Center dialogs dynamically (part 2, part 3) by Bernhard Sirlinger
- Press Delete in Recent Projects popup to remove from list by Sandeep Jain
- Close 'Recent Projects' dropdown on 2nd click by Marcel Gerber
- Linux: Fix leak when creating folders by eyelash
- Fix #4949: URL hints didn't show without explicit Ctrl+Space by Bernhard Sirlinger
- Fix #5517: Blank line number when switching between CSS rules with same number by Patrick Oladimeji
- Fix #5426: Quick View popup flickers when moving mouse rightward) by Marcel Gerber
- Fix Polish translation bug that prevented launching a clean install of Brackets by Mateusz Gachowski
- Fix Menus.removeMenu() to clean up dividers by Lance Campbell
- Min height for search results panel by Oskar Tjoskar
- Improve unit test robustness: avoid not.toBeNull() by gmeluski
- Fix InstallExtensionDialog unit tests for non-English locales by Bernhard Sirlinger
- Cleanup: Remove references to CodeHintManager from Editor by Bernhard Sirlinger
- Cleanup: Change Bezier editor loc keys to match idenfier rename by Marcel Gerber
- Cleanup: Remove Sprint 22 preferences migration code by Bernhard Sirlinger
- Cleanup: Keep translation files' formatting consistent by Marcel Gerber
- German translation update by mynetx
- German translation update (part 2, part 3, part 4, part 5, part 6) by Marcel Gerber
- Spanish translation update by Chema Balsas
- Czech translation update (part 2) by kvarel
- Finnish translation fixes (and) by Jukka Hyytiälä
- Swedish translation fix by Michael Cole
- A new brackets-shell build is required for this sprint (API change on Mac, Dark Shell fixes on Windows). Be sure to rerun
grunt setup
before building. - Some submodules were updated this sprint. Run
git submodule update
to ensure your source tree is fully up to date.
For details on the bugs addressed, please refer to closed sprint 33 bugs. A few of the fixed bugs might not be caught by this search query, however.