Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JET Editor component for source code editing

Hi,
Our application (Oracle Health Insurance) uses Groovy as a scripting language to enable customers to build extension points in certain predefined places. For example, in a flow, they may add some additional validations scripted in Groovy. Our system will call the groovy and act upon the result.
Currently, our system only gives them support to enter groovy in a simple text editor control. No autocompletion, validation whatsoever.
We also enable them to import stubs in their preferred IDE to have a better coding experience. For advanced users with technical background, this is fine.
There is however a large community of business users and consultants that do need to write extensions, but are not technical enough to do all the setup required to get an external IDE going.
To better address that group of users, I'm looking for ways to give them a better experience from our application. Instead of a simple text box, I plan to have some simple IDE experience with autocompletion of attributes on objects etc. The simpler the better. Was looking into CodeMirror.
Has anyone else done this? Has JET some support for such source code editing? Has anyone used an external component for it and deployed in production?
Like to hear from you, and thanks for the efforts!
Jaco Verheul
Application Architect.

Comments
Post Details
Added on Jan 15 2021
1 comment
220 views