Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.59 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.59 KB

sqlparse for Visual Studio Code

Format SQL Code.

screenshot

Requirements

  • Python (Recommend: Python version >= 3.4)

Visual Studio Marketplace

sqlparse for Visual Studio Code - Visual Studio Marketplace

Extension Settings

Default Settings

"sqlparse.identifierCase": "Unchanged",
"sqlparse.indentTabs": false,
"sqlparse.indentWidth": 2,
"sqlparse.keywordCase": "Upper case",
"sqlparse.outputFormat": "SQL",
"sqlparse.pythonPath": "/usr/bin/python3",
"sqlparse.stripComments": false
# [python-sqlparse]
# @see **options
sqlparse.format(sql, encoding=None, **options)

Format On Save

"[sql]": {
    "editor.defaultFormatter": "tinytamb.vscode-sqlparse",
    "editor.formatOnSave": true
},

Libraries