How to edit multiline queries

This is what I generally do but I sometimes it seems very cumbersome. It will be good if we can do it on the fly.
Anyway thanks for the suggestion. :+1: