Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99124

VSCode color theme methods calls

$
0
0

I'm trying to change methods call color in VSCode. I know I can change the Function scope color as follewed:

{
  "name": "Function call", 
  "scope": "meta.function-call.object", 
  "settings": {
    "foreground": "#e26f60"
  }
}

Is there an equivalent for function calls. I would like to only highlight the foo_method() in the following code:

class Foo():
    def foo_method(self):
        print("Called Foo from class")

foo_object = Foo()
foo_object.foo_method()

Viewing all articles
Browse latest Browse all 99124

Trending Articles