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
The ic is imported as an instance of IceCreamDebugger and function __call__ is invoked to print variable value in the console when the instance is initialized.
The problem is that:
In the user's IDE, ic will be highlighted in the color of instance/variable, not a function. It's not as visually recognizable as print, which is highlighted in the color of function, as shown in the image below.
IDE's auto completion will add parentheses after function automatically, but not for an instance or variable.
Invoking an instance is not as intuitive as invoking a function.
It would be better if there is an independent function which can be imported in the user's code.