Chakroun-Anas/turbo-console-log

[BUG?] Problem with variable with "function call with arrow function argument" as value

Closed this issue ยท 3 comments

Expected Behavior

Clicking the variable user
const user = users.find(item => item.email === email)
Should add a log in the next line.

Actual Behavior

The arrow function gets expanded, and the log is inserted inside its body.
A workaround is to select the variable along with the empty space next to it.

2023-04-13.06-06-43.mp4

Hello,

Thank you for reporting the issue, will check this soon and get back to you.

Hello @angelhdzmultimedia ,

I just pushed a new version v2.9.2 that deals with this, would you please test it and get back to me so that we can close this issue?

Thx.

You are on fire! ๐Ÿ”ฅ๐Ÿคฏ๐Ÿค๐Ÿ‘๐ŸŽ‰

It works good. Thank you. This extension really improves DX and saves us time!

Next week I'm going to take some time to deliberatedly play with it to find more possible bugs and report them.