Closed REYNEP closed 3 years ago
[NOTE: I DON'T HAVE MS-C/C++ INSTALLED, HATE THAT ADDON]
@REYNEP I apologize for this late reply.
In C, the scope rule "meta.function-call.c entity.name.function.c" was originally added to distinguish between user-defined functions and language built-in functions(like "printf()"), but it seems that it can't be done at present. I have removed it. Please update Eva Theme to 1.0.4 .
It's Been so Long, and I hadn't replied.... My apology.... It seems like it looks same on C & C++ now.... Thank you
But in Python and some other language meta.function-call is still in play:
It doesn't matter, as long as the font style is consistent in the same language, it's okay.
C and c++ have similar syntax and often call each other, which can be regarded as the same language in the theme configuration.
Yeah.... It's Kinda also Like I kind of Like both of the colors.... I personally was also thinking that Python should stay how it is.... 😄
[NOTE: I DON'T HAVE MS-C/C++ INSTALLED]
C++ functions Calls:-![image](https://user-images.githubusercontent.com/35212190/107937685-756cf680-6fae-11eb-9b3f-8cf02779ca3d.png)
Renamed the File to C:-![image](https://user-images.githubusercontent.com/35212190/107937806-a64d2b80-6fae-11eb-8ab0-2de0154ecf15.png)
In C, meta.function-call.c and entity.name.function.c is set to![image](https://user-images.githubusercontent.com/35212190/107938111-1065d080-6faf-11eb-970d-029cc665b368.png)
{ "foreground": "#56B7C3", "fontStyle": "italic" }
In C++, entity.name.function is set to![image](https://user-images.githubusercontent.com/35212190/107938188-2b384500-6faf-11eb-88db-96a2c4a66221.png)
{ "foreground": "#6494ED", "fontStyle": "" }
Then I checked Languages like lua, ruby, js, java, Function Calls (Their colors are not like Python's and C's Color) JS and JAVA function calls get it's color from entity.name.function even though in both languages functions calls have meta.function-call which is the scope that python function call gets color from
in lua, vscode textmate scope only adds support.function.any-method.lua and both lua and ruby function calls gets their color from support.function