"TheEndless" wrote:
"malloys" wrote:
Since we're on topic, what types of code structures would you like to see be fold-able?
I'm currently thinking: Subs/Functions and control blocks (if/then/else, while, for).
Should I extend this to array/associative array definitions as well?
I'd like it on associative arrays at least.
You got it. Consider those added.
"TheEndless" wrote:
I'm not sure if it matters, but there seems to be a lot of leeway in acceptable BrightScript syntax. For example, "End If / EndIf", "Else If / ElseIf", "For...Next / For...End For" are all valid, but aren't necessarily documented as such. I get sporadic highlighting/syntax errors when using various combinations of them in Eclipse. For the most part, VBScript syntax highlighting and code folding recognize these in Notepad++, so that might be a worthwhile reference point.
Fortunately, my contacts at Roku have given me access to the Roku box's source code, so I plan on examining the box's parser grammar and using that as a reference for the plugin's parser grammar going forward, rather than relying solely on the BrightScript Language Reference guide (as I have to-date).
"TheEndless" wrote:
One other issue I've run across... The RSP Console window seems a bit spastic. The drop down with IP addresses isn't wide enough to show the full address, and it's constantly refreshing (constant as in every 500ms or so), so I can't seem to select any specific addresses. When I click the down arrow to pick one, it refreshes and ends up selecting the second address (I have three in the list) every time. If I highlight the text to type in an address, it refreshes two quickly for me to do so.
Yeah, just spotted this issue today myself (and related to something I mention in a previous post about the SSDP code and a race condition with eclipse's plugin startup).
I should have that corrected in the next release.
"TheEndless" wrote:
Now that I can actually open my files, this is looking pretty sweet. Thanks for putting the time and effort into it, and for listening to feedback!
Thanks much - there's lot's more on the to-do list and Roku seems pretty interested in having me continue to improve the plugin.
Please, by all means, let me know of any suggestions for new features, improvements to existing ones, and of course any bugs you may encounter.
Cheers