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

VS Code extension: identifiers with numbers are wrongly highlighted #1301

Closed
mgrojo opened this issue Sep 1, 2024 · 1 comment
Closed

VS Code extension: identifiers with numbers are wrongly highlighted #1301

mgrojo opened this issue Sep 1, 2024 · 1 comment
Assignees
Labels

Comments

@mgrojo
Copy link
Contributor

mgrojo commented Sep 1, 2024

Identifiers containing numbers are highlighted as if the number were a different token, and the rest is highlighted as an identifier, an attribute or even a keyword, as corresponding.

Example:

imagen

Hopefully, a simple regexp adjustment can make that more robust.

@mgrojo mgrojo added the bug label Sep 1, 2024
@mgrojo mgrojo changed the title VS Code extension: identifiers with numbers are highlighted as two tokens, the number and the rest VS Code extension: identifiers with numbers are wrongly highlighted Sep 1, 2024
@treiher treiher self-assigned this Sep 2, 2024
adacore-bot pushed a commit that referenced this issue Sep 3, 2024
@treiher
Copy link
Collaborator

treiher commented Sep 3, 2024

Thanks for the report! We have fixed the syntax highlighting for identifiers that contain numbers or keywords.

@treiher treiher closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants