chrisber / typescript-addin

TypeScript addin for SharpDevelop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript Addin for SharpDevelop 4.3

This is a simple proof of concept that adds very basic TypeScript support to SharpDevelop.

Features

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

Dependencies

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

How it works

The addin glues together the TypeScript language services and SharpDevelop using Javascript.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 SharpDevelop.

About

TypeScript addin for SharpDevelop

License:MIT License


Languages

Language:JavaScript 91.1%Language:C# 8.9%