apex icon indicating copy to clipboard operation
apex copied to clipboard

Make Apex the default inspector in IEx?

Open pstare opened this issue 8 years ago • 1 comments

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 :)

pstare avatar Oct 06 '16 15:10 pstare

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

BjRo avatar Oct 10 '16 19:10 BjRo