sainnhe / gruvbox-material-vscode

Gruvbox Material for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=sainnhe.gruvbox-material

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Improvement] Different color for function parameter in C/C++

ehsan18t opened this issue · comments

First I want to thank you for making such a great theme for vscode and maintaining it regularly. Now the reason I opened this is I have a suggestion for syntax highlighting for C/C++. I saw in many themes that they have different colors for function parameters. Kind of like this,

image

As you can here variable a and b has the same color. Can you make it to different? Or maybe add a setting to do it? like the image below,

image

Sorry but I may not do this. Because there are 7 foreground colors in total, and all of them have been used, which means if I changed the color of different parameters, it will be hard to distinguish between these parameters and some keywords.

As for color schemes, it’s very difficult to make the developers' designs satisfy everyone. I'd recommend you to fork this repository and modify it to be what you prefer. See CONTRIBUTING.md for detailed steps to hack this color scheme.

This issue has been closed, the fix/feature will be available in the next release.

To get the update immediately, you can compile this extension from source code:

Requirements

  1. git
  2. nodejs

Steps

Open your terminal emulator and execute the following commands:

  1. Clone the repository: git clone --depth 1 https://github.com/sainnhe/gruvbox-material-vscode.git && cd gruvbox-material-vscode
  2. Install node modules: npm ci
  3. Compile and package this extension to a .vsix file: npm run package
  4. Install from this .vsix file: How to install VS code extension manually? - Stack Overflow