how can I get intellisense in a T4 template?
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, probably because of the file extension (.tt)
Isn't there anyway to say to Visual Studio to consider those .tt files as .cs files and thus get the correct intellisense help?
Resharper can do this, with the help of the ForTea Plugin that adds support for editing T4 (.tt) files.
http://visualstudiogallery.msdn.microsoft.com/en-us/60297607-5fd4-4da4-97e1-3715e90c1a23
Here you go with a plugin...
Vaseem.
EDIT
Also available for Visual Studio 2012: Tangible T4 Editor 2.3.0
Also available for Visual Studio 2015: Tangible T4 Editor 2.3.0
Also available for Visual Studio 2017: Tangible T4 Editor 2.4.0
Also available for Visual Studio 2019: Tangible T4 Editor 2.5.0