consistent formatting for show_unquoted

Backport of 63aa914886222b645e0c07575dbd52f268627174
for #8408
add show for typed comprehensions

Bacport of d926adee28476
from #8408