better-cpp-syntax icon indicating copy to clipboard operation
better-cpp-syntax copied to clipboard

structs in C are not identified

Open Colengms opened this issue 5 years ago • 0 comments

This seems like a recent regression, as it's such a simple scenario.

The following is in a C file in VS Code. Note that despite being followed by the keyword "struct", it's not colored as a type.

image

The Developer: Inspect Editor Tokens and Scopes command tells me the following when hovering over AAAA.

image

This only happens in C files. This works fine in a C++ file. This repro's with and without the Better C++ Syntax extension enabled, in VS Code 1.48.2.

Colengms avatar Sep 04 '20 21:09 Colengms