问题描述
在编写模板时,MyGeneration是否可以提供智能支持?
Is it possible to have intellisense support in MyGeneration when it comes to write templates?
假设我可以在Visual Studio中编写模板,然后将其粘贴到MyGeneration模板编辑器以某种方式?
Let's say can I write my templates in Visual Studio and then paste it to MyGeneration template editor somehow?
推荐答案
mygeneration编辑器确实内置了有限的intellisense
The mygeneration editor does have limited intellisense built into it
您也许可以在VS中创建一些模板,但是我我怀疑它们会发挥很大的作用,因为他们提供的任何智能感知功能都不会具有MyGeneration特定功能
You might be able to create some templates in VS but I'd doubt they would be of much use as any intellisense they did provide wouldn't have the MyGeneration specific features
我无法确切了解VS智能感知功能MyGeneration并未提供您真正想要的。
I can't see exactly what features of VS intellisense that MyGeneration doesnt provide that you would really want.
如果您查看T4,这是Microsoft的模板语言(MyGeneration afaik不支持),它提供的功能几乎相同功能
If you look at T4 which is Microsofts templating language (that isn't supported in MyGeneration afaik) it provides pretty much the same functionality
这篇关于编写模板时,MyGeneration是否可以提供智能感知支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!