dracula / dracula/visual-studio-code

No colour for C-style enums

Open
#201 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
880
Forks
223
Avg merge
1d 8h
Merged PRs (30d)
1

Description

There is no colour for C-style enums which makes code look weird. I'm not familiar with vscode theming but may be there is a lack of C/C++ semantic knowledge so perhaphs you can use [Enhanced colorization](https://code.visualstudio.com/docs/cpp/colorization-cpp) feature.
There is an example of some Vulkan code:
![image](https://user-images.githubusercontent.com/17850773/141601012-72cda608-0e43-4efa-a6c3-29a3b830b80e.png)

Applying colour to enum value makes difference:
![image](https://user-images.githubusercontent.com/17850773/141601004-7b433127-0672-4dc3-acb0-a8a0fa851102.png)

Contributor guide

Open the contributing guide

Research direction

Start with the linked VS Code Enhanced colorization documentation and inspect the theme's existing C/C++ color rules; the issue names no source file or test. Confirm how enum values are currently tokenized and define done as C-style enum values receiving a distinct color in the shown Vulkan example.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, vscode
Domain
design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.