Scripting inside an editor can be a real time saver. MiWorkplace has (or had ... don't know the current state) the feature of editing and executing JavaScript inside the IDE including access to the AST of current RPG and CL code and also access to the AS400 class of the JTOpen project which gives you remote access to all important services. Great feature, seldom used ... sadly.












Am 20.01.2023 um 23:04, Buck Calabro <kc2hiz@xxxxxxxxx> schrieb:


On 1/19/2023 5:15 PM, Mihael wrote:

For me ... at the moment ... Eclipse RCP framework is the only way to go
if you want to develop a GUI application (non-browser) in Java.

Bravo Mihael!

It seems to me that my particular workflow in my particular environment
has a great bearing on the editor that I want to use.

As an RPGer doing mostly maintenance, I had a Code/400 script that I
used to pick out the file name on an F-spec, reach out to the IBM system
and pop up a window of check-able column names. Select the ones I want
and I have an instant data structure, SQL SELECT clause, O-specs
(remember those?), even a list of TODO comments that remind me what
columns I need to put on the screen. Code was great for this kind of
thing because I could just open another Code window, work on the script,
and then test/use it in real time in the RPG source member I was working on.

It's possible to do similar things in Eclipse/RDi - access to JT400 is
SUPER POWERFUL - but I have to stop what I'm doing, change mental gears,
get into Java mode, write/deploy/test/repeat until the plugin is Good
Enough. Then I switch back into RPG mode and get back to whatever I was
doing. Very much more disruptive than real time scripting.

I have only recently looked at scripting Liam's extensions to VS Code,
so I have no opinion yet.

SEU is unscriptable. No alternative key bindings, no internal
hooks/extension points and a block mode interface.

--
--buck

http://wiki.midrange.com
Your updates make it better!

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.