[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,
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,
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
Steps
Open your terminal emulator and execute the following commands:
- Clone the repository:
git clone --depth 1 https://github.com/sainnhe/gruvbox-material-vscode.git && cd gruvbox-material-vscode
- Install node modules:
npm ci
- Compile and package this extension to a
.vsix
file:npm run package
- Install from this
.vsix
file: How to install VS code extension manually? - Stack Overflow