在编写模板时,MyGeneration 是否可以支持智能感知?
在编写模板时,MyGeneration 是否可以支持智能感知?
假设我可以在 Visual Studio 中编写模板,然后以某种方式将其粘贴到 MyGeneration 模板编辑器吗?
Is it possible to have intellisense support in MyGeneration when it comes to write templates?
Let's say can I write my templates in Visual Studio and then paste it to MyGeneration template editor somehow?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
my Generation 编辑器确实内置了有限的智能感知

您也许可以在 VS 中创建一些模板,但我怀疑它们会有多大用处,因为他们提供的任何智能感知都不会具有 MyGeneration 特定功能,
我无法确切地看到 MyGeneration 没有提供的 VS 智能感知的哪些功能是您真正想要的。
如果你看看 T4,它是 Microsoft 的模板语言(MyGeneration 不支持),它提供了几乎相同的功能

The mygeneration editor does have limited intellisense built into it

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
I can't see exactly what features of VS intellisense that MyGeneration doesnt provide that you would really want.
If you look at T4 which is Microsofts templating language (that isn't supported in MyGeneration afaik) it provides pretty much the same functionality
