How to set VS Code SQLTools format settings to match DataGrip SQL format settings?

Viewed 25

I'm trying to format my SQL code on VSCode SQLTools to match other team members using DataGrip with Webstorm onto VScode SQLTools but having no luck matching the SQL formatting without installing node modules (repo is for metrics). Does anyone have a Settings.json for SQLTools or a VSCode extension that matches DataGrip SQL formatting?

This is formatting in DataGrip

WITH timeRange(unix_start_time, unix_end_time) AS (VALUES (1663048800, 1663135199))

changes to when formatting in SQLTools

WITH timeRange(unix_start_time, unix_end_time) AS (
  VALUES (1663048800, 1663135199)
)
0 Answers
Related