Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sublime Text 2 plackage for editing Oracle SQL and PL/SQL
Python
branch: master
Failed to load latest commit information.
.gitignore Adding example.sublime-keymap.
Comments.tmPreferences Initial commit
Default.sublime-commands Initial commit
Example.sublime-keymap Adding example.sublime-keymap.
Indent.tmPreferences Initial commit
New Function.tmSnippet Initial commit
New Procedure.tmSnippet
PL_SQL (Oracle).tmLanguage Update PL_SQL (Oracle).tmLanguage
RunSQL.sql Reverted accidental remove of changes made to RunSQL.sql.
Symbol List.tmPreferences Initial commit
begin ___ end.tmSnippet Initial commit
elsif ___.tmSnippet Initial commit
fail.tmSnippet Initial commit
if ___ else ___ end.tmSnippet Initial commit
if ___ end.tmSnippet Initial commit
log debug.tmSnippet Initial commit
log error.tmSnippet Initial commit
log print.tmSnippet Initial commit
loop ___ end.tmSnippet Initial commit
oracle_commands.py Initial commit
oracle_exec.py Support file paths with spaces
oracle_lib.py Schema names are now retained so that you can connect to a database a…
readme.rst corrected typo in readme.rst
success.tmSnippet Initial commit

readme.rst

Sublime Text 2 package for editing Oracle SQL and PL/SQL

Language definition and execution utilities for Oracle PL/SQL files.

It is based on the bundle http://code.google.com/p/oracle-textmate-bundle/

Install

  • Download and extract package. Rename folder from Oracle-master to OracleSQL and place in C:\Users\...\AppData\Roaming\Sublime Text 2\Packages\
  • Install keymaps for the commands (see Example.sublime-keymap for my preferred keys)

Build

To execute your PL/SQL source on your schema with ST2 Build command, you have to create a .sublime-build in your ST2 Users folder file containing something like:

{
    "target": "oracle_exec",
    "selector": "source.plsql.oracle",
    "variants":
    [
        {
            "name": "SCHEMA 1",
            "dsn": "USERNAME/PASSWORD@SCHEMANAME1"
        },
        {
            "name": "SCHEMA 2",
            "dsn": "USERNAME/PASSWORD@SCHEMANAME2"
        }
    ]
}
Something went wrong with that request. Please try again.