You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anyway to avoid the formatter from transforming: AND pedition = {EDITION} into this AND pedition = { EDITION }
I use templated SQL queries with Python, and need the curly brackets to do the string.format(EDITION=1)
but the spaces added on auto-save don't allow for that.
I have noticed that the formatter does not do the same if the template value is surrounded by quotes(single or double)
Example: AND pedition = "{EDITION}"
I'd be happy with being able to ignore this line or the whole file. Better would be the auto formatter to not do this formatting, although I suspect there is a reason for such behavior.
Thank you,
The text was updated successfully, but these errors were encountered:
Hi,
Is there anyway to avoid the formatter from transforming:
AND pedition = {EDITION}
into thisAND pedition = { EDITION }
I use templated SQL queries with Python, and need the curly brackets to do the string.format(EDITION=1)
but the spaces added on auto-save don't allow for that.
I have noticed that the formatter does not do the same if the template value is surrounded by quotes(single or double)
Example:
AND pedition = "{EDITION}"
I'd be happy with being able to ignore this line or the whole file. Better would be the auto formatter to not do this formatting, although I suspect there is a reason for such behavior.
Thank you,
The text was updated successfully, but these errors were encountered: