Support PostgreSQL-isms including PL/PGSQL
Initially adds snippets for DDL objects in the PostgreSQL dump format
The preferred method of installation is via Sublime Package Control.
- Install Sublime Package Control
- From inside Sublime Text 2/3, open Package Control's Command Pallet: CTRL+SHIFT+P (Windows, Linux) or CMD+SHIFT+P on Mac.
- Type
install package
and hit Return. A list of available packages will be displayed. - Type
PgSQL
and hit Return. The package will be downloaded to the appropriate directory. - Restart Sublime Text 2/3 to complete installation. Open an SQL file and use.
- Download or clone this repository to a directory
PgSQL
in the Sublime Text 2/3 Packages directory for your platform:- Mac:
git clone https://github.com/jobywalker/PgSQL-Sublime.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/PgSQL
- Windows:
git clone https://github.com/jobywalker/PgSQL-Sublime.git %APPDATA%\Sublime/ Text/ 2/\PgSQL
- Linux:
git clone https://github.com/jobywalker/PgSQL-Sublime.git ~/.Sublime\ Text\ 2/Packages/PgSQL
- Mac:
- Restart Sublime Text 2/3 to complete installation. Open an SQL file and use.