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

Stop formatter from adding spaces inside braces. #1109

Open
Greyheim opened this issue Feb 16, 2023 · 4 comments
Open

Stop formatter from adding spaces inside braces. #1109

Greyheim opened this issue Feb 16, 2023 · 4 comments
Labels
feature request New issue opened using "Feature request" template formatting

Comments

@Greyheim
Copy link

I have problems when using parameters it works fine when using from inside vscode however the format that it creates causes problems when I place the report inside our database system. The formatter adds white space inside braces which causes the error.

I would like the option for the formatter to leave {staff_id} without whitespace instead of the current functionality changing it to { staff_id }

@Greyheim Greyheim added the feature request New issue opened using "Feature request" template label Feb 16, 2023
@YannLevavasseur
Copy link

Same use case here, it would be awesome to have an option for this

@Yangshell
Copy link

I have the same need

@Buedenbender
Copy link

Same here

@gjsjohnmurray
Copy link
Collaborator

Workaround is to disable formatting by setting "sqltools.formatLanguages": [],

Please make sure you restart VS Code after you do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New issue opened using "Feature request" template formatting
Projects
None yet
Development

No branches or pull requests

5 participants