-
Notifications
You must be signed in to change notification settings - Fork 0
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
Syntax seems to break at a certain point #3
Comments
Hi @lichenophile, I'm unable to replicate that issue here. Are you using VSCode or VSCode Server in HA? Also, do you have any other syntax highlighting plugins that may be causing a conflict? |
Hey I'm using VSCode for windows using Remote SSH. Using this plugin and HA Config Helper, disabled everything else related (aside from "built-in" features/languages) I have more precisely noticed Simplified code that color breaks:
Rubbish code that formats color correctly despite quotes/backticks: A colon after the quotes, such as this style of statement (just the colon on its fixes color too)
Figured out by breaking down at a few more complex templates that fit the criteria but didn't fail No idea if this is actually useful info tbh, syntax highlighting (regex?) is a bit above my head |
That's very strange, I still can't replicate it on my local copy of the browser version in HA. the only thing I can think that may be causing this is Windows, I'll have to spin up a Virtual Machine and see if I can replicate the issue, I'll let you know what I find. |
@lichenophile Just out of interest could you try using |
Apologies, I seem to have missed or forgotten your reply. I gave I tried running the Let me know if there's anything further I can do to test what the issue might be |
@lichenophile Ok, I just revisited this after I got your message, and it still isn't an issue on the VSCode Server plugin running in HA, but this time, I was able to reproduce the issue on my local copy of VSCode running on MacOS! This makes the whole thing much more confusing considering I wasn't able to replicate it in the past! However what it does mean is that I can now troubleshoot it and figure out why. I'll mark it as a bug and work through it; it may take a little time as I haven't touched it in months and need to set up debugging, etc, again. I'll keep you posted. |
@lichenophile Out of interest: On the lines/blocks that don't break, is the syntax highlighting 100% correct in those? eg. Does it use the correct colours etc? |
Cheers for this neat extension. I'm having some trouble though, I wonder if you could shed some light?
I appears that {} brakets are breaking the syntax coloring
The text was updated successfully, but these errors were encountered: