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

Weird hover syntax highlighting for symbols with # modifier #12

Closed
aazuspan opened this issue Aug 12, 2024 · 0 comments · Fixed by #14
Closed

Weird hover syntax highlighting for symbols with # modifier #12

aazuspan opened this issue Aug 12, 2024 · 0 comments · Fixed by #14
Labels
bug Something isn't working

Comments

@aazuspan
Copy link
Owner

I lazily used Python formatting for symbol hovers to get color coding for literals, but when a symbol has a # address modifier, the formatting thinks the rest of the hover is a comment, e.g.

(variable) Delay#: Literal[0]

instead of what I want which is something like

(variable) Delay#: Literal[0]

This is another hacky solution, but the sample above seems to work fine with Java formatting...

@aazuspan aazuspan added the bug Something isn't working label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant