apex
apex copied to clipboard
Make Apex the default inspector in IEx?
With pry and AwesomePrint, there is a way to make AwesomePrint the default inspector, so that just typing in an expression is equivalent to ap expression
. I believe you just need to require AwesomePrint in the .pryrc
and issue a AwesomePrint.pry!
which does the magic.
Is there any way you'd consider looking into this for Apex? The one thing I miss the most about Ruby is the combination of pry and AwesomePrint --> IEx isn't nearly as nice, but having Apex built in would go a long way :)
I will look into this, but obviously can't promise. I don't know if there are hooks for iex
that would make this possible