Skip to content

MxJ24/SQLTools

 
 

Repository files navigation

SQLTools v0.5.4 SQLTools

Codacy Badge

Your swiss knife SQL for Sublime Text.

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

  • 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
  • Auto complete (for PostgreSQL & MySQL. Looking for help with other SGDBs)
  • Run SQL Queries (CTRL+e, CTRL+e) Auto complete (PostgreSQL & MySQL) && Run SQL Queries
  • 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)

Todo

Up coming features:

  • Auto complete for Oracle, Vertica, Firebird and SQLite

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 its PATH set from launchctl, not by your shell. Binaries installed by packages such as homebrew, for instance Postgresql, cannot be found by Sublime Text and results in a null pointer exception thrown by SQLTools. Installing the package Fix Mac Path resolve this issue. This package can be downloaded here.

Configuration

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

About

SQLTools for Sublime Text 3

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 100.0%