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

Provide option for formatting keywords/functions as lowercase #58

Closed
SteiniMiracle opened this issue Jun 8, 2021 · 6 comments
Closed
Labels
feature: enhancement Request is a enchacement to existing feature
Milestone

Comments

@SteiniMiracle
Copy link

If you open the Preferences dialog and uncheck Fix keyword/function casing and click OK the changes are not saved.

@otykier
Copy link
Collaborator

otykier commented Jun 9, 2021

Thanks for reporting (there's a bug in the UI in which this checkbox has been tied to the "Fix object reference casing" field instead).

Bonus-question, out of curiosity: What is your reason for wanting to disable automatic fix of keyword/function casing? Thanks!

@otykier otykier added the issue: bug Confirmed as a bug in TE3 label Jun 9, 2021
@SteiniMiracle
Copy link
Author

Lucky me to get the bonus question :-)
T-Sql and Dax seems to be the only query/programming languages to use upper case for keywords.
The original reason for the upper case was probably that it was easier to identify the keywords.
For at least the last decade color coding has replaced the upper case role in every good code editor (of course including Tabular Editor).
The bottom line is that for me personally I find it much easier to read lower case text than upper case.

@otykier
Copy link
Collaborator

otykier commented Jun 9, 2021

I see - thanks. Follow-up question: would you be interested in a setting that would allow keywords/functions to be auto-formatted as lowercase?

@SteiniMiracle
Copy link
Author

That would be, to put it mildly, FANTASTIC FEATURE :-)

@otykier otykier added this to the 3.0.5 milestone Jun 10, 2021
@otykier
Copy link
Collaborator

otykier commented Jun 10, 2021

Fix keyword/function casing now works in 3.0.5.

@otykier otykier changed the title Unable to change Preference Fix keyword/function casing Provide option for formatting keywords/functions as lowercase Jun 30, 2021
@otykier otykier added feature: enhancement Request is a enchacement to existing feature and removed issue: bug Confirmed as a bug in TE3 labels Jun 30, 2021
@otykier otykier removed this from the 3.0.5 milestone Jun 30, 2021
@otykier otykier added this to the 3.1.6 milestone Nov 22, 2021
@otykier
Copy link
Collaborator

otykier commented Nov 23, 2021

You can now configure keyword/function casing in 3.1.6. See docs for more information.

@otykier otykier closed this as completed Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: enhancement Request is a enchacement to existing feature
Development

No branches or pull requests

2 participants