"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.
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.
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.
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!