This code can be used as a default style with Redgate SQL Prompt for Thinkwise projects.
- Search for "Redgate SQL prompt" in the extensions of Azure SQL Data studio
- Download the Redgate SQL prompt VSIX file from the extension page
- Go to "File → Install Extension from VSIX Package" and install the package
- Press "CTRL → Shift → P"
- Search for "SQL Prompt: Create Formatting Style" and open it
- Select one of the default styles to copy
- Name your style (e.g. Thinkwise)
- Paste the code of this Repositories "thinkwise.formattingstyle" file into your created file
- Save the file
- Press "CTRL → Shift → P"
- Search for "SQL Prompt: Change Active Formatting Style"
- 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)
- Right click on a document
- Select "Format Document With"
- Choose "Redgate SQL Prompt"