Hi All,
I’m pleased to announce the release of the new version of ZeroBrane Studio for Vera (0.90). The new version includes Vera integration as well as the IDE functionality changes. If you want to skip the details, install the new version, copy any settings you have in “Edit | Preferences | Settings: System” (if you installed into a different folder than your current version), and select “Unregister Devices” from the popup menu in the editor (to update the debugger on the device to get access to some new functionality).
Anyone who bought ZBS4V is eligible for the free upgrade and can access the new version by using the URL from the confirmation email. If you don’t have the URL, let me know via email and I’ll help you with that.
In terms of Vera integration, the new package provides better error handling and allows to remove files on the device from the IDE (use “Remove Remote File” from the context (right click) menu in the editor). The documentation has also been updated; I suggest checking the getting started page (Getting Started - ZeroBrane Studio for Vera/MCV devices - Lua IDE/editor/debugger for Windows, Mac OSX, and Linux) for the overview on what debugging features are supported.
The first thing you will likely notice is simplified user interface and updated application icons. The IDE is now using lighter colors and better fonts by default and has better icons in the toolbar. Captions have been removed from the panels; you can double click on tab background before dragging panels. The project dropdown was removed; there is now Project tab that has the same content. To switch between projects you can use (1) “File | Recent Projects”, (2) right click in the project/file tree and select “Project Directory”, or (3) use “Choose a project directory” dropdown on the toolbar. The function dropdown (previously on the toolbar) was replaced with the new Outline tab next to Project tab. The functionality of the outline has been improved as you can use it for navigation and it’s updated in real-time as your source code changes.
Some other IDE changes:
- Added scope-aware auto-complete for local/global variables.
- Added support for editing and expanding table elements in Watch window.
- Added highlighting all instances of selected text.
- Added replacing all selected instances using a dialog.
- Added search in Console and Output windows.
- Added re-indentation of selected fragment or entire file.
- Added support for switching breakpoints at run-time.
- Added bookmark handling.
- Added
Detach process
command to stop debugging and continue process.
Overall, these changes should provide even more pleasing experience with the IDE.
You can still run the old and the new version side by side and they will even share the same config. If you do this, you may notice small UI glitches when you switch between versions (this is because the layout is slightly different); you can fix those by going to “View | Defaut Layout”.
The IDE also provides new debugging functionality (for example, setting/removing breakpoints at run-time), which require a new debugger deployed to the device. For that to happen you need to select “Unregister Devices” from the context (right click) menu in the editor. You only need to do this once after the upgrade. The new version of the debugger is 0.611, which you can confirm by running “require(‘mobdebug’)._VERSION” in the Remote Console when the debugging is on.
Thanks to the beta-testers of the current version and to all the users who provided their feedback and suggestions on how to improve the product!
Please let me know if you run into any issues with the new version as I only have one device and have not been able to test it on various firmware versions. The auto-detection mechanism used in UI5 has changed in UI6 and UI7, so if the address of your device is not auto-detected, you may need to specify it manually as described in this FAQ answer (Frequently Asked Questions - ZeroBrane Studio for Vera/MCV devices - Lua IDE/editor/debugger for Windows, Mac OSX, and Linux).
Paul.