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

brokem code highlight #7393

Closed
izen57 opened this issue Apr 20, 2021 · 1 comment
Closed

brokem code highlight #7393

izen57 opened this issue Apr 20, 2021 · 1 comment
Labels

Comments

@izen57
Copy link

izen57 commented Apr 20, 2021

Bug type: Language Service

In C++, in the declaration of a template class inherited from an interface with a template, there is incorrect highlighting: triangle brackets are not the same color, the word "class" is not highlighted as a keyword, as well as parentheses of the base class template.

This issue is visible in many pre-and third-party themes such as "Chaos", "Monokai", "Sun dark", "Blue Evening", "Dracula", "Red."

VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:35:57.887Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.88GB (1.05GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (8)
Extension Author (truncated) Version
masm-code kai 1.2.8
vscode-language-pack-ru MS- 1.55.2
python ms- 2021.3.680753044
jupyter ms- 2021.5.745244803
cpptools ms- 1.3.0
hexeditor ms- 1.5.0
vscodeintellicode Vis 1.2.12
markdown-all-in-one yzh 3.4.0

(1 theme extensions excluded)

Chaos
Dracula
Снимок

@sean-mcmanus
Copy link
Collaborator

The issue is from VS Code itself, which gets it's C/C++ syntax colorization from https://github.com/jeff-hykin/cpp-textmate-grammar/issues . It seems like it could be a duplicate of jeff-hykin/better-cpp-syntax#512 or jeff-hykin/better-cpp-syntax#246 .

image

@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants