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

SQLTools

by mtxr ST3

SQLTools for Sublime Text 3

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

SQLTools

Join the chat at https://gitter.im/SQLTools/Lobby

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: https://code.mteixeira.dev/SublimeText-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 and Snowflake
  • Smart completions (except SQLite)
  • Run SQL Queries   CTRL+e, CTRL+e
  • View table description   CTRL+e, CTRL+d
  • Show table records   CTRL+e, CTRL+s
  • Show explain plan for queries   CTRL+e, CTRL+x
  • Formatting SQL Queries   CTRL+e, CTRL+b
  • 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 latest released 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

This project exists thanks to all the people who contribute.

Configuration

Documentation: https://code.mteixeira.dev/SublimeText-SQLTools/