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

Highlighting Incorrect After Shimming Ostream Operator #647

Open
1 task done
marek-travnikar opened this issue Oct 20, 2023 · 0 comments
Open
1 task done

Highlighting Incorrect After Shimming Ostream Operator #647

marek-travnikar opened this issue Oct 20, 2023 · 0 comments

Comments

@marek-travnikar
Copy link

marek-travnikar commented Oct 20, 2023

Checklist

  • This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"

If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension:
https://github.com/microsoft/vscode-cpptools/issues/new/choose

The code with a problem is:

Version 1.17.2
After shimming an ostream operator anywhere in a C++ file, the syntax highlighting becomes incorrect after that point.

It looks like:

With Default Dark+:
image

It should look like:

After manually tweaking some regex for template_call_range from "end": ">", -> "end": ">|;",
image

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

1 participant