title: Register custom file type with custom UI editor in Visual Studio 2010
body: <p>I found old article called <strong>LearnVSXNow</strong> and part <a href="http://dotneteers.net/blogs/divedeeper/archive/2008/09/01/LearnVSXNowPart30.aspx" rel="nofollow">#30 - Custom Editors in Visual Studio</a>. There is sample project <strong>The Blog Item Editor</strong> which shows how to make custom file type assigned with custom UI editor for this file type extension (.blit)
  This sample uses project <a href="http://vsxtra.codeplex.com/" rel="nofollow">VSXtra</a>, which is written for <strong>Visual Studio 2008</strong>.</p>
  
  <p>Can someone point me to some tutorial, how-to, or something how to do the same for <strong>Visual Studio 2010</strong> ? My goal is to register custom file type extension (e.g. *.myext1) within visual studio 2010, and assign my own custom UI designer (WinForms, derived from UserControl) to handle editing content of such file visually.</p>
  
  <p>I found some samples, but each of that shows only changes on code text editor (highlight some words, etc). But i want to show my own toolwindow with my usercontrol within it.</p>
  
  <p>PS: Part of creating custom toolwindow with my own usercontrol within it is not problem, i use <a href="http://code.msdn.microsoft.com/vspackagebuilder" rel="nofollow">VSPackage Builder Project Template</a> to build and register it within visx. My problem is how to register custom file type to use this custom toolwindow to edit file.</p>