You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it would be great if anything inside parentheses and before an equal sign was also tokenized this way, so that it work for both function calls and named tuples. The token name could be something like variable.parameter (which is what python uses) or formal-arg. Here's a screenshot of some Python code:
I would like to be able to update my color theme to make formal args brown like in the Python version of my color theme.
So to summarize, this would tokenize all arguments in a function declaration as formal-arg and it would also tokenize all keyword argument names in function calls and named tuple "calls". However, to be clear, it would not tokenize variables passed to function calls like x=1; foo(x), since in that case x is a variable rather than a formal argument.
Tokennize function parameters/arguments so we can highlight like this python example:
The text was updated successfully, but these errors were encountered: