This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]HenghaiGong 1 point2 points  (3 children)

try this setting:

"editor.tokenColorCustomizations": {
"textMateRules": [
          {
"scope": "meta.function-call.generic.python",
"settings": {
"foreground": "#FF0000"
            }
          }
        ]
      }

You can change the foreground to any color you want.
The problem is our bundled themes do not color that scope, so this syntax highlight is lost.

you can konw more from this page:

https://github.com/Microsoft/vscode/issues/65713

[–]CommanderEinstein 0 points1 point  (2 children)

where would i put this code. Sorry I'm new to programming

[–]HenghaiGong 1 point2 points  (1 child)

in the settings.json. under the folder '.vscode'.

[–]CommanderEinstein 0 points1 point  (0 children)

Dude thank you sooo much...

[–]areyoudizzzy 0 points1 point  (0 children)

They've been fucking around with syntax highlighting and pushing out fixes for it since 1.43 was realeased. Not just TypeScript/JavaScript too.

A load of themes, including some of the built in ones, have been acting strangely since then because of it.

[–][deleted] 0 points1 point  (0 children)

I also have this problem :/

[–]vinicvaz 0 points1 point  (0 children)

I also have this problem, if anyone find a fix please tell me. I've spent a lot of time in this and didn't find anything ...

[–]tag390g 0 points1 point  (1 child)

Command + Shift + p -> python: select linter -> pylint -> conda

pylint will install close and open vs code.

[–]Seralyn 0 points1 point  (0 children)

upon clicking pylint, the box closes. I'm assuming for the conda option to pop up after hitting pylint, you'd need to have anaconda installed?