Awesome
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
- Syntax highlighting for TypeScript files (.ts)
- TypeScript file template.
- Code completion - using the TypeScript language services.
- Code folding.
- Rename refactoring.
- Generate JavaScript file when saving TypeScript file or building the project.
- Configurable TypeScript compiler options in Tools Options dialog.
- Find References.
- 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
- TypeScript - The TypeScript language services are used to provide code completion.
- V8.NET - A library that hosts Google's V8 JavaScript engine and allows .NET objects to be used directly from JavaScript.
- 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.