Another neat feature introduced by GitHub Copilot is that sometimes
you'll see this AI lightbulb icon button
here. If you click that, you'll get some smart actions
execute with help of AI, and these actions will depend on
the context you're in and the thing you clicked on or for
lightbulb appeared. Here, for example, I could use AI to generate
docs or tests for this function, and you can tell that it's an
AI action by these sparkle icons. So here if I
generate docs, it actually opens another feature,
chat, to which we'll go back, but it will populate that with a
prompt invisibly, so to say, for me, and all you have to do
is just accept the result if you're happy with it by
either clicking this check mark or by clicking Keep here, and now
that added a doc string to this function for me.