Search code examples
tooltipssms

Are there any additional installation requirements to use Poor Man's T-SQL Formatter in SQL Server Management Studio? Because I am unable to access it


I have installed poor man's SQL formatter in SSMS v18.9.1

enter image description here


Solution

  • See issue #265 in the Github repository and link to a fix in issue #244.

    Edit ssms.exe.config
    C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE
    
    In <assemblyBinding> Add
    
    <dependentAssembly> <assemblyIdentity name="Microsoft.VisualStudio.Shell.12.0" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> <bindingRedirect oldVersion="2.0.0.0-15.0.0.0" newVersion="15.0.0.0"/> </dependentAssembly>