Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

Mandatory quoting is retained for identifiers which have any non-alphanumeric characters, but an uppercase character alone does not activate the suggested quoting.

The original logic looks intentional but doesn't seem to be needed. Maybe this was because the list of keywords was limited, and capitalization was a proxy for keyword? After #1447, we have a much more complete list of keywords.

Fixes #620.

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format && uv run mypy --install-types . to lint and format the code.

@rolandwalker rolandwalker self-assigned this Jan 21, 2026
Mandatory quoting is retained for identifiers which have any
non-alphanumeric characters, but an uppercase character alone does
not activate the suggested quoting.
@rolandwalker rolandwalker force-pushed the RW/less-quoting-on-uppercase-identifiers branch from 7c2ee7d to 24fc5b7 Compare January 22, 2026 10:41
@rolandwalker rolandwalker merged commit 5e4cfbb into main Jan 22, 2026
8 checks passed
@rolandwalker rolandwalker deleted the RW/less-quoting-on-uppercase-identifiers branch January 22, 2026 16:35
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.

Is it possible to disable quoting on auto-completed fields

3 participants