GithubHelp home page GithubHelp logo

markapollo / fortea Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrjul/fortea

0.0 1.0 0.0 745 KB

A plugin for ReSharper that adds support for T4 (.tt) files

License: Apache License 2.0

Batchfile 0.04% C# 99.96%

fortea's Introduction

ForTea Logo ForTea

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.
Latest version is 1.5.0 (2015-11-02), please see the Releases.
Don't hesitate to open an issue if you encounter any problem.

Installation

Visual Studio 2010, 2012, 2013 and 2015 are supported.
ReSharper 10.0 must be installed (older releases are still available for ReSharper 9.2, 9.1, 9.0 and 8.2).
To install ForTea, use Extension Manager from the ReSharper menu.

What's supported

  • Editing for .tt and .ttinclude and .t4 files
  • Syntax highlighting for T4 directives and blocks
  • Support for include files, both local and global to Visual Studio
  • T4 directives support and completion
  • Syntax highlighting for C# code
  • ReSharper automatic, basic and smart completion for C# code
  • File structure window support for T4 files
  • Everything you might expect from ReSharper in C# code: find usages, refactorings, etc.
  • ReSharper C# context actions and quick fixes
  • Support for adding assembly and import directives through quick fixes
  • Extending selection
  • T4 error highlightings and quick fixes
  • Auto update support
  • Both classic templates and runtime (aka preprocessed) templates.

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

fortea's People

Contributors

citizenmatt avatar diab0l avatar diagonactic avatar hmemcpy avatar karpach avatar mnaoumov avatar molnarm avatar mrjul avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.