This is a simple proof of concept that adds very basic TypeScript support to SharpDevelop.
- Syntax highlighting for TypeScript files (.ts)
- TypeScript file template.
- Code completion - using the TypeScript language services.
- Code folding.
- Quick Class Browser support.
- 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
- TypeScript - The TypeScript language services are used to provide code completion.
- 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.
- Json.NET - Json library for .NET created by James Newton-King.
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.