I've used other tools that had a keystroke that you could use after typing in a query with a X. in it that would expand the X. to a comma delimited list of columns for the table. For example, you would type
SELECT t1.* FROM table_name t1
And then put the cursor after the * and hit something like shift-enter, and it would change the text to:
SELECT t1.id, t1.name, t1.description, t1.other_column FROM table_name t1
Does HeidiSQL have this functionality? I was looking around for it, but couldn't find anything.