3

I'm going to do demo based presentation. So what I want is prerecord(not a video record) my demo and replay while the I'm doing the presentation. Pre-record and play as in save code segments and generated some kind of list and then when I click on the list item generate relevant code and insert into code editor. Is there any macro base or any other way to do this?

Please do ask question if this is not clear.

Update 1

@jerek has answered the initial question. Going forward is there anyway to replace/edit existing code?

ryn.lnk
  • 31
  • 4
  • you mean code snippets? http://msdn.microsoft.com/en-us/library/ms165392.aspx – Amitd May 11 '13 at 05:39
  • Something like that, but we can't keep a list of code snippets isn't it? I'm expecting something like solution explorer to keep steps and when I click on the list item it should generate the code. – ryn.lnk May 11 '13 at 05:59

3 Answers3

8
  1. Open Toolbox (View | Toolbox)
  2. Select code from editor
  3. Drag and Drop into Toolbox (you can give it a short name from context menu)
  4. When needed drag and drop back from Toolbox back to code editor

enter image description here

PS: 3b - instead of drag and drop you can also paste code from clipboard using context menu on Toolbox window

Jarek Kardas
  • 8,445
  • 1
  • 31
  • 32
0

The Undo and Redo stack buttons are really useful. They might be enough for what you want to do (basically CTRL-Z and CTRL-SHIFT-Z but you can roll forward over multiple redo's)

This might be a bit basic, but essentially will allow you to go forwards and backwards through your edits.

Rots
  • 5,506
  • 3
  • 43
  • 51
  • Yes, that is a one option. It's a kind of big demo. So keeping all the things in track is big deal. :) – ryn.lnk May 11 '13 at 05:55
0

With Visual Studio, you can code everything and then undo and redo your work. Then record everything with one of these.

Tanuj Wadhwa
  • 2,025
  • 9
  • 35
  • 57