Skip to content
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

[FORMATTING] Problem with parenthesis... #672

Closed
rcarlier opened this issue Nov 27, 2023 · 3 comments
Closed

[FORMATTING] Problem with parenthesis... #672

rcarlier opened this issue Nov 27, 2023 · 3 comments
Labels

Comments

@rcarlier
Copy link

Hello

I have a file .sql and formating is really great with your extension.

But there is an issue : it's add extra spaces before parenthesis.

SELECT CURDATE() ;

Expected Output

SELECT CURDATE() ;

Actual Output

SELECT CURDATE () ;

I'm not sure if I'm using another plugin that adds this space, but maybe it would be interesting if yours could override other settings...

@rcarlier rcarlier added the bug label Nov 27, 2023
@nene
Copy link
Collaborator

nene commented Nov 27, 2023

Please provide the following info:

  • How are you calling / using the library?
  • Which SQL Formatter version are you using?
  • Which SQL dialect are you using?
  • Have you configured the formatter to use that dialect?

@nene
Copy link
Collaborator

nene commented Nov 27, 2023

Most likely this issue is a duplicate of #444

@rcarlier
Copy link
Author

Ok,
I hadn't set the SQLFlavour Override... better with it 👍

@nene nene closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants