Skip to content

larrynung/ForTea

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Execution of classical T4 templates
  • Generation of C# code (aka template preprocessing)
  • Full intelligent support in T4 directives
  • Full intelligent support in C# in in-line blocks: find usages, refactorings, context actions, etc.
  • Extensive intelligent support for includes
  • Support for adding assembly and import directives through quick fixes
  • Lots of other IDE features: file structure, extend selection, refactorings, etc

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 plugin

Build instructions 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 88.9%
  • Kotlin 8.9%
  • Lex 1.4%
  • Other 0.8%