Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.15 KB

File metadata and controls

25 lines (21 loc) · 1.15 KB

Redgate SQL Prompt Formatting Style

This code can be used as a default style with Redgate SQL Prompt for Thinkwise projects.

How to install Redgate SQL Prompt in Azure SQL Data Studio

  1. Search for "Redgate SQL prompt" in the extensions of Azure SQL Data studio
  2. Download the Redgate SQL prompt VSIX file from the extension page
  3. Go to "File → Install Extension from VSIX Package" and install the package

How add the Thinkwise style to Redgate SQL Prompt

  1. Press "CTRL → Shift → P"
  2. Search for "SQL Prompt: Create Formatting Style" and open it
  3. Select one of the default styles to copy
  4. Name your style (e.g. Thinkwise)
  5. Paste the code of this Repositories "thinkwise.formattingstyle" file into your created file
  6. Save the file

How to choose your active formatting style

  1. Press "CTRL → Shift → P"
  2. Search for "SQL Prompt: Change Active Formatting Style"
  3. Choose your desired formatting style

How to use Redgate SQL Prompt as default formatter using Shift → Alt → F (if this is your first formatter, this step is probably unnecessary)

  1. Right click on a document
  2. Select "Format Document With"
  3. Choose "Redgate SQL Prompt"