2 comments
Comment actions Permalink

Hello Christiaan,

At the moment there's no way to change the way ToString is generated. Thank
you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Can I change the way Formatting members generates the ToString method?

---
Original message URL:
http://devnet.jetbrains.net/message/5276880#5276880



0
Comment actions Permalink

That is a feature I'd welcome very much. In classes I use on software servers I need a neat and easily readable ToString() for debugging/error tracking / logging purposes.
For me the default format for these classes are something in the neighbourhood of:

[classname] :
------------------------------------------------
<membername1> = -><value><-
<membername2> = -><value><-
<membername..> = -><value><-
------------------------------------------------

0

Please sign in to leave a comment.