-
Notifications
You must be signed in to change notification settings - Fork 4
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
SQLcl command FORMAT FILE not work #23
Comments
This is seems a sqlcl bug. Have you tried version 20.3? |
20.3 didn't change anything. |
Having the same issue. Could you load format_temp.sql to the buffer via a get, format it in the buffer, then SAV format_temp.sql REPLACE to work |
That would great if it could be done. We could make it as a setting option. @steveduffy you are kindly invited to open a PR if you feel like contributing. |
"Fixed" it by downgrading to SQLcl 19.2.1 (included in SQL Developer 19.2.0) |
Thanks @fdawans for sharing! |
Well... Actually no, it seemed to work a few times but it's broken again. Edit: I think it's an issue in the escape characters of the file path for the .xml and/or the sql.exe. |
I just wanted to update, I tested the newest version of SQLcl and the format sees to work again (sqlcl-21.2.1.195.1252.zip) . Good Luck! |
With SQLcl: Release 19.2.1 I get "parse error"... haven't tried with 21 yet. |
I went back to SQLcl 19.2.1, I liked that formatting better (I probably need to update my formatting rules for 21) |
No changes after formatting.
Formatting happens but not according to my rules.
It looks like the loaded rules don't affect the result.
But if you do formatting via the buffer without changing the formatting rules ...
В этом случае похоже правила сработали.
The text was updated successfully, but these errors were encountered: