Skip to Main Content

SQLcl

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.

Using VSCode as _EDITOR does not work (SQLcl: Release 22.1.0.0 Production Build: 22.1.0.90.1611)

User_MKVLWMay 13 2022

I'm loving sqlcl so far but I've run into a problem with external editors on Windows.
When I set DEFINE _EDITOR = code.cmd in my login.sql and use the edit command to edit open an sql file or the buffer in VS Code the file properly opens in VS Code but the sqlcl prompt returns immediately with what was already existing in the buffer. So even if I edit the file and save sqlcl does not pick up any of those changes.
It would be super helpful if this worked as intended as running sqlcl in the integrated vscode terminal and having edit open in the same instance is very handy.

This post has been answered by User_MKVLW on May 13 2022
Jump to Answer
Comments
Post Details
Added on May 13 2022
2 comments
201 views