Skip to Main Content

SQL Developer for VS Code

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!

Any plans to include a JavaScript engine to support the script command in SQLcl within SQLDev for VS Code?

SQLDev for VS Code comes with a JDK version 21. That version does not include a JS engine anymore. In the standalone version of SQLcl we can control the JDK and choose one that has a JS engine. That's not possible within VS Code. As a result, the script command cannot be used.

This example script

script
console.log(42);
/

throws an error

It would be great if a future version would support the script command.

Thanks!

This post has been answered by user_2DKLA on Jan 19 2024
Jump to Answer
Comments
Post Details
Added on Jan 19 2024
1 comment
320 views