+ infinity :-).
This - and a few other well-chosen upgrades - would go a long way towards making FMP Advanced a true developer's tool like so many other environments have.
FWIW, I often find myself intentionally collapsing code simply to reduce vertical space in my scripts. Code collapsing would remove this need, and at the same time let us focus much more clearly on the natural flow of our scripts.
Would love to see line numbers down the left as this helps when cross referencing from one of the DDR Analysis tools.
I'd like a Get ( ScriptLineNumber ) function to go with that.
Yes databuzz - forgot to mention step/line numbers those would be really great to have as well. Thanks
I wouldn't mind seeing a native method for passing multiple script parameters - we all have our own preferences for one of the existing methods of doing this which have their own advantages/disadvantages. I'd love a native implementation that allows us to set name/value pairs which get declared as local variables - I know we can do this already with a custom function but sometimes installing custom functions is not practical.
Along similar lines:
Either a Get function which returns the current script stack information, or at least a Get function which returns the parent script, i.e. "The script who called me".
Apologies if this has already been mentioned elsewhere.
I'd like to see increased indents ( or better yet, developer/user controlled settings ). So I can make it readable for me...including spacing, tabs settings, color coding, Find/Replace in scripts. Better UX with regard to keyboard actions ( highlighting a field and hitting enter should insert it the calc dialog for example ). Better shortcut behavior and touch typing UX in ScriptMaker.
plus monospaced font option
plus new StartDebugHere rather than have to programme crashes to force PauseOnError
plus timing log option
Forgot to also mention that it would be great to overlay security in some elegant way. For example you are writing a scirpt and you have defined some pretty specific security premissions. As you choose fields and layouts there would be a place to select the privilege set to see if that field would be accessible or not. Same thing for Layouts, and Scripts and Value Lists. But if this feature were added to all areas of the product it would be really cool.
Hi Vince et all,
I could not agree more with all the above ideas.
My 2 cents, allow import from text based editors. Import from another FM file already checks for errors and missing references, so some import checking is already in the current engine. With such an addition developers could use the script editor of their choice.
+1 on all suggestions.
Code folding is #1 on my wish list. I would like to be able to fold abitrary sections based on what patterns I am using.
Color coding of:
- errors (visible on the script step level and invisible) -> red
- context dependent line elements
- yes (+1) commented out -> greyed out
- particullary brilliant lines -> gold star ICON
Vince, you and Heather Winkle did a great job of hosting the presentation at pauseonerror, NYC 2011.
Did the video recording of that session every make it out?
+1 on the increased indents... I would also like to be able to color code script steps.
Good one to put the link there... as far as the video of that session I don't know where it went.
I think we had some problems early on in the recording so maybe it never got put together because of that.