Often developers record screen to share it to peers or to share content.
There are screen recorders like Quick Time on Mac and OBS Studio on windows. But generally Screen recordings on VS Code are short. It would be easy to record screen if there are any extensions handy in the Status Bar of VSCode
This is what you need. It has gif
support as well as mp4
. Timer and much more.
https://marketplace.visualstudio.com/items?itemName=arcsine.chronicler