开发者

Can someone rid me of these turbulent T4 template editors? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I'm using Tangible's editor and (no offense guys) it sucks. Its one painful step above notepad. But its (afaik) the only game in town.

Does anybody have any tips/tricks on creating T4 templates in a non-painful way?

For instance, I'm thinking about creating a T4 Template that essentially turns a 开发者_C百科class defined in a solution into a template generator. DTE, look for code that is marked with this or that attribute, run this or that method, and drop the results into a file. At least I'd get legit intellisense out of the deal...


Devart just released a free T4 Editor for 2k8 and 2010 on the Visual Studio gallery. Looks nice! First noticeable improvement is that the editor is fast compared to others. Look and feel is like a normal code editor. There is intellisense in the t4 blocks and in the t4 statement blocks (the intellisense feels a little kludgy, but its not too bad). And the editor works with the standard find/replace tool window. Altogether nice job. Devart!

(I am not associated with Devart in any way, and this is the first product of theirs I've used.)


You could try Clarius’ “Visual T4 Editor Community edition” http://www.visualt4.com/downloads.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜