-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Feature: ColorizationLanguage ServiceVisual StudioInherited from Visual StudioInherited from Visual Studio
Milestone
Description
Type: LanguageService
- OS and Version: Linux 5.9.X
- VS Code Version: 1.48.0
- C/C++ Extension Version: 0.30.0-insiders3
- Other extensions you installed (and if the issue persists after disabling them): None related to C/C++
- Does this issue involve using SSH remote to run the extension on a remote machine?: No
I got myself wanting in my theme to give a color only to the parameter definition of functions while it's usage continuing to be colored the same way as any variable. I could my wanted results with Rust, Java and TypeScript because in the functions definitions the parameters receive a modifiers (definition/decleration or something similar)
Steps to reproduce
- Write a function definition that takes parameters in C/C++
- Open
Inspect Editor Tokens and Scopes - Check the token for the parameter in the function definiton and it's header
- See that in the definitions there is no modifier
Example
In this image, in the function definition the parameter doesn't have a modifier

This image show the usage. Here it's "correct", only parameter, without modifier

Expected behavior
The parameter in the function definition having a modifier.
gracicot, GrayJack, EricShimizuKarbstein and louiskenzo
Metadata
Metadata
Assignees
Labels
Feature: ColorizationLanguage ServiceVisual StudioInherited from Visual StudioInherited from Visual Studio

