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 your feature request related to a problem? Please describe.
The way Formatter killed off all my indentation cause me a lot of trouble in reading the code. Please don't do that.
-- OriginCREATETABLEcontact_groups(
contact_id INTEGER,
group_id INTEGER,
PRIMARY KEY (contact_id, group_id),
FOREIGN KEY (contact_id)
REFERENCES contacts (contact_id)
ON DELETE CASCADEONUPDATE NO ACTION,
FOREIGN KEY (group_id)
REFERENCES groups (group_id)
ON DELETE CASCADEONUPDATE NO ACTION
);
-- FormattedCREATETABLEcontact_groups(
contact_id INTEGER,
group_id INTEGER,
PRIMARY KEY (contact_id, group_id),
FOREIGN KEY (contact_id) REFERENCES contacts (contact_id) ON DELETE CASCADEONUPDATE NO ACTION,
FOREIGN KEY (group_id) REFERENCES groups (group_id) ON DELETE CASCADEONUPDATE NO ACTION
);
Describe the solution you'd like
I simply want the formatter respect my indentation. Therefore I would like to add this option:
Is your feature request related to a problem? Please describe.
The way Formatter killed off all my indentation cause me a lot of trouble in reading the code. Please don't do that.
Describe the solution you'd like
I simply want the formatter respect my indentation. Therefore I would like to add this option:
Where as:
preserve
means nothing changes (default)nested
detects certain keywords and send them to a newline. For instance,ON
andREFERENCES
require a new indented line. (my format above)crowed
packs everything in one line (the current format)The text was updated successfully, but these errors were encountered: