It seems like VS Community with python tools has a better syntax highlighting than VS Code with \"Python\" by Don Jayamanne. As you can see in the picture attached, VS Community
Looks like this issue has been bouncing around between maintainers of VSCode, MagicPython, and the Python extension
A quick workaround is to simply override your color theme as instructed here. For example, if you are using Default Dark+
color theme, you can add this to settings.json
:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "meta.function-call.generic.python",
"settings": {
"foreground": "#DCDCAA"
}
}
]
},
Now callables are highlighted correctly as seen below: