freewizard / Sublimeformatsql
Licence: other
Sublime Text 2 command to format long SQL statement to a more readable form (also available via Package Control)
Stars: ✭ 107
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Sublimeformatsql
F3 Cortex
A multi-engine ORM / ODM for the PHP Fat-Free Framework
Stars: ✭ 101 (-5.61%)
Mutual labels: sql
Carbonsublime
🚀 A Sublime Text 3 Plugin for Carbon. (https://carbon.now.sh)
Stars: ✭ 104 (-2.8%)
Mutual labels: sublime-text
Griddb
GridDB is a next-generation open source database that makes time series IoT and big data fast,and easy.
Stars: ✭ 1,587 (+1383.18%)
Mutual labels: sql
Sublime Robot Framework Assistant
Robot Framework plugin for Sublime Text3
Stars: ✭ 103 (-3.74%)
Mutual labels: sublime-text
Redisql
Redis module that provides a completely functional SQL database
Stars: ✭ 1,393 (+1201.87%)
Mutual labels: sql
Maha
A framework for rapid reporting API development; with out of the box support for high cardinality dimension lookups with druid.
Stars: ✭ 101 (-5.61%)
Mutual labels: sql
Ransom0
Ransom0 is a open source ransomware made with Python, designed to find and encrypt user data.
Stars: ✭ 105 (-1.87%)
Mutual labels: sql
Incrementselection
Add a number to each selection in Sublime Text, incremented once per selection
Stars: ✭ 105 (-1.87%)
Mutual labels: sublime-text
Minisqlquery
Minimalist SQL Query tool for any .NET DB Provider - SQL, SQLite, SQL CE, Oracle, Access...
Stars: ✭ 103 (-3.74%)
Mutual labels: sql
Legacy Search
Demo project showing how to add elasticsearch to a legacy application.
Stars: ✭ 103 (-3.74%)
Mutual labels: sql
Dynamodb Oop
Speak fluent DynamoDB, write code with fashion, I Promise() 😃
Stars: ✭ 104 (-2.8%)
Mutual labels: sql
Trimmer
A Sublime Text plug-in for cleaning up whitespace.
Stars: ✭ 100 (-6.54%)
Mutual labels: sublime-text
Xorm
xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作
Stars: ✭ 1,394 (+1202.8%)
Mutual labels: sql
Php Thrift Sql
A PHP library for connecting to Hive or Impala over Thrift
Stars: ✭ 107 (+0%)
Mutual labels: sql
Postguard
🐛 Statically validate Postgres SQL queries in JS / TS code and derive schemas.
Stars: ✭ 104 (-2.8%)
Mutual labels: sql
Summary
FormatSQL formats long SQL statement to a more readable form by using python-sqlparse library.
How to Use
select sql and click menu Selection -> Format -> SQL
Configure key binding
add the following line to keymap settings
{ "keys": ["super+k", "super+s"], "command": "format_sql" },
Example
Original:
select a,b from foo join bar on val1 = val2 where id = 123 and cd = 99;
Formated:
SELECT a,
b
FROM foo
JOIN bar ON val1 = val2
WHERE id = 123
AND cd = 99;
License
python-sqlparse library and this code are both on 2-clauses BSD
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].