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

Second Report: Brace/bracket/parenthese highlighting flawed #668

Open
GroggyOtter opened this issue Jan 9, 2025 · 2 comments
Open

Second Report: Brace/bracket/parenthese highlighting flawed #668

GroggyOtter opened this issue Jan 9, 2025 · 2 comments

Comments

@GroggyOtter
Copy link

There is something very wrong in the addon when it comes to highlighting things like curly brackets.
I'm starting to regularly run into instances where they're not correctly colored.
Both inside and outside of comments.

Code_WjYhtzkqKF.mp4

It's really noticeable when commenting/uncommenting blocks of code.
Everything in this screenshot should be dark green text b/c it's a comment block:
Code_BcPl5NN6En

And all the curly braces, parentheses, and square brackets in this photo are supposed to be colored, but they're white:
Code_28S6hhbOyR

The colors remain incorrect until you start coding again, in which case it seems to "refresh" the entire script's syntax coloring and it corrects all the incorrect colors.

This does not happen with other languages, only AHK v2 using this extension, so it's not a VS Code thing. It's the addon.

Also, this is the second time I've reported this bug.

@thqby
Copy link
Owner

thqby commented Jan 9, 2025

Turn off semantic highlighting and try again.

This does not happen with other language.

I've seen this on other extensions.
The feature implementation of this extension is in a different process from the vscode extension, and the response may be slightly slower than that of the same process.

1

@thqby
Copy link
Owner

thqby commented Jan 24, 2025

Turn off semantic highlighting and try again.

Have you tried it?

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

No branches or pull requests

2 participants