-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Feature: ColorizationFeature: Hover (Quick Info)An issue related to Hover (Quick Info)An issue related to Hover (Quick Info)Language ServiceVisual StudioInherited from Visual StudioInherited from Visual Studiobugparser
Milestone
Description
Type: Bug
typedef int A;
#define A()
#define b(a) b(a)
void b(A a);
Here, A in void b(A a); should be green like a typename, but it is purple like a macro.
#define a()
#define b(a) b(a)
void b(int a);
Here, a should be grey like a parameter in void b(int a); and white like a constant in #define b(a) b(a), but it is purple like a macro in both places.
This only occurs when the typename is inside a function macro's arguments or in a macro's expansion definition.
Extension version: 1.31.0
VS Code version: Code 1.109.5 (072586267e68ece9a47aa43f8c108e0dcbf44622, 2026-02-19T19:43:32.382Z)
OS version: Linux x64 6.8.0-100-generic
Modes:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature: ColorizationFeature: Hover (Quick Info)An issue related to Hover (Quick Info)An issue related to Hover (Quick Info)Language ServiceVisual StudioInherited from Visual StudioInherited from Visual Studiobugparser
Type
Projects
Status
No status