Rather than rehash the whole history of this, which goes back at least to Berkeley (esse est percipi), I thought I’d start with a modern take, The Case Against Reality.
The author, the cognitive scientist Donald Hoffman, calls his philosophy not metaphysical idealism, but conscious realism, and says:
As a conscious realist, I am postulating conscious experiences as ontological primitives, the most basic ingredients of the world. I’m claiming that experiences are the real coin of the realm. The experiences of everyday life—my real feeling of a headache, my real taste of chocolate—that really is the ultimate nature of reality.
Notice, in this interview, his take on how evolution selects not for truth about the world, but for fitness, and his claim that they are not the same thing. I was taken (not persuaded) by this idea, and it seems to align with something Plantinga argued, but I’ll have to reacquaint myself with Plantinga’s specific argument.