Visual Studio Code安装Oracle SQL Developer插件

Visual Studio Code,简称VS Code,是最流行的IDE之一。SQL Developer作为面向 Oracle 数据库专业人员的查询、开发和管理工具,现已可作为插件(Extension)在VS Code中安装。无需安装 Java, .NET, 和Oracle Client 。

数据库支持:支持在本地、虚拟机、容器、云等中运行的 Oracle 数据库版本 11g 至 23c。 还支持 Oracle 云自治无服务器连接(使用云钱包)。

简介参见这里

文档见这里

适用于 VS Code 的 Oracle SQL Developer Extension 提供了执行 SQL 查询和脚本、执行 PL/SQL 开发以及与数据库模式对象交互的功能。 SQL Developer 经过数十年的开发,得到了全球超过 600 万用户的支持,它带来了当今开发人员在使用Oracle数据库时所期望的功能。

进入菜单View>Extensions,搜索Oracle SQL Developer,然后单击Install

左侧数据库图标,即SQL Developer插件的入口:

点击上方带加号的文档图标,可打开SQL worksheet。

右上角几个图标,是对应于SQL worksheet的,分别是:

  • 运行语句
  • 运行脚本
  • 在SQLcl中运行
  • Exaplain Plan
  • 关联连接

主要功能:

  • 连接
  • 浏览Schema
  • SQL Worksheet
  • Data Grid(结果集中右键菜单)
  • PL/SQL Code Editor(浏览Schema中选择Procedure)
  • 代码片段(Code Snippets,浏览Schema的最下方)
  • SQLcl 集成

此插件刚发布1个月,接下来会快速加入更多新功能。每季度更新一次,使用 YY.Q 编号,例如 23.4、24.1、24.2。拥有有效支持和维护合同的 Oracle 数据库客户可以通过 My Oracle Support 提交服务请求。

还有一个重要的点,就是下面这段话:

Over the next few quarters, we will be rapidly introducing new features from the desktop tool, and the SQL Developer Extension for VS Code will become the new SQL Developer.

刚开始没太理解,直到看到SQL Developer产品经理Jeff Smith写的这篇

Once we achieve feature parity, the old SQL Developer product will be deprecated. As of now, no new features will be added to SQL Developer (Classic).

New feature development will continue for SQLcl, SQL Developer Web, and the SQL Developer VS Code Extension.

意思是说,一旦此插件功能成熟,旧的(传统的) SQL Developer 产品将被弃用。 截至目前,SQL Developer (Classic) 中不会添加任何新功能。SQLcl、SQL Developer Web 和 SQL Developer VS Code Extension 的新功能开发将继续进行。

看来Oracle SQL Developer Extension for VS Code是Oracle SQL Developer 未来的方向。

补记:我就知道不止我一人关注这个问题。关于SQL Developer未来发展,参见这个帖子。和上面的结论是一致的。

相关推荐
安迪小宝2 小时前
20 FastAPI 性能优化
oracle·性能优化·fastapi
艾斯比的日常8 小时前
VSCode 实用快捷键
ide·vscode·编辑器
Galaxy_12298 小时前
vscode远程报错:Remote host key has changed,...
ide·vscode·编辑器
彬sir哥8 小时前
VScode运行后出现黑窗口
vscode·运行·黑窗口
Dawndddddd9 小时前
网络安全之攻防笔记--通用漏洞SQL注入之MySQL&mssql&postgresql
笔记·sql·web安全
&木头人&13 小时前
oracle 查询当前节点对应的根节点的id
数据库·oracle
比牛顿更懂PID15 小时前
VSCode本地python包“无法解析导入”
ide·vscode·python
Small black human17 小时前
MySQL-事务
数据库·mysql·oracle
&木头人&18 小时前
oracle取金额的绝对值
数据库·oracle
前端郭德纲18 小时前
vscode默认终端怎么设置成git bash
git·vscode·bash