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

SQLTools

by mtxr ST3

SQLTools for Sublime Text 3

Details

Installs

  • Total 12K
  • Win 8K
  • OS X 3K
  • Linux 2K
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8
Windows 4 10 12 36 31 21 32 36 15 21 23 29 25 45 35 19 11 28 25 28 41 33 10 9 34 31 42 47 43 9 7 43 42 31 48 38 18 20 41 65 45 27 19 11 18 18
OS X 2 4 5 4 11 5 12 10 6 2 4 11 7 7 8 2 5 13 13 4 12 7 2 6 8 22 16 18 11 7 4 11 15 15 16 12 8 12 10 22 21 11 6 3 2 7
Linux 0 2 2 3 7 12 5 8 5 5 3 3 6 6 6 4 5 5 10 7 2 16 6 5 8 2 6 7 7 5 7 3 10 9 8 10 3 5 3 11 6 9 3 1 5 5

Readme

Source
raw.​githubusercontent.​com

SQLTools v0.5.4 SQLTools

Codacy Badge

Your swiss knife SQL for Sublime Text.

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

Project website: http://mtxr.github.io/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

Contributors

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

Features

  • Smart auto completions (for PostgreSQL, MySQL, Oracle, MSSQL, Vertica, Firebird)
  • Run SQL Queries (CTRL+e, CTRL+e) Auto complete (PostgreSQL & MySQL) && Run SQL Queries
  • View table schemas (CTRL+e, CTRL+d) View table schemas
  • View Queries history (CTRL+e, CTRL+h)
  • Show table records (CTRL+e, CTRL+s) Show table records
  • Show explain plan for queries (PostgreSQL, MySQL, Oracle, Vertica, SQLite) (CTRL+e, CTRL+x)
  • Formatting SQL Queries (CTRL+e, CTRL+b) Formatting SQL Queries
  • Threading Support (prevent ST lockups)
  • Query timeout (Kill thread if query takes too long)
  • Unescape chars for languages (PHP \“ is replace by ”)
  • Save queries (CTRL+e, CTRL+q)
  • List and Run saved queries (CTRL+e, CTRL+a)
  • Remove saved queries (CTRL+e, CTRL+r)

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 recomend 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 evironment 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.

Configuration

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