TypeScript addin for MonoDevelop and Xamarin Studio
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
.gitignore
LICENSE.txt
README.md
addin-project.xml

README.md

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

  • MonoDevelop 5.0 or Xamarin Studio 5.0

Installation

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

  • Open the Add-in Manager dialog.
  • Select the Gallery tab.
  • Select Xamarin Studio Add-in Repository (Alpha channel) from the drop down list.
  • Expand Web Development.
  • Select TypeScript.
  • Click the Refresh button if the addin is not visible.
  • Click Install... 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.