superfell / SoqlX

SoqlXplorer is an awesome tool for developers using the Salesforce.com platform.
https://pocketsoap.com/osx/soqlx/
Other
273 stars 53 forks source link

Default SOQL query words to UPPERCASE #88

Closed dschach closed 3 years ago

dschach commented 4 years ago

Is your feature request related to a problem? Please describe. I use SoqlX to copy/paste queries into VSCode, and I like my code properly highlighted - which means that I need my query words to be uppercase. (SELECT, FROM)

Describe the solution you'd like Default the query generator to put the words SELECT and FROM in uppercase

It doesn't seem a major enhancement, but it would help a lot downstream.

superfell commented 4 years ago

Which VSCode plugin are you using? soql is defined to be case insentitive.

dschach commented 4 years ago

SOQL is case insensitive, but the tools I use to color my code are not, so they expect "SELECT" to be uppercase. The fields upper/lower don't matter. While an all-lowercase query works technically, the code "looks better" with them uppercase. I know this is purely window-dressing, but it does make for better readability.

superfell commented 4 years ago

And the VSCode plugin you're using is ....

dschach commented 4 years ago

Salesforce's standard ones and Dark (Molokai) theme.

dschach commented 3 years ago

Thanks @superfell ! I look forward to seeing the next version release!

superfell commented 3 years ago

@dschach this feature is also in the beta I posted recently if you want to try it now. https://twitter.com/superfell/status/1413229967740084224