Forum Discussion

RokuKevin's avatar
RokuKevin
Visitor
13 years ago

New Eclipse Plugin Release 12/17/12

A new build is available on the updates site:

http://rokudev.roku.com/updates/

Bare bones eclipse plugin guide available here:
http://sdkdocs.roku.com/display/RokuSDK ... ugin+Guide

This release focused primarily on adding support for editor code folding, improved language parsing, and laying the foundation of a type system.

The new Code folding features include new user preference settings and editor support for subs, function, loops, and if blocks.

While not listed below, one of the first visible benefits of the type system foundation is an initial improvement in the code assist and inline documentation display features.
While the code editor has focus, hitting CTRL-Space will invoke the code assist window, which now includes in the list all global functions (in addition to the previous list of language keywords)
along with the documentation window containing documentation for the currently selected global function.
(Note that currently code assist intentionally does not respond while in the middle of a "dot expression" - this feature will be added in the next release in order to support code assist and docs display for
components, interfaces, and events).


Bugfixes:

Export Wizard - Very first run of export wizard after first plugin installation does not autofill the zipfile name
Export Wizard - Top level locale folder not auto-selected when exporting a project
Language Parser - a variable reference standing alone by itself outside of any valid statement is not flagged as a error
Language Parser - Empty For loops cause syntax error
Language Parser - Empty While loops cause syntax error
Localization - Update translations context menu option fails with stacktrace
New Project Wizard - Error when selecting locales

Enhancements:

Code Folding - Add support for associative arrays and ordinary arrays
Code Folding - Add support for For Loops
Code Folding - Add support for if/then/else blocks
Code Folding - Add support for Subs and Functions
Code Folding - Add support for While Loops
Editor - Make double-click only select the surrounding brightscript word, not the locale language word
Export Wizard - Add persistent checkbox for zip file overwrite response
Export Wizard - Remember per-project user selected dirs and files between export runs
Language Parser - BrightScript language parser should recover at least at beginning of new sub or function

--Kevin

12 Replies