No colour for C-style enums

Open
#201 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

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 feature.
There is an example of some Vulkan code:
image

Applying colour to enum value makes difference:
image

Dominant language
JavaScript
Stars
879
Forks
222
Avg merge
1d 8h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dracula/visual-studio-code

All issues in dracula/visual-studio-code

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.