-
Notifications
You must be signed in to change notification settings - Fork 421
white space inserted for language db2 #123
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
Comments
Closed
I have mad a pull request after testing it out on my code #127 |
inferrinizzard
referenced
this issue
in inferrinizzard/prettier-sql
Nov 25, 2021
* fix zeroturnaround#152, Add + in scientific notation regex * fix zeroturnaround#159, Add token override for SET datatype * add common operators to Tokenizer, dedupe * update missing operators * use exhaustive list of monad operators * fix .. operator for PlSQL * fix handling for braces (zeroturnaround sql-formatter-org#155), add test for braces & backticks * move all operator handling into formatOperator * fix handling of backticks (zeroturnaround#139) * update isToken * fix zeroturnaround#123, add hex string type * fix zeroturnaround#166, add negative lookahead for specialWordChar for reserved words * fix zeroturnaround#162, add handling for prefix/suffix only specialWordChars * Fix zeroturnaround#137, add @@ system variables * add support for array and map accessors * print help when no arguments passed * convert cli tool to cladd * rename bin file * add ts export for module * update cjs build with typescript * add ts-loader for umd build * update badges and GH Actions names * Update issue templates * add enhancement template * add feature request title * update package.json * move index.html to static dir * make parenOptions Partial type * split into css and js files * ♻️ * remove local script * move options to left menu * add new options to demo * add icon * add comments for token overrides * fix prefixed operators * add link to bug reports * update TokenizerOptions.specialWordChars.any to Optional Type * update CHANGELOG * update README badges * update README with vscode * add CONTRIBUTING.md * fix formatting for reservedDependentClauses * update release-it json
Hi, this issue is fixed in my fork here: |
inferrinizzard
referenced
this issue
in inferrinizzard/prettier-sql
Dec 4, 2021
* fix zeroturnaround#152, Add + in scientific notation regex * fix zeroturnaround#159, Add token override for SET datatype * add common operators to Tokenizer, dedupe * update missing operators * use exhaustive list of monad operators * fix .. operator for PlSQL * fix handling for braces (zeroturnaround sql-formatter-org#155), add test for braces & backticks * move all operator handling into formatOperator * fix handling of backticks (zeroturnaround#139) * update isToken * fix zeroturnaround#123, add hex string type * fix zeroturnaround#166, add negative lookahead for specialWordChar for reserved words * fix zeroturnaround#162, add handling for prefix/suffix only specialWordChars * Fix zeroturnaround#137, add @@ system variables * add support for array and map accessors * print help when no arguments passed * convert cli tool to cladd * rename bin file * add ts export for module * update cjs build with typescript * add ts-loader for umd build * update badges and GH Actions names * Update issue templates * add enhancement template * add feature request title * update package.json * move index.html to static dir * make parenOptions Partial type * split into css and js files * ♻️ * remove local script * move options to left menu * add new options to demo * add icon * add comments for token overrides * fix prefixed operators * add link to bug reports * update TokenizerOptions.specialWordChars.any to Optional Type * update CHANGELOG * update README badges * update README with vscode * add CONTRIBUTING.md * fix formatting for reservedDependentClauses * update release-it json
Not correct. This problem still exists in prettier-sql. There was a code change to fix it, but it was effectively a no-op. |
Now fixed for both lowecase and uppercase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i have specified language db2 and have a select that needs to replace some hex characters
but get's replace by
This gives an sql error
Let me know how this problem can be solved.. maybe can be added to a list of exceptions
some doc on hex
The text was updated successfully, but these errors were encountered: