Skip to Main Content

Oracle Developer Tools 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!

Version 19.3.4 now available - please try it out and let us know your feedback

Christian.Shay -OracleMar 19 2021 — edited Mar 19 2021

Hi,
Today we released Oracle Developer Tools for VS Code version 19.3.4. Please try it out and let us know what you think:
https://marketplace.visualstudio.com/items?itemName=Oracle.oracledevtools&ssr=false#overview
This release adds new features and fixes that you brought to our attention in this forum and elsewhere. Thank you for your involvement in making this product better. Please keep the feedback coming!
Some key features that were brought about by your feedback include:
Script execution integration with the Problems panel including navigation to error locations and highlighting of error lines
Breadcrumb support enabling navigation within scripts
Materialized view support in Oracle Explorer
Setting to change delimiter for CSV file generation
Directory Server (LDAP) multiplatform support (Windows, macOS, Linux)
Results from script execution use session NLS settings
Additional features:
Generate SELECT, INSERT, and DELETE SQL statements for relational tables from Oracle Explorer
Describe context menu on the Oracle Explorer nodes shows object metadata
Show data on all different types of tables and views in Oracle Explorer
Icons added to Oracle Explorer nodes
Tooltip support for data grid
Copy menu item for individual cells in data grid

I am looking forward to hearing your feedback to help make this product better. Please add your comment below or start a new thread.

Comments

Adil D.

some great news (breakcrumb and materialized views).
I'm watting for format code , some completion improve and oracle ORDS support , and some other things,
but things going well

User_EF1YH

I can't seem to see it in VSCode, is there a minimum version required?

Christian.Shay -Oracle

Thanks for bringing this to my attention! You are correct. VS Code needs to be updated to version 1.51.1 or later before you will see Oracle Developer Tools for VS Code 19.3.4 in the marketplace. Please go to the VS Code menu and choose Help->Check for Updates.

User_EF1YH

Thanks, unfortunately my company packages and distributes VSCode centrally which means getting it updated is a nightmare, I'll try and find a way to test out the new stuff!

Adil D.

Hi had the same problem with my company ( package update on 2-3 years) for vscode this is not possible, because this software is monthly dev iteration, and oracle and others company can't deal with that (no LTS for vscode)

User_6BTKC

Once again great release. I've had a few hours in now and can give some feedback.

Plain old this is awesome Feedback:
Materialized views -> huge win for me I really appreciate them in the explorer rather than me having to do selects off the dictionaries if I want to find them.
Hints -> are great, did not know those were on the roadmap but already a great help.
NLS Settings and the Output In general seems much better. Tables are sized more reasonably by default.
Problems tab and peak issues looks really nice and well done!

Constructive Feedback:
It seems like the object explorer is still requiring that you have edit access to a package or package body to view the source. If you have access to a DB but not edit to a specific schema/user you can see the package is there but if you right click it to open it nothing happens. In SQL Developer i can view the package body just not save it.

@adil-d as a temp fix you can try mp.vscode-oracle-format another extension. It requires your local machine have the SQLcl installed properly and in the path where vs code can find it.

Peachman

Hi, having some issues with connecting after update with no changes to my settings. I have an advance connection type with a connection string in, username and password (all correct details) and was able to connect in 19.3.3, when it updated to 19.3.4 it is now just throwing a connection timed out error.

I also have 2 proxy connections that use a ODP.NET string, both of these have the same issue?

Christian.Shay -Oracle

Are you on macOS? If so, please install .NET Runtime 5.0 and then restart Visual Studio Code:
If you are not on mac, you don't need to upgrade.

User_WP7OZ

Hi,
Nice update! I just want to report an issue whith accents strings opening a package from the Oracle explorer:
image.png
Could be the encoding you are using to open the file, i have configured WIN 1252 for .sql, and .plsql.
Cheers

Hi, are you saying that the characters are not rendering correctly? If so, which characters?

User_WP7OZ

Hi, I dont think the issue is related to the rendering process, this could be an encoding problem. I open the .sql file as win 1252 and it looks correctly:
image.pngBut, when I load it from Oracle Explorer, The extension open the file with a different enconding (maybe UTF-8, i suppose), even if I have configured .plsql to open with WIN-1252 (ANSI):
image.pngIf I press "save to database" the package keeps that wrong encoding.
This happens with any charater that is not supported by UTF-8 like "á, é, í, ó, ú" etc.

User_6BTKC

Hello, had potential enhancement for a future release suggestion now that the object explorer is getting so awesome we could make it a bit better.

Right now if you have multiple similar connections say a test and live environment. Its tough to tell which one you've arrived at if you are searching the explorer. A nice add on would be on the fly-over for an object to give its fully qualified name?

Instead of mouse over of a table saying TABLE_NAME perhaps say
SCHEMA_NAME.TABLE_NAME@DATABASE_NAME ?
Nothing critical but it would be nice!

User_YN4VF

I'm having some performance issues; when I drop a certain query in TOAD, it runs in about 50 seconds. If I drop that same exact query in the Oracle VSCode Extension, it just runs and runs and never ends. Any ideas? The specific result set it returns is small, 2 rows by 167 columns

Hi there,
Are you sure you are running against the same exact database? Some organizations have multiple "test" databases that are very similar. You should verify the connection strings, and if tnsnames.ora is being used make sure they are identical and coming from the location you think they are coming from.
You mention "drop" but it sounds like you are doing a select? Could you please provide the select statement you are executing? Could you also issue a "describe objectname" for the schema objects being used?
Please let me know what OS you are using, what version of our extension you are using, and what version the database is.
Finally, if possible you should ask your DBA if there is any tracefile being generated on the server when you run the query. If you hit a bug of some kind, it may produce an error in a tracefile in the database server.

User_WC04A

After the update, my timestamp format changed to DD-MMM-RR. How do I default this back to YYYY-MM-DD HH24:MI:SS? For now, I have to run ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS' for every session. How do I set this as the default moving forward for the Visual Studio Code extension?

Christian.Shay -Oracle

Hi,
As you point out, in this release we fixed an issue where we were not honoring the session nls_date_format.
If you don't want to set this every time manually, can you get your DBA to create a login trigger for your user and have the trigger set nls_date_format?
We are hoping to add a "login.sql" type option in a future release that will allow you to run sql each time you connect using this extension.

Thanks for the suggestion. I will add this to our list.

User_6BTKC

You and the whole team are awesome.

Siddharth Patel

Hi, all the latest improvements are welcome. One major feature missing is filters in the explorer for packages, views etc. Currently when I click on them it takes a very long time for them to open as they are loading all the packages. If we have a filter like it is in the SQL Developer where it loads only the ones in the filter it will make this much more usable.
Thank you.

Christian.Shay -Oracle

Thanks for letting me know. Explorer Filtering is a popular request and we hope to do something there. Please make sure you are on version 19.3.4 as we did do some performance optimizations, however I suspect they will not help you in this situation.

dpal17

I can not connect to my databases any more, always getting a timeout. The databases themselve work correctly, I can connect through SQL Developer. Any ideas where to start searching (logfiles etc.)?
Oracle Version: 12c (12.1.0.1.0 - 64 bit)

1 - 21

Post Details

Added on Mar 19 2021
21 comments
687 views