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
{{ message }}
This repository was archived by the owner on Jul 6, 2022. It is now read-only.
Describe the bug
It removes the space between OR and REPLACE. in other words it converts OR REPLACE to ORREPLACE
To Reproduce
Try to format something like this one.
CREATE OR REPLACE FUNCTION "public" . "set_current_timestamp_updated_at"() RETURNS TRIGGER AS $$
Expected behavior
It should preserve the space between the OR and REPLACE Keywords. which should remain two words.
Screenshots
Usage
Occurred with PostgreSQL, Not sure about other SQL standards
VSCode version? Version 1.66.2
What are your currently configured VSCode settings for the prettier-sql extension, if relevant to the issue?
// following setting is under the settings.json file. but no entry with the key "prettier-sql"
"[plsql]": {
"editor.defaultFormatter": "inferrinizzard.prettier-sql-vscode"
},
Additional context
Pl. comment if you need anything specific to hunt this bug.
Describe the bug
It removes the space between OR and REPLACE. in other words it converts OR REPLACE to ORREPLACE
To Reproduce
Try to format something like this one.
CREATE OR REPLACE FUNCTION "public" . "set_current_timestamp_updated_at"() RETURNS TRIGGER AS $$
Expected behavior
It should preserve the space between the OR and REPLACE Keywords. which should remain two words.
Screenshots
Usage
prettier-sqlextension, if relevant to the issue?// following setting is under the settings.json file. but no entry with the key "prettier-sql"
"[plsql]": {
"editor.defaultFormatter": "inferrinizzard.prettier-sql-vscode"
},
Additional context
Pl. comment if you need anything specific to hunt this bug.