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

Feature Request: lowercase types, uppercase keywords #591

Closed
einar-hjortdal opened this issue Apr 18, 2023 · 2 comments
Closed

Feature Request: lowercase types, uppercase keywords #591

einar-hjortdal opened this issue Apr 18, 2023 · 2 comments
Labels

Comments

@einar-hjortdal
Copy link

Describe the Feature
Currently, keywords can be turned uppercase/lowercase. This setting also acts on types.

mysql_pump outputs types in lowercase and keywords in uppercase, I would like to use the same style in my files. Not by preserving what I type, but allowing me to type all lowercase and get sql-formatter to turn only keywords to uppercase and leaving types in lowercase. If I paste some code in, and this code happens to have uppercase types, I would like sql-formatter to turn these types to lowercase, just the types.

Why do you want this feature?
mysql_pump and pg_dump use this formatting style, it's readable and I like it.

@nene
Copy link
Collaborator

nene commented Apr 18, 2023

Not really related to VSCode plugin.

Related to issue about the case for function names: #237

Technically possible, but will take quite a bit of work. As I'm currently not planning to implement any new features, it's unlikely to happen though.

@nene nene changed the title Feature Request: [VSCode] lowercase types, uppercase keywords Feature Request: lowercase types, uppercase keywords Apr 18, 2023
@nene
Copy link
Collaborator

nene commented Jul 15, 2023

I'm closing this issue in favor of #237

@nene nene closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 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