Skip to content
Cuauhtemoc Amox edited this page Apr 9, 2016 · 17 revisions

Install

From the preferences menu, select Browse Packages...

On the file explorer, the Packages folder will be open, navigate to the parent folder (Sublime Text 2/3) and look for the Installed Packages folder (create it if not there).

Download the Oracle.sublime-package from the repository into the Installed Packages folder (overwrite if prompted).

Restart Sublime

Use syntax

If the desired syntax is not selected by default (e.g. SQL is used for default for .sql files), click on the lower right of the status bar to show the list of available syntax definitions, select Oracle and then the appropriate syntax.

Define database connections

From the preferences menu, select Browse Packages...

On the explorer, navigate to User folder

Download the SQLPlus....sublime-build from the repository into the Installed Packages folder (overwrite if prompted).

Edit the file in Sublime text and add entries for your environments based on the example provided, e.g.

    {
        "name": "Run with SQL*Plus as scott@demo.world",
        "cmd": ["sqlplus", "scott/tiger@demo.world", "@$file"]
    }

You only need to modify the following

Execute a SQL*Plus script with SQL*Plus

Note: This assumes SQL*Plus executable is available

Type CTRL+SHIFT+P, type SQLP and select the appropriate connection.

Clone this wiki locally