Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A VS2010 plug-in to reflect code window to a separate window, for projecting in presentations

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 CodeProjector
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CodeProjector.sln
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
README.md

Code Projector

Whenever I'm doing presentations with live coding, I always struggle with the amount of screen real-estate that's taken up on the 1024x768 projector by the VS2010 toolbars and tool windows. What I need is something that will just take the important part - the actual code - and display that on a projector, while I have the full Visual Studio on my laptop screen. So I made this.

It was incredibly easy to write, since Visual Studio is a WPF application. I just Snooped a running instance to find that the document well is contained within a control named "MainDockTarget". In my plug-in code, I just searched the entire Visual Tree from Application.Current.MainWindow downwards looking for that control, then used it as the source for a VisualBrush. Set that brush as the background of a Window, add a check-box to make that Window full-screen, and done.

I have no intention of releasing this as an extension which can be installed through Extension Manager, because I don't need the hassle of supporting it, but if anybody wants to fork it and release it like that, fork away!

MIT License

Something went wrong with that request. Please try again.