- Tree Preview commands are now showing up in all the standard places, including the editor title bar and explorer context menu.
- Actions and Conditions in trees now support the Go to Definition via context menu, F12 key, or Control+Click.
- Actions and Conditions in trees now support the Go to References and Find all References.
New
- Removed dependency on
nin-jin.vscode-language-tree
extension for syntax highlighting (you may uninstall it). - Syntax highlighting
- Added JSON schema for
btrees.json
file. This serves as auto-completion and documentation.
Fixed
- support for nested trees (action name validation accepts tree file names as valid action names)
- updated to latest behavior_tree_service dependency with fixed action activation
- fixed negated condition value flipping (double clicking on negated condition was not flipping its status)
- More tests and stricter eslint clean-up
Added
- Auto-completion with action and condition names used in any tree in the same directory
btrees.json
manifest with all supported actions and conditions (this is opt-in)- Warnings when undeclared action and condition is used
- Code action to add one or all undeclared actions/conditions
- Support for comments (text after
;;
) in the tree syntax. - Support for the
[Tab]
key
- Fix: pre-opened documents in the workspace are parsed upon activation irrespective of their language.
- Fix: Tree is not confined to its own viewbox and the page containing it does not scroll, when it is mouse-wheel zoomed.
Enable the editor.formatOnType
in your VS Code settings. This enables following behaviors:
- When you type
|
, white-space corresponding to onetab
(per your configuration) is inserted - When you press
[Enter]
, the same indentation is inserted to the new line - When you press
[Backspace]
one level of indentation is removed - When you press
Ctrl+[
orCmd+[
, the active row (or all selected rows) are indented +1 level - When you press
Ctrl+]
orCmd+]
, the active row (or all selected rows) are un-indented -1 level
Basic tree visualization and status changing upon double-click.