Skip to content

Enable/Disable case insensitivity for variables #3980

Description

@acbart

Is your feature request related to a problem? Please describe.

I want to be able to disable case insensitivity for variable names. This would allow us to have the variable banana and Banana as separate things.

Describe the solution you'd like

I'd like there to be a flag or setting that I can flip to enable case sensitive variable names. I don't have much preference for where or how, as long as it exists. I'd also be fine, for instance, if there was a callback defined to "normalize" variable names prior to comparison.

Describe alternatives you've considered

Since I couldn't find anything built-in, I was planning on just monkey-patching for now. I believe the relevant places are:

So I can just replace these existing functions dynamically with versions that don't have toLowerCase.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status
      Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions