Using github copilot, whenever it processes a comment and tab and enter is pressed it just creates the same comment over and over again.
I want it to provide code. How?
Go on new line after comment, and start typing what you want to create. In your case type def
and wait a while. If not enough give the function name and wait a while again.