New techniques in the search for alien planets let us observe them directly, and even tell us what they are made of