Closed StrangeRanger closed 1 month ago
other themes have same problem, I think it's vscode's problem
I see what you mean. I'll go ahead and make an issue on VSCode's repository. Will you close this issue then, or keep it open for a while longer?
Issue has been made at https://github.com/microsoft/vscode/issues/228637
should I close this issue
Yes, you're good to close this issue.
okay
Describe the bug
For some reason, the following line in my Bash code causes the syntax highlighting of OneDark-Pro to miss-highlight the code:
echo "$(( (octet1 << 24) + (octet2 << 16) + (octet3 << 8) + octet4 ))"
After some experimentation, I found that I could reproduce the same problem with
<<)
.To be more specific, this only happens when using
<<
. Using<
,<<<
, or any other form of redirect does not reproduce the same problem. So something likeecho "$((ip_int >> 24 & 255)).$((ip_int >> 16 & 255)).$((ip_int >> 8 & 255)).$((ip_int & 255))"
, which is in the screenshot, does not cause any problems.To Reproduce
I've included all the information about how to reproduce it above.
Expected behavior
When using
<<
, I expect the syntax highlighting to work as expected rather than highlighting almost everything green.Desktop (please complete the following information):