25 September 2017
25 September 2017

How we used your feedback to improve parentheses formatting in SQL Prompt 8.1

After we released SQL Prompt 8, our priority was to continue to support the new formatting engine by fixing any bugs and reviewing feedback from users.

One of the recurring patterns we noticed in your feedback regarded parentheses formatting. Some of you told us you couldn’t format the parentheses exactly the way you wanted to.

We also heard that many of you were having trouble understanding how the different parentheses options worked and, in some cases, how they could be combined to get different results.

This was how we originally displayed parenthesis options:

 8.0 parentheses options

And this is how we have updated parenthesis options in SQL Prompt 8.1:

 8.1 parentheses options with indent selection preview (GIF)

As you can see, we’ve given you more options to format your parentheses, while at the same time making it easier for you to decide which option to choose to get the desired results.

We created a brand new parenthesis UI with a much more visual way of providing you with options. This new method allows you to identify which options best fits your needs at a glance.

We spoke to many of you to discuss your parenthesis requirements in more detail. From those calls, we’ve developed nine styles from which you can choose your particular formatting need.

One cool new feature we’ve added that was suggested during development was for the Indent parentheses button to make visual changes to the parentheses selection buttons. You can see this in action in the GIF above.

We’ve made these parenthesis options available in the places you need to format them. In the Custom Style screen you can find the new Parenthesis options within Global settings. You can also find parenthesis options available under the Schema (DDL) and CTE within Statements settings.

We hope these new parenthesis formatting options help you when setting up your style. You can get them right now by upgrading to SQL Prompt 8.1.

To see what we’re working on next check out our roadmap, and to suggest new features you want to see in SQL Prompt, add them to UserVoice.

Tools in this post

SQL Prompt

Write, format, and refactor SQL effortlessly in SQL Server Management Studio and Visual Studio.

Find out more

Share this post.

Share on FacebookShare on Google+Share on LinkedInTweet about this on Twitter

Related posts

Also in Hub

Documenting your Database with SQL Change Automation

It would be wrong to portray SQL Change Automation (SCA) as being suitable only for epic project deployments, of the sort described in my previous article. It can do smaller tasks as well. To demonstr...

Also in SQL Prompt

SQL Prompt Code Analysis: INSERT INTO a permanent table with ORDER BY (PE020)

The SQL query that is used to produce the result that is inserted into the permanent table has its order specified by an ORDER BY statement. Relational tables are not ordered, so the ORDER BY is meani...

Also in Product learning

Spoofing Realistic Credit Card Data for your Test Systems using Data Masker

Data protection and privacy regulations, ranging from GDPR to HIPPAA to PCI, among many others, put strict compliance requirements on the storage and use of personal and sensitive data, in any of your...

Also about SQL Prompt

Improving legacy code using SQL Prompt code analysis

Code analysis is a useful technique for identifying potential issues in your code base, and ensuring that it adheres to your pre-defined standards, so that you can release your software product with m...