[MonoDevelop] T4 add-in

Brett Michael klunket at sent.com
Wed Sep 30 06:49:28 EDT 2009


Upon re-reading my request I wanted to clarify what I meant by this:

> However, upon searching for examples of making add-ins, etc, I noticed
> a couple of plugins where people had used less than optimal APIs, etc,
> because they didn't know other ones existed.

What I meant is that I saw some patches, etc, that had been submitted  
where reviewers had alerted the developer of APIs they could have used  
after the code had already been written. The developer then had to re- 
jig to use these APIs.

I wasn't implying that any committed code was using the wrong APIs, in  
case it read that way.

Thanks,
Brett

On 30/09/2009, at 5:08 PM, Brett Michael wrote:

> I'm interested to extend the current T4 functionality in MonoDevelop.
> However, upon searching for examples of making add-ins, etc, I noticed
> a couple of plugins where people had used less than optimal APIs, etc,
> because they didn't know other ones existed.
>
> So that I can research what it would take further, can someone point
> me in the correct place that I would hook to do the following:
>
> * Add T4 as a new file type (with a post-selection screen like the MVC
> View one to select a master page)
>
> * Run T4 on any .tt files, whenever they are saved (or on a pre-build
> event, before code is compiled).
>
> * Add a context-menu option to .tt files that runs T4 on them.
>
> * Create a "code-behind" style file hanging under any .tt file that
> has been generated. I.e. if test.tt has test.cs as output, it would
> appear hanging beneath test.tt
>
> Let me know if any of that doesn't make sense. Superficially it seems
> like a reasonably easy plugin that might let me give back to my
> favourite IDE.
>
> Thanks,
> Brett
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list