Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to record and playback a coding session in Visual Studio?

I've read in Robert Martin's "Clean Code" that in the 80's Emacs was already capable of recording and playing back your coding session.
I just realised how much I'd learn from that practice, I'd love to profile myself!

However I really don't think it'd be very effective to record the screen (as in video) especially because Visual Studio is already unbearably slow and besides it'd be boring to seek the video in a player.

Instead, it would be really awesome to have some plugin that could record what I've coded (so not the debugging and visual designer, etc) and could play it back for me to see how much I suck and where.

Is this possible?

Edit: just a quote from the book to show how amusing this could be:

Bob enters the module.
He scrolls down to the function needing change.
He pauses, considering his options.
Oh, he’s scrolling up to the top of the module to check the initialization of a variable.
Now he scrolls back down and begins to type.
Ooops, he’s erasing what he typed!
He types it again.
He erases it again!
He types half of something else but then erases that!
He scrolls down to another function that calls the function he’s changing to see how it is called.
He scrolls back up and types the same code he just erased.
He pauses.
He erases that code again!
He pops up another window and looks at a subclass. Is that function overridden?

. . .

like image 216
Camilo Martin Avatar asked Nov 18 '10 18:11

Camilo Martin


People also ask

Does Visual Studio have live share?

Welcome to Visual Studio Live Share! Live Share enables you to collaboratively edit and debug with others in real time, regardless of the programming languages you're using or app types you're building.

How do I collaborate code in Visual Studio?

If you select Start Collaboration session from the Session Details menu, an invitation link to your session will automatically be copied to your clipboard. You can share this link with anyone you'd like to collaborate with, as long as they also have VS Code and the Live Share Extension Pack downloaded.


1 Answers

You can just run a secret keylogging campaign on yourself.

Most keyloggers allow recording and playback as a video but you can configure it to only snap frames when you hit a key.

like image 75
Timothy Lee Russell Avatar answered Sep 17 '22 18:09

Timothy Lee Russell