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
Currently, if I create a type MyType and define a override Base.show(io::IO, x::MyType) or Base.show(io::IO, ::MIME"text/plain", x::MyType), then I lose the default show method in Pluto, and there is not method to get it back.
It would be good to be able to decide I want my type to have a custom show in the REPL but do not impact the Pluto default show method.
I remember somebody raised this issue question before in either zulip/discourse but can't find it anymore.
Discussed this today at the dev call and @fonsp also agrees that we should have this capability
The text was updated successfully, but these errors were encountered:
disberd
changed the title
Have a way to use Pluto default show for custom types which define a custom show method
Have a way to use Pluto default show for types which define a custom show method
Aug 13, 2024
Currently, if I create a type
MyType
and define a overrideBase.show(io::IO, x::MyType)
orBase.show(io::IO, ::MIME"text/plain", x::MyType)
, then I lose the defaultshow
method in Pluto, and there is not method to get it back.It would be good to be able to decide I want my type to have a custom
show
in the REPL but do not impact the Pluto default show method.I remember somebody raised this issue question before in either zulip/discourse but can't find it anymore.
Discussed this today at the dev call and @fonsp also agrees that we should have this capability
The text was updated successfully, but these errors were encountered: