Re-design semantic token type assigned to keywords in function calls #3576
ZeroRin
started this conversation in
Enhancement
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Related to my question earlier
consider the following example
with default dark+ color theme it looks like:


if we add
{"parameter": "#569CD6","parameter.declaration": "#4FC1FF"}
to colorization rules, it becomes:As can see,
parameter.declaration
affects all variables in function definition, andparameter
affects (except those being overrideen byparameter.declaration
) all variables in function body that has been defined in function definition and all keywords in a function call that has been defined in function definitionThe problems are:
parameters
, which make it harder to distinguish keyword and value in a function call.I came up with several solutions:
parameter.declaration
can be reused here.Beta Was this translation helpful? Give feedback.
All reactions