Connecting to Oracle with Visual Studio Code’s Oracle Developer Tools Extension

For developers working with Oracle databases, the convenience of integrating database management directly into their development environment can significantly enhance productivity. Visual Studio Code (VS Code) is a popular editor that supports such integration through extensions. This blog post explores the Oracle Developer Tools extension for VS Code, providing a detailed guide on how to set it up and use it for connecting to Oracle databases.

How to Connect to Oracle Using the Oracle Developer Tools Extension in Visual Studio Code

Installation of VS Code

Ensure that Visual Studio Code is installed on your machine. You can download it from the official Microsoft website. Installation is straightforward; just follow the provided instructions.

Installing Oracle Developer Tools Extension

  1. Open Extensions View: In VS Code, click the square icon on the sidebar, or press Ctrl+Shift+X to open the Extensions view.
  2. Search and Install: Enter “Oracle Developer Tools” in the search bar, find the extension in the results, and click on the install button.

Configuring the Connection

  1. Access Oracle Developer Tools: Once installed, the Oracle Developer Tools sidebar should appear in VS Code.
  2. Add New Connection: Click the “+” sign to start setting up a new database connection.
  1. Enter Connection Details: Provide your database connection credentials, including host, port, service name, username, and password.
  1. Save and Connect: After entering your details, save the configuration and connect. Ensure that any necessary database drivers or clients are installed on your machine.

Using the Extension

  • Database Interaction: You can browse schemas, tables, and execute SQL queries directly from VS Code.
  • Productivity Features: Utilize snippets and the command palette to streamline your workflow and make database management more efficient within the development environment.

Advantages of Using Oracle Developer Tools in VS Code

  • Integrated Environment: Manage your database and codebase in the same application, reducing the need to switch between tools and thus enhancing productivity.
  • Cost Efficiency: VS Code and its extensions, including Oracle Developer Tools, are generally available at no cost, making it an economically viable option for individuals and organizations.
  • Customization: Leverage the extensive customization options of VS Code to tailor the tool to your specific needs through additional extensions and settings.

Disadvantages of Using Oracle Developer Tools in VS Code

  • Feature Range: While Oracle Developer Tools offer a range of useful features, they may not cover as extensive a feature set as specialized tools like TOAD, which are specifically designed for database management.
  • Performance: Handling large datasets or executing complex database operations might be more efficient in tools dedicated to database management due to their optimization for these tasks.


The Oracle Developer Tools extension for VS Code offers a convenient and cost-effective solution for developers who prefer an integrated development environment. While it provides essential tools for database management within VS Code, more specialized tools like TOAD may still be the better option for certain advanced database operations or when handling particularly large datasets. The choice between these tools largely depends on your specific needs and the complexity of the tasks you need to perform.

Get in Touch

To stay up to date with Dataworks Limited news and events, connect with us via the links below or call us on 051 878 555

This image has an empty alt attribute; its file name is image-9.png