mrward / typescript-addin

TypeScript addin for MonoDevelop and Xamarin Studio
MIT License
29 stars 9 forks source link
monodevelop typescript xamarin-studio

TypeScript Addin for MonoDevelop and Xamarin Studio 5

This addin provides TypeScript support in MonoDevelop and Xamarin Studio 5.

MonoDevelop and Xamarin Studio 6 are not supported.

Features

  1. Syntax highlighting for TypeScript files (.ts)
  2. TypeScript file template.
  3. Code completion - using the TypeScript language services.
  4. Code folding.
  5. Rename refactoring.
  6. Generate JavaScript file when saving TypeScript file or building the project.
  7. Configurable TypeScript compiler options in Tools Options dialog.
  8. Find References.
  9. Go to Definition.

For more detailed look at the features please read the TypeScript Support in Xamarin Studio blog post

Requirements

Installation

The addin is available from the MonoDevelop addin repository. To install the addin:

Dependencies

  1. TypeScript - The TypeScript language services are used to provide code completion.
  2. V8.NET - A library that hosts Google's V8 JavaScript engine and allows .NET objects to be used directly from JavaScript.
  3. Json.NET - Json library for .NET created by James Newton-King.

How it works

The addin glues together the TypeScript language services and MonoDevelop using V8.NET as the bridge between them. JavaScript code is executed by V8 and uses the TypeScript language services to get information about the TypeScript files in the project. This information is delivered to the C# host class which interacts with MonoDevelop.