PDA

View Full Version : maybe a better script editor ?



pww
02-06-2009, 05:03 PM
just wasted several hours to find & fix a script bug in an installer.

I think SF needs a better script editor.
There should be one central place which gives access to all the script code available at different places in a project - On Startup, On Pre/Post Install, global functions, code associated with screens and controls on screens etc.
Something like a tree view where one can select any element that contains script code, and view/edit the code in a multi-tabbed editor.

It's really annoying and time wasting that all the windows where the code is to be edited are modal.
While I edit the code for a screen button for example, I have no access to anything else. If say I want to check something in the On Startup script when I do that, I have to close the Screen Properties window, close the Screens window, open On Startup, check, close On Startup, open again Screens, select a screen .. etc.. etc .. etc.. - it takes some 20-30 useless clicks to do something simple.

There must be a project-wide find/replace in code.

Now I regularly use UltraEdit to make changes directly in the project file, which I would prefer not to do.

Darryl
03-02-2009, 09:09 AM
Yes, alternative script editors and global access has been discussed in the past and is currently added to our suggestions database. However I've submitted your post for additional ideas, thank you.

REF: 18352

IdeasVacuum
11-20-2009, 08:06 PM
Absolutely agree with your comments. I also find the editor itself to be a little clumsy when selecting for copy and paste. When I need to use a session variable in the code, I would like to be able to double-click-insert from a list inside the editor.

I too use Ultra Edit, especially when defining long scripts/global functions. It is also handy for making project-wide string replacements. The nearer Indigo Rose can get to Ultra Edit ease of use, the better.

Darryl
05-20-2010, 12:16 PM
Absolutely agree with your comments. I also find the editor itself to be a little clumsy when selecting for copy and paste. When I need to use a session variable in the code, I would like to be able to double-click-insert from a list inside the editor.


Unless I misunderstood, a couple tips that may help if you weren't aware... You can currently insert variables into the script editor by right-clicking and selecting Insert > Variable...
Also, if you find that you don't want double-clicking on text in an action to bring up the action's properties, you can find an option to disable this feature by right-clicking and selecting Advanced > Double-click Edit.

Hope that helps.