VS Code in Python changes text color of the code if set a return type

Viewed 317

The problem is that for example, you have your color theme installed in VS Code, and works just fine, any color theme, but if you set a return type like:

def some_function() -> str :

instead of just:

def some_function():

then the color theme stops applying and just turns the text color into white and yellow. (it happens not only for str obviously)

Has anyone been able to solve that and how?

1 Answers

If anyone runs into this same issue, the extension that was causing it was "Python for VSCode" (author Thomas Haakon Townsend)

Related