SQL Formatter for Visual StudioDownload this extension from the Visual Studio Marketplace or get the CI build Formats T-SQL code to a consistent and readable layout. Invoke the Format Document command or Powered by the Poor Man's T-SQL Formatter library. Before: After: Format stringsIn C# and other languages, you can invoke the formatter by selecting the text and right-click to select Format SQL. Or you can simply hit .editorconfig supportYou can specify the configuration options in an
When there are no .editorconfig files or the Global optionsHow can I help?If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace. Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist. Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited. Another way to help out is to sponsor me on GitHub. |