You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
booltest1(int a) {
returntrue;
}
booltest2(int a) {
returntrue;
}
Using inspect tokens and scopes, we see that test1 is defined as a entity.name.function.definition.
However, with the added line break, test2 is defined as a entity.name.function.call.
This is fine in the default VS Code theme, since these are coloured the same, however, with themes that differentiate, it results in the syntax highlighting looking off.
To reproduce the above, add the following to settings.json:
Consider the following code:
Using inspect tokens and scopes, we see that
test1
is defined as aentity.name.function.definition
.However, with the added line break,
test2
is defined as aentity.name.function.call
.This is fine in the default VS Code theme, since these are coloured the same, however, with themes that differentiate, it results in the syntax highlighting looking off.
To reproduce the above, add the following to settings.json:
The text was updated successfully, but these errors were encountered: