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

struct tags only specially highlighted i .h files, not .c files #3031

Closed
RobinTD opened this issue Jan 13, 2019 · 2 comments
Closed

struct tags only specially highlighted i .h files, not .c files #3031

RobinTD opened this issue Jan 13, 2019 · 2 comments

Comments

@RobinTD
Copy link

RobinTD commented Jan 13, 2019

In struct test, "test" is specially and prominently highlighted in header files, but in source files it is shown as a plain identifier. It is also highlighted correctly in the tool tip when hovered in the source file. For readability, the header behavior should apply in source files.

Visual Studio Code version: 1.30.2
C/C++ extension version: 0.20.1
Platform: Linux

@sean-mcmanus
Copy link
Collaborator

Our C/C++ extensions doesn't implement the colorization. It's implemented by VS Code using atom/language-c with textmate -- they need to fix this by switching to tree sitter. See a similar issue at atom/language-c#207 .

@bobbrow
Copy link
Member

bobbrow commented Jun 24, 2019

If you install the latest insiders version of the extension (set the "C_Cpp: Update Channel" setting to "Insiders"`) and then turn on the "Enhanced Colorization" setting, you can try out our improved colorization feature. I will mark this as a duplicate of #230.

@bobbrow bobbrow closed this as completed Jun 24, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants