-
Notifications
You must be signed in to change notification settings - Fork 182
Release notes: sprint 10
Sprint 10 is still in progress. These are draft notes.
We didn't add major new user-visible features in Sprint 9. Our main goals for the sprint were similar to the previous sprint - Continue to make progress on the extensibility architecture of Brackets: research, basic architecture and extensibility API:
-
Architecture / Contributions
-
CodeMirror contributions (NJ)
This Story is about submitting scrolling enhancements to CodeMirror, there were a number of pull requests related to fix flickering during vertical scrolling in CodeMirror, further details can be found here: -
Build experimental CEF3 Shell (Glenn, Raymond)
The Story indicates work in progress, for example there hasn't been a lot of scenario testing yet. The changes are manifesting in the performance improvements and better responsiveness running in the multi-process modes.
-
-
Extensibility Epic
* The [JavaScript Quick Edit] (https://trello.com/c/8d7sdB54) story (NJ, Jason, Randy, Peter, Joel) allows you to quickly access and edit JavaScript function bodies from the calling function within HTML and JavaScript files.Some nice work went into performance instrumentation and building Unit Tests.
* The second extensibility Story - Extension support for require.js text plugin (Jason) in Sprint 10 enables extension developer to use the [require.js text plugin] (https://github.com/requirejs/text) without having to include it for each extension.
* We now support HTML Context Menus (Ty, Randy, Peter) in Brackets - please also refer to the Menu API changes mentioned below. * We started working on basic guidelines for Extensions UI ([User Story])(https://trello.com/c/tDdqua2R) (Garth) * Last not least Extension Stylesheets (Jason) you can now specify css stylesheets to style and define the UI for any extension.
- no major additions this sprint
- "Debug > Enable JSLint" has moved to "View > Enable JSLint"
- "Debug > Use Tab Characters" has moved to "Edit > Use Tab Characters"
The following functions no longer take an ID parameter:
addMenuItem() addMenuDivider()
Also, the relativeID parameter has changed. Previously this parameter specified the id of another MenuItem. Now it references the id of a Command that exists in the parent menu to specify a location. The net result is that MenuItems no longer have externally exposed ID’s.
These changes simplify the API, but will break existing extensions that add menus, so please update your Brackets extensions with this change.
Mutator APIs have been added to Document. To modify text, use these Document APIs instead of going through Editor or CodeMirror. For details on Document usage, see "Working with Documents" in the Brackets Development How Tos.
- Added to Document: replaceRange(), getRange(), getLine(), batchOperation().
- Changed Document.getText() so it always returns \n line endings (like the above new APIs) unless a special flag is passed.
- Removed Editor.getLineText() -- replaced by Document.getLine()
The events dispatched by ProjectManager have changed. Instead of dispatching initializeComplete
and projectRootChanged
, we now dispatch projectOpen
and beforeProjectClose
events. beforeProjectClose
is dispatched before the project root is about to change, and projectOpen
is dispatched afterwards. Also, projectOpen
is dispatched after the initial project is opened when Brackets first launches.
- Unit testing: waitsForDone() function for using Promise/Deferred (see forum post)
- Unit testing: SpecRunnerUtils.deleteFile()
See closed sprint 10 bugs. A few other bugs might have been fixed that weren't tagged.