I use the built-in tool that we developed to parse razor patterns with generated models. The fact is that now it requires downloading a template every time to parse it. I wanted to add edior, so I could look at cshtml while writing it, so I thought the best way is to make it a visual extension of the studio.
I researched the Internet, and it seems to me that you can write your own editor for VS, but then I need to write the editor itself, which I do not want to do.
Is there a way to use the existing razor editor built into VS2012 and add a preview tab with my control that gets the current text from the razor editor so that I can parse it and show the preview?
The reason for using an existing editor is coloring, intellisense, error handling, etc.
talarari
source share