ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

SQLTools

by mtxr ST3

SQLTools for Sublime Text 3

Details

Installs

  • Total 15K
  • Win 10K
  • OS X 3K
  • Linux 2K
Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4
Windows 16 37 35 24 10 13 23 32 31 24 32 5 13 25 15 33 25 7 7 16 27 28 26 30 13 15 7 17 27 29 25 40 24 10 32 30 36 30 30 8 4 32 39 29 34 24
OS X 4 7 4 8 5 4 7 12 12 5 4 10 9 6 9 12 7 3 2 4 7 11 4 3 1 5 3 4 14 6 9 12 2 6 16 11 10 10 10 0 5 6 11 11 10 9
Linux 2 8 7 8 3 3 4 7 9 3 2 2 6 4 9 3 7 2 5 3 5 2 5 2 0 3 0 7 5 6 7 4 3 1 5 4 3 10 5 1 4 1 6 2 4 4

Readme

Source
raw.​githubusercontent.​com

SQLTools SQLTools

Your swiss knife SQL for Sublime Text.

Write your SQL with smart completions and handy table and function definitions, execute SQL and explain queries, format your queries and save them in history.

Project website: http://mtxr.github.io/SQLTools/

If you are looking for VSCode version go to https://github.com/mtxr/vscode-sqltools.

Donate

SQLTools was developed with ♥ to save us time during our programming journey. But It also takes me time and efforts to develop SQLTools.

SQLTools will save you (for sure) a lot of time and help you to increase your productivity so, I hope you can donate and help SQLTools to become more awesome than ever.

PayPal donate button

Features

  • Works with PostgreSQL, MySQL, Oracle, MSSQL, SQLite, Vertica, Firebird
  • Smart completions (except SQLite)
  • Run SQL Queries   CTRL+e, CTRL+e Auto complete and run SQL queries
  • View table description   CTRL+e, CTRL+d View table schemas
  • Show table records   CTRL+e, CTRL+s Show table records
  • Show explain plan for queries   CTRL+e, CTRL+x
  • Formatting SQL Queries   CTRL+e, CTRL+b Formatting SQL Queries
  • View Queries history   CTRL+e, CTRL+h
  • Save queries   CTRL+e, CTRL+q
  • List and Run saved queries   CTRL+e, CTRL+l
  • Remove saved queries   CTRL+e, CTRL+r
  • Threading support to prevent lockups
  • Query timeout (kill thread if query takes too long)

Installing

Using Sublime Package Control

If you are using Sublime Package Control, you can easily install SQLTools via the Package Control: Install Package menu item.

  1. Press CTRL+SHIFT+p
  2. Type Install Package
  3. Find SQLTools
  4. Wait & Done!

Download Manually

I strongly recommend you to use Package Control. It helps you to keep the package updated with the last version.

  1. Download the files zip file here
  2. Unzip the files and rename the folder to SQLTools
  3. Find your Packages directory using the menu item Preferences -> Browse Packages...
  4. Copy the folder into your Sublime Text Packages directory

Using SQLTools with Mac OS X

Sublime Text has it's environment variable PATH set from launchctl, not by your shell. Binaries installed by packages such as homebrew, for instance psql DB CLI for PostgreSQL, cannot be found by Sublime Text and results in error in Sublime Text console by SQLTools. Installing the package Fix Mac Path or setting the full path to your DB CLI binary in SQLTools.sublime-settings resolves this issue. Package can be downloaded via PackageControl or github.

Contributors

These fellows helped SQLTools to become better than ever. Thank you so much!

Configuration

Documentation: http://mtxr.github.io/SQLTools/