Home

Awesome

ForTea Logo ForTea

JetBrains

This plugin has been forked and is now maintained by JetBrains here.

What's ForTea?

ForTea is a a plugin for JetBrains ReSharper that adds support for editing T4 (.tt) files.
This project corresponds to the issue RSRP-191807 in JetBrains bug tracker.
For the latest version, please see the Releases.
Don't hesitate to open an issue if you encounter any problem.

Installation

Visual Studio 2010, 2012, 2013, 2015, 2017 and 2019 are supported.
ReSharper 2019.1 must be installed (older releases are still available for ReSharper 8.2, 9.x, 10.0, 2016.x, 2017.x, 2018.x).
To install ForTea, use Extension Manager from the ReSharper menu.

What's supported

Things to know

ForTea is only a ReSharper plugin at the moment, and doesn't provide any Visual Studio service, meaning there are some limitations. Amongst those, syntax highlighting is fully handled by ReSharper rather than Visual Studio: to get coloring for identifiers, you must enable Color identifiers in ReSharper Options > Code Inspection > Settings. Plus, there is no code outlining support yet.

Concerning ReSharper support, a custom code formatter for T4 files hasn't been written yet. You can use code cleanup on .tt files and the C# formatting rules configured in ReSharper options will be used automatically. However, there is currently no way to overwrite them, and there are no rules for T4 specific elements, such as placement of opening and closing blocks.

Visual Basic T4 files aren't supported yet.
Custom T4 directives aren't supported yet.

Licensed under Apache License 2.0