Closed lgraziani2712 closed 7 years ago
Thanks. Fixed 2.59.1
Hello @gandm. I'm still experiencing this issue.
Tested on v2.59.1 and v2.60.0.
Seems OK for me
Edit: Array<number>
needs to be always in light blue when it's a type definition. Instead, it's colored like it is part of the code.
OK I misunderstood your original issue. I thought you were saying that the multi-line was correct. I missed the second Array being different.
Sorry I didn't explain it well.
I'll do next time :)
OK I've reverted to my prior handling of this plus a few minor tweaks.
The bad news is I don't think I'll be able to fix the issue in your second gif above. I have no way of knowing that const a=(
is a arrow function's parameters until I get to the =>
, by which time it is too late. In the first example I can determine that in probability a const a=(value,
is an arrow function because of the ,
It could of course be a comma separated expression list but is more unlikely ( I feel).
Oh, OK good to know.
Thank you @gandm!
I can confirm that with the new update this is fixed.
Congrats @gandm !! 😊🎉
@lgraziani2712 Thanks. It's not quite right (not scoped as function parameters) but it's the best I can do.
When params are in one line:
When are in multiple lines:
Thank you :)