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

fix: use !isuppercase instead of islowercase in completion logic #1177

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

pfitzseb
Copy link
Member

we're not really interested in whether all chars are lowercase (which is only true for letters); instead we want to determine whether the user manually upper-cased any chars and treat that as a signal that they care about the casing.

image

Fixes #1175.

@pfitzseb pfitzseb changed the title fix: use !isuppercase instead of lowercase in completion logic fix: use !isuppercase instead of islowercase in completion logic Oct 17, 2022
we're not really interested in whether all chars are lowercase (which
is only true for letters); instead we want to determine
whether the user manually upper-cased any chars and treat that
as a signal that they care about the casing.
@pfitzseb pfitzseb force-pushed the sp/completion-lowercase branch from 75188f8 to 6c84707 Compare October 17, 2022 12:54
@pfitzseb pfitzseb merged commit 48ea5bf into master Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

autocompletion disappears for 3 character variable with Upper case when input lower case
2 participants