Home

Awesome

official JetBrains project

ForTea Logo ForTea

About

ForTea is a plugin for Rider and ReSharper which adds intelligent support for editing T4 files (*.tt, *.ttinclude, *.t4). The Rider plugin also can automatically execute and preprocess T4 files.

Installation

Rider:

Starting with Rider 2019.3, this plugin will be installed out of the box.

ReSharper:

The plugin is available in JetBrains Plugin Repository and can be installed using Extension Manager from the ReSharper menu.

Features

License

Licensed under Apache License 2.0.
This plugin is a successor to the original plugin by MrJul, to whom we are very thankful.

Building, running and debugging the plugin

Build instructions can be found here.
Run/debug instructions for Rider plugin can be found here.
Run/debug instructions for ReSharper plugin can be found here.

Things to know about this ReSharper plugin

As a ReSharper plugin, ForTea doesn't provide any Visual Studio service, meaning there are some limitations. Among 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.

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