As a practical example, say I have a struct that looks like this:
struct MyFoo {
std::string mValue;
bool hasValue;
MyFoo() : hasValue(false) {}
MyFoo(std::string value) : mValue(value), hasValue(true) {}
};
If I hover over an instance of this struct, Android Studio displays + ☰ {MyFoo}. I can expand this, and with a little drilling down, see what the contents are. (I should note that this is an oversimplified example; my real-world application is a much more complicated struct, and seeing the value is not very easy).
Is there a way to somehow get it to display something like + ☰ {MyFoo} <none> or + ☰ {MyFoo} "Hello, world" instead?
I can see Android Studio doing this with some of the STL types, which suggests that somewhere there's knowledge on how to do this.
Bonus questions: How about XCode?