azuredatastudio
azuredatastudio copied to clipboard
Add SQL Code formatting, And suggestions for table joins
- SQL Operations Studio Version: Latest
Steps to Reproduce: It would be very helpful if we can get a Command to format a complex script. Also When writing Large queries it is nice if the editor would suggest table and column joins based on a priority
@yitzchokneuhaus1 have you tried the Format Selection
or Format Document
commands for formating (available in the context menu for example)?
We've discussed adding JOIN suggestions to the intellisense recommendations. This is a really useful feature that is available in several other SQL editors that we'd also like to provide.
Well, Format Document
work's poorly with more complex structures (at least inside Crete/Alter procedure statements).
I'm not sure if you are aware of that - I can give some examples if needed.