SSMS – How to Wrap Identifiers Automatically with Brackets in Text Editor

ssms

Working in SQL Server Management Studio, when using the text editor:

Is there any way to automatically wrap schema names, table names, column names and other identifiers with brackets so I don't have to put them manually, just in the same way it does it when it auto-generates queries? Is there (perhaps) any Intellisense feature I'm missing?

EDIT: see accepted answer

Best Answer

There is no native function for this yet in SSMS. You can view the IntelliSense properties document here.

APEX makes a free formatting tool and there is another tool called Poor Man's T-SQL. RedGate also makes a tool that is paid, all three work nicely. I am sure there are other tools out there too.