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
Functions with lists of parameters that might begin/end on different lines are not highlighted properly. This means that if you also use Prettier with Sublime, it's formatting will cause this issue to occur for functions with lots of parameters.
Here's an example:
Parameter list closing paren on same line as function name:
After formatting with prettier (closing paren on different line than opening paren):
In VSCode:
The text was updated successfully, but these errors were encountered:
It sounds like the issue is that the name myArrowFunction is not highlighted as a function name, but the function itself is correctly highlighted. If so, this is equivalent to sublimehq/Packages#2267.
I'm tagging as an enhancement because highlighting variables as function names is only sort-of a syntactic distinction and it's being handled on a best-effort basis (currently via single-line lookaheads). I'll probably handle it upstream at some point.
Functions with lists of parameters that might begin/end on different lines are not highlighted properly. This means that if you also use Prettier with Sublime, it's formatting will cause this issue to occur for functions with lots of parameters.
Here's an example:
Parameter list closing paren on same line as function name:
After formatting with prettier (closing paren on different line than opening paren):
In VSCode:
The text was updated successfully, but these errors were encountered: