how can I get intellisense in a T4 template?

后端 未结 7 806
我在风中等你
我在风中等你 2020-12-24 05:17

When trying out these tutorials (T4 Tutorial: Creating reusable code generation templates) I noticed that although I was using plain c# I didn\'t get any intellisense, proba

7条回答
  •  星月不相逢
    2020-12-24 05:50

    For some reasons, I couldn't install the extensions mentionned in the other answers. My solution was to use Visual Studio Code to edit the .tt files. VS Code has some good t4 synthax highlighter plugins.

提交回复
热议问题