Create new Setting to only enclose SQL Keywords in square brackets
I don't want to use brackets for my code (unless I have to). So, for example, dbo.Orders is fine, but dbo.Order isn't. It would be nice if SQL prompt caught this and automatically enclosed the SQL Keyword "Order" in square brackets (i.e. dbo.[Order] AS o)
Jordan shared this idea
ben b commented
this would be a really useful one please.
we've got SonarQube doing code smells atm and it picks up situations where this happens which is a bit annoying... would be great if SQL prompt just did it for me please!
Jamie Burns commented
Yep, this would be really useful. At the moment, it seems we've just got the option to have square brackets around nothing, or everything.