prettier-plugin-sql-cst
prettier-plugin-sql-cst copied to clipboard
Prettier SQL plugin that uses sql-parser-cst
Hi! This might be a limitation of sql-parser-cst? I would be glad to help out if you can point me in the right direction on how to begin. The issue...
Copied from original `sql-formatter` issue: https://github.com/sql-formatter-org/sql-formatter/issues/684 **Describe the Feature** New default behavior in `prettier-plugin-sql-cst` to remove unnecessary parentheses in SQL (maybe with a way to disable): ```sql -- Before SELECT...
Hi @nene , thank you for the great work. As a Data Scientist working with very long queries often, a good formatter is essential to understand what is going on....
Currently the plugin strips trailing commas to enforce a consistent syntax across all SQL dialects. Trailing commas are not part of the SQL standard and are only supported by a...
I'm experiencing a curious bug where comments don't end up where I expect. In addition, if I keep formatting the text, the comments keep moving until they all settle on...
So that [prettier-plugin-embed](https://github.com/Sec-ant/prettier-plugin-embed/pull/40#issuecomment-1880420698) would not need to update its parser list each time new dialect is added.
Similar to the `dataTypeCase` and `functionCase` in `sql-formatter`: - https://github.com/sql-formatter-org/sql-formatter/pull/673 It seems like this would be much simpler to implement here, because according to [SQL Explorer](https://nene.github.io/sql-explorer/) the node types already...
# Describe the Feature Provides an extension option to ignore unrecognized syntax instead of reporting an error. # Why do you want this feature? I know that there are many...
It'd be nice to have a standalone version that can work on non-Node.js projects, like C++, Go, Rust, etc. Adding an extra toolchain dependency just for a formatter would be...
Currently results in: ```sql DROP TABLE table1, table2; ``` Works work like DROP VIEW: ```sql DROP VIEW foo, bar; ```