A new update to the BrightScript Eclipse Plugin is available via the updates site:
http://rokudev.roku.com/updates/The full Eclipse Plugin Guide can be found here:
http://sdkdocs.roku.com/display/sdkdoc/ ... ugin+GuideRelease Notes:
This release is a large update containing bugfixes and enhancements for the communications sub-system, type sub-system, language parser, and export wizard.
Support for the new developer mode username/password authentication is in place, but is not used unless a given Roku box requires it ( i.e. firmware 5.2 or later ).
It is important to note that the plugin now requires Eclipse to be running under Java 1.7 or higher. If Eclipse's Java version is lower than 1.7, the plugin will be disabled.Non-compliance with the Java version requirement does not prevent plugin installation or Eclipse startup, but will result in no BrightScript plugin features being visible, including the BrightScript perspective.
If you require an older version of Java as your machine default, you may still point any Eclipse instance to a different Java installation, by using the -vm argument in the eclipse.ini file (see Eclipse's help for details).
The following items were added or fixed in this release:
Enhancements:
Comms - 5.2 Firmware Requires Username and Password for all to-box HTTP communications
Comms - Adjustments to socket timeouts and enhanced language for adjusting the values
Export wizard - Add user option for per-project auto-increment version number in manifest for each run
Export Wizard - Automatically refresh project explorer after zipfile creation and package file creation
Export Wizard - Use ECP to send "Home" keypress prior to start of sideload/package operation to prevent unnecessary timeouts and related errors
Type system - Change single-valued type system to multi-valued type system with distinct single declared and multiple possibles
Bugfixes:
Plugin dependencies - Change Java minimum requirement to 1.7 to avoid Java memory management bug
Export Wizard - IP addresses typed in manually (or an empty address) are not checked for validity before attempting HTTP operations
Export Wizard - Nullpointer exception and partial localization checks failure if 1 or more locale subfolders does not exactly name match one of the supported locales
Export Wizard - Manually entered Roku Box IP addresses aren't persistent in either Export wizard or Debug console
Export Wizard - Unexpected error while retrieving package file
Language Parser - Add Function as a valid explicit parameter and return type
Language Parser - Anonymous Functions with empty bodies cause NullpointerException during parsing, causing source files to not open in BrightScript editor
Type System - Several type-related checks ignore user preference "perform type checks"
Type System - AA var returned from func/sub calls don't contain their members
Type System - Known callers check returns a false positive when all callers are associative arrays
Type System - Return type check incorrectly sets return type to void if type of return expression is unknown
Type System - Use of ifAssociativeArray and ifEnum methods in any return expression beginning with m. cause all .brs source editors in a project to fail