-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[prettier-plugin-sql] PL-SQL code from Oracle Apex causing error #291
Comments
This should be reported to https://github.com/sql-formatter-org/sql-formatter instead. cc @nene |
prettier/packages/sql/package.json Line 48 in a8a0ff4
And it seems we are outdated now, |
This seems like a bug in SQL Formatter. However I'd like to see a reference for this syntax in Oracle documentation. For example this page, describing the syntax of placeholders, does not mention At the moment one can pick the PostgreSQL dialect, which supports |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
The following setting will also do the trick. {
"paramTypes": "{custom:[{regex:':\\w+(\\$\\w+)?'}]}"
} |
Yeah it does seem a bit strange to call a different Prettier plugin from within a plugin, but would not be so strange if the And then if this idea would be acceptable to everyone, |
Well, the |
I have valid PL-SQL code and I am getting an error when trying to format it.
This is the code I used:
I am getting the following error:
If I replace all occurrences of
APEX$ROW_STATUS
with some other word the formatting works as expected.The text was updated successfully, but these errors were encountered: