question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

function invocation not colored consistently

See original GitHub issue
bar = 1

def foo():
    pass

foo()
bar += 1

vscode

image

Most theme’s don’t colorize meta.function-call as the idea is that it should cover function names, including the full path, and all parameters (see https://www.sublimetext.com/docs/3/scope_naming.html)

I good scope to give function names is support.function

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:4
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

23reactions
hazarekcommented, Nov 30, 2020

why this problem has not been fixed for 2 years.

20reactions
juliuscrncommented, Dec 8, 2018

Is this going to be fixed any time soon? also, what about method calls? can we get these colroed as well?

Read more comments on GitHub >

github_iconTop Results From Across the Web

function invocation not colored consistently - Bountysource
function invocation not colored consistently. MagicStack. 16 February 2018 Posted by aeschli. bar = 1 def foo(): pass foo() bar += 1.
Read more >
On 'function coloring' - Ted Kaminski
The “color” of a function is a metaphor for segmenting functions into two camps: async and normal functions. The idea is that async...
Read more >
What Color is Your Function? - Bob Nystrom - stuffwithstuff
The way you call a function depends on its color. ... that calls it red. Ugh. No matter what, you'll have to think...
Read more >
How do you color your functions? - Roman Elizarov - Medium
Go does not color its functions at all. Any function in Go has a right to suspend its goroutine by doing an IO...
Read more >
The Function Colour Myth - Lukasa's Echochamber
So hopefully I've just made it clear to you that you can write asynchronous code using entirely synchronous function calls: there is no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found